diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-28 13:05:27 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-04-23 15:46:43 +0200 |
commit | 3d2b280c8f44fe8b5fe52fdd0622f4e044ca98da (patch) | |
tree | 7f31863f7d0fe8a191ebb84bd1252e512ed94cac /scripts/build/installer_debian-installer | |
parent | 9a91ca9fde8eb2b15a3294fe95f99990d8cf9227 (diff) | |
download | vyos-live-build-3d2b280c8f44fe8b5fe52fdd0622f4e044ca98da.tar.gz vyos-live-build-3d2b280c8f44fe8b5fe52fdd0622f4e044ca98da.zip |
firmware: robustify and simplify archive area checking
Diffstat (limited to 'scripts/build/installer_debian-installer')
-rwxr-xr-x | scripts/build/installer_debian-installer | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index 1488ace79..81beebeae 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -326,8 +326,7 @@ then FIRMWARE_PACKAGES="" # Manually add firmware-linux/non-free meta package - if [ "${LB_DERIVATIVE}" = "false" ] && echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" - then + if [ "${LB_DERIVATIVE}" = "false" ] && In_list "non-free" ${LB_PARENT_ARCHIVE_AREAS}; then FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} firmware-linux" fi |