Only remove auxilliary packages in rootfs when not using pre-cached chroot (Closes: #572976).
This commit is contained in:
parent
f2e2d47c68
commit
4a5a5920e1
|
@ -183,6 +183,9 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
rm -rf chroot/chroot
|
rm -rf chroot/chroot
|
||||||
|
|
||||||
|
# Removing depends
|
||||||
|
Remove_package
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -193,9 +196,6 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_binary
|
Save_cache cache/packages_binary
|
||||||
|
|
||||||
# Removing depends
|
|
||||||
Remove_package
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
jffs2)
|
jffs2)
|
||||||
|
@ -267,6 +267,9 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
rm -rf chroot/chroot
|
rm -rf chroot/chroot
|
||||||
|
|
||||||
|
# Removing depends
|
||||||
|
Remove_package
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -277,9 +280,6 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_binary
|
Save_cache cache/packages_binary
|
||||||
|
|
||||||
# Removing depends
|
|
||||||
Remove_package
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
plain)
|
plain)
|
||||||
|
@ -384,6 +384,9 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
rm -rf chroot/chroot
|
rm -rf chroot/chroot
|
||||||
|
|
||||||
|
# Removing depends
|
||||||
|
Remove_package
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${LH_ROOT_COMMAND} chmod 0644 binary/${INITFS}/filesystem.squashfs
|
${LH_ROOT_COMMAND} chmod 0644 binary/${INITFS}/filesystem.squashfs
|
||||||
|
@ -410,9 +413,6 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_binary
|
Save_cache cache/packages_binary
|
||||||
|
|
||||||
# Removing depends
|
|
||||||
Remove_package
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
none)
|
none)
|
||||||
|
|
Loading…
Reference in New Issue