summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-02-21 20:46:49 +0100
committerDaniel Baumann <daniel@debian.org>2008-02-21 20:46:49 +0100
commitfd315529e0fc3ed65ca4f2d17da4f62389caa9b6 (patch)
treeb7ff51bbd5cc30c330bc94e9cf38b9e3493496b4 /helpers
parentfa3c63f5dc0627ae8618d10ed38c1006b1fff948 (diff)
downloadvyos-live-build-fd315529e0fc3ed65ca4f2d17da4f62389caa9b6.tar.gz
vyos-live-build-fd315529e0fc3ed65ca4f2d17da4f62389caa9b6.zip
Renaming extra bootstrap indices to chroot.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_chroot_sources8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 6cb0b3ea5..2b4e8a2de 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -71,12 +71,12 @@ case "${1}" in
fi
# Check local sources.list
- if ls config/chroot_sources/*.bootstrap > /dev/null 2>&1
+ if ls config/chroot_sources/*.chroot > /dev/null 2>&1
then
echo "" >> chroot/etc/apt/sources.list
echo "# Custom repositories" >> chroot/etc/apt/sources.list
- for FILE in config/chroot_sources/*.bootstrap
+ for FILE in config/chroot_sources/*.chroot
do
cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list
done
@@ -126,9 +126,9 @@ case "${1}" in
fi
else # Get fresh indices
# Check local gpg keys
- if ls config/chroot_sources/*.bootstrap.gpg > /dev/null 2>&1
+ if ls config/chroot_sources/*.chroot.gpg > /dev/null 2>&1
then
- for FILE in config/chroot_sources/*.bootstrap.gpg
+ for FILE in config/chroot_sources/*.chroot.gpg
do
cp ${FILE} chroot/root
Chroot "apt-key add /root/$(basename ${FILE})"