diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-26 23:37:56 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-26 23:37:56 +0200 |
commit | 678f2c1cfb9ab3aba67c35a152dc47decfd7ecd6 (patch) | |
tree | 350b3a7464fb9f83f75a8493a9f3673bb15f153e /scripts | |
parent | 1315e5b1f59227bf40955ab52caeb318c91b41e3 (diff) | |
download | vyos-live-build-678f2c1cfb9ab3aba67c35a152dc47decfd7ecd6.tar.gz vyos-live-build-678f2c1cfb9ab3aba67c35a152dc47decfd7ecd6.zip |
Adding symlinks in /firmware for debian-installer on live media.
Diffstat (limited to 'scripts')
-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 |