diff options
author | Daniel Baumann <daniel@debian.org> | 2008-01-18 09:23:32 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-01-18 09:23:32 +0100 |
commit | 84d7dc0ccd74048c8eb1215599595739b1ea6fcf (patch) | |
tree | cc29dc164acdb58f0cd61938bdd9b397530e97a0 /helpers/lh_chroot_linux-image | |
parent | bdba07d1cd3f12b7221a828b32c45760bec86d5f (diff) | |
download | vyos-live-build-84d7dc0ccd74048c8eb1215599595739b1ea6fcf.tar.gz vyos-live-build-84d7dc0ccd74048c8eb1215599595739b1ea6fcf.zip |
Correcting wrong installation attempt of initramfs generator from local-packages.
Diffstat (limited to 'helpers/lh_chroot_linux-image')
-rwxr-xr-x | helpers/lh_chroot_linux-image | 6 |
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 |