Including firmware debs into d-i netboot initrds.

This commit is contained in:
Daniel Baumann 2013-01-24 01:29:57 +01:00
parent 2bbcc84208
commit 569c51b183
1 changed files with 11 additions and 0 deletions

View File

@ -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