diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-24 01:29:57 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-24 01:30:42 +0100 |
commit | 569c51b1838760ef0dfc0518066f9aeaca833f9b (patch) | |
tree | b4122e989039b13a2012e58a8c831167b6263e3b | |
parent | 2bbcc842081019a0035eceb240e4bc18e01e6dcb (diff) | |
download | vyos-live-build-tmp-net-firmware.tar.gz vyos-live-build-tmp-net-firmware.zip |
Including firmware debs into d-i netboot initrds.tmp-net-firmware
-rwxr-xr-x | scripts/build/binary_debian-installer | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/binary_debian-installer b/scripts/build/binary_debian-installer index 086576764..21e4209be 100755 --- a/scripts/build/binary_debian-installer +++ b/scripts/build/binary_debian-installer @@ -838,6 +838,17 @@ Repack_initrd() case "${DI_IMAGE_TYPE}" in netboot) + # Include firmware into d-i initrd on netboot images + if ls binary/firmware/*.deb > /dev/null 2>&1 + then + Repack_initrd "${DESTDIR}"/"${INITRD_DI}" "binary/firmware/*.deb" + + if [ -e "${DESTDIR}"/"${INITRD_GI}" ] + then + Repack_initrd "${DESTDIR}"/"${INITRD_GI}" "binary/firmware/*.deb" + fi + fi + # Preseed d-i by repacking the initrd in certain situations if [ -e config/debian-installer/preseed.cfg ] then |