Skip to content

Commit f97f65f

Browse files
remove wrong echos, remove old (and duplicated) apt source
1 parent a741a24 commit f97f65f

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

builder/bootstrap

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ mmdebstrap --mode unshare --keyring "$keyring" --arch "$arch" --variant required
1616
gpg --keyring "$keyring" --no-default-keyring --export -a > "$chroot_dir/etc/apt/trusted.gpg.d/keyring.asc"
1717

1818
cat <<EOF > $chroot_dir/etc/apt/sources.list.d/gardenlinux.sources
19-
echo "Types: deb"
20-
echo "URIs: ${repo}"
21-
echo "Suites: ${version}"
22-
echo "Components: main"
23-
echo "Enabled: yes"
24-
echo "Signed-By: /etc/apt/trusted.gpg.d/keyring.asc"
19+
Types: deb
20+
URIs: ${repo}
21+
Suites: ${version}
22+
Components: main
23+
Enabled: yes
24+
Signed-By: /etc/apt/trusted.gpg.d/keyring.asc
2525
EOF
2626

27+
rm "${chroot_dir}/etc/apt/sources.list"
28+
2729
find "$chroot_dir/proc" "$chroot_dir/sys" "$chroot_dir/dev" "$chroot_dir/run" "$chroot_dir/tmp" -mindepth 1 -delete
2830
tar --create --sort name --xattrs --xattrs-include 'security.*' --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --transform 's|^\./||' --directory "$chroot_dir" . > "$output"
2931

0 commit comments

Comments
 (0)