From 238ae93f4194dd6c43a146cb4e8d87825a4702f0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 11 Jun 2011 16:36:44 +0200 Subject: Allow to optionally run package installation in two passes. Eventually, this allows to have media containing a 'bigger' live system that what they end up installing (Closes: #627439). --- scripts/build/lb_binary_manifest | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'scripts/build/lb_binary_manifest') diff --git a/scripts/build/lb_binary_manifest b/scripts/build/lb_binary_manifest index 0ae9051d8..e80d7808b 100755 --- a/scripts/build/lb_binary_manifest +++ b/scripts/build/lb_binary_manifest @@ -61,10 +61,9 @@ case "${LB_INITRAMFS}" in esac # Add filesystem.packages -Chroot chroot "dpkg-query -W" > binary/"${INITFS}"/filesystem.${SUFFIX} - -# Copy manifest as build output. -cp binary/"${INITFS}"/filesystem.${SUFFIX} binary.${SUFFIX} +cp binary.packages.live "binary/${INITFS}/filesystem.${SUFFIX}" +echo "$(diff binary.packages.live binary.packages.install | awk '/^< / { print $2 }')" \ + > "binary/${INITFS}/filesystem.${SUFFIX}-remove" # Creating stage file Create_stagefile .stage/binary_manifest -- cgit v1.2.3