summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_chroot_linux-image6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image
index 5b519b86b..84157d032 100755
--- a/helpers/lh_chroot_linux-image
+++ b/helpers/lh_chroot_linux-image
@@ -102,7 +102,9 @@ EOF
then
cp config/chroot_local-packages/${LH_INITRAMFS}*.deb chroot/root
- Chroot "dpkg -i /root/${LH_INITRAMFS}*.deb" || true
+ # Installing package
+ Chroot "find /root -name *.deb" > chroot/root/initfs
+ Chroot "xargs --arg-file=/root/initfs dpkg -i" || true
# Cleaning dependencies
case "${LH_APT}" in
@@ -115,7 +117,9 @@ EOF
;;
esac
+ # Removing package files
rm -f chroot/root/${LH_INITRAMFS}*.deb
+ rm -f chroot/root/initfs
fi
# Saving cache