diff options
-rwxr-xr-x | scripts/build/lb_binary_debian-installer | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer index 13ed57440..904f1c626 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -509,6 +509,23 @@ then done fi + # Symlink firmware packages to /firmware + if [ -n "${DI_FIRMWARE_PACKAGES}" ] + then + mkdir -p binary/firmware + cd binary/firmware + + for _PACKAGE in ${DI_FIRMWARE_PACKAGES} + do + for _FILE in $(find ../pool -name "${_PACKAGE}_*.deb") + do + ln -s ${_FILE} ./ + done + done + + cd "${OLDPWD}" + fi + if [ "${LB_DEBIAN_INSTALLER}" != "live" ] then # Including base debian packages |