[Debian-live-changes] r1184 - dists/trunk/live-helper/helpers
Daniel Baumann
daniel at alioth.debian.org
Thu Apr 26 10:32:44 UTC 2007
Author: daniel
Date: 2007-04-26 10:32:44 +0000 (Thu, 26 Apr 2007)
New Revision: 1184
Modified:
dists/trunk/live-helper/helpers/lh_chroot_sources
Log:
Modified: dists/trunk/live-helper/helpers/lh_chroot_sources
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot_sources 2007-04-26 10:25:44 UTC (rev 1183)
+++ dists/trunk/live-helper/helpers/lh_chroot_sources 2007-04-26 10:32:44 UTC (rev 1184)
@@ -96,6 +96,16 @@
# Update indices from cache
if [ "${LH_CACHE_INDICES}" = "enabled" ] && [ -d cache/indices_build ]
then
+ if ls cache/indices_build/secring.gpg* &> /dev/null
+ then
+ cp -f cache/indices_build/secring.gpg* chroot/etc/apt
+ fi
+
+ if ls cache/indices_build/trusted.gpg* &> /dev/null
+ then
+ cp -f cache/indices_build/trusted.gpg* chroot/etc/apt
+ fi
+
if [ -f cache/indices_build/pkgcache.bin ]
then
cp -f cache/indices_build/pkgcache.bin chroot/var/cache/apt
@@ -177,6 +187,9 @@
mkdir -p cache/indices_build
fi
+ cp -f chroot/etc/apt/secring.gpg* cache/indices_build
+ cp -f chroot/etc/apt/trusted.gpg* cache/indices_build
+
cp -f chroot/var/cache/apt/pkgcache.bin cache/indices_build
cp -f chroot/var/cache/apt/srcpkgcache.bin cache/indices_build
More information about the Debian-live-changes
mailing list