[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-key del : a possible typo in live-build version 3.0~b5-1



Would the following patch correct a typo in the unstable 
version of live-build ? 

The key for local packages is added inside the chroot (line 427 
of the same file /usr/lib/live/build/chroot_archives)

Thanks in advance !

Reagards,
JH Chatenet

diff -Naur a/usr/lib/live/build/chroot_archives b/usr/lib/live/build/chroot_archives
--- a/usr/lib/live/build/chroot_archives	2013-01-02 10:41:34.000000000 +0000
+++ b/usr/lib/live/build/chroot_archives	2013-01-18 18:55:32.139374446 +0000
@@ -889,9 +889,9 @@
 		rm -rf chroot/root/packages
 
 		# Remove local packages key if it exists
-		if apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
+		if Chroot chroot apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
 		then
-			apt-key del ${_LB_LOCAL_KEY_EMAIL}
+			Chroot chroot apt-key del ${_LB_LOCAL_KEY_EMAIL}
 		fi
 
 		# Removing stage file




Reply to: