diff options
-rwxr-xr-x | scripts/build/lb_binary_debian-installer | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer index 003051bc7..a3098984a 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -508,23 +508,6 @@ 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 @@ -581,6 +564,23 @@ then Download_file binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Release "${LB_PARENT_MIRROR_CHROOT}"/dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/${_ARCHIVE_AREA}/binary-"${LB_ARCHITECTURES}"/Release done + # 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 + # Udeb handling mkdir binary.udeb cd binary.udeb |