Correcting wrong installation attempt of initramfs generator from local-packages.
This commit is contained in:
parent
f758701c0f
commit
68be48c28e
|
@ -102,7 +102,9 @@ EOF
|
||||||
then
|
then
|
||||||
cp config/chroot_local-packages/${LH_INITRAMFS}*.deb chroot/root
|
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
|
# Cleaning dependencies
|
||||||
case "${LH_APT}" in
|
case "${LH_APT}" in
|
||||||
|
@ -115,7 +117,9 @@ EOF
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Removing package files
|
||||||
rm -f chroot/root/${LH_INITRAMFS}*.deb
|
rm -f chroot/root/${LH_INITRAMFS}*.deb
|
||||||
|
rm -f chroot/root/initfs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
|
|
Loading…
Reference in New Issue