[SCM] live-helper branch, debian, updated. debian/2.0_a6-1-14-ge0c86ca
Daniel Baumann
daniel at debian.org
Wed Feb 17 11:35:36 UTC 2010
The following commit has been merged in the debian branch:
commit 3a32284de77193917064b8ddef2094a62d4edf1c
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Feb 14 16:00:48 2010 +0100
Also using sources.list snipplets for local packages just as for the other repositories (Closes: #569619).
diff --git a/helpers/chroot_sources b/helpers/chroot_sources
index 81c0268..6edc3ac 100755
--- a/helpers/chroot_sources
+++ b/helpers/chroot_sources
@@ -218,10 +218,8 @@ case "${1}" in
fi
fi
- # Add to sources.list
- echo "" >> chroot/etc/apt/sources.list
- echo "# Local packages" >> chroot/etc/apt/sources.list
- echo "deb file:/root/local-packages ./" >> chroot/etc/apt/sources.list
+ # Add to sources.list.d
+ echo "deb file:/root/local-packages ./" > chroot/etc/apt/sources.list.d/local-packages.list
# Removing depends
Remove_package
@@ -448,6 +446,7 @@ case "${1}" in
fi
# Remove local package repository
+ rm -f chroot/etc/apt/sources.list.d/local-packages.list
rm -rf chroot/root/local-packages
# Remove local packages key if it exists
--
live-helper
More information about the debian-live-changes
mailing list