summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2020-04-25 10:46:26 +0200
committerRaphaël Hertzog <hertzog@debian.org>2020-04-25 10:46:26 +0200
commit103daf9f7ca47e6dae729e1141aa522c02e4bbd6 (patch)
tree6bedcd4889e66ef9b3ca15ef6e5ab871793a91b4 /scripts/build/binary_syslinux
parent24c2b3e119ef1b22539736ddaae1f42818c09f02 (diff)
downloadvyos-live-build-103daf9f7ca47e6dae729e1141aa522c02e4bbd6.tar.gz
vyos-live-build-103daf9f7ca47e6dae729e1141aa522c02e4bbd6.zip
Make librsvg2-bin dependency unconditional for syslinux
We do provide a splash.svg by default so the check will always return true unless the user has forked live-build... thus the check is pointless.
Diffstat (limited to 'scripts/build/binary_syslinux')
-rwxr-xr-xscripts/build/binary_syslinux7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 72ca2e7e1..4fd585dab 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -93,12 +93,7 @@ fi
# Checking depends
Check_package chroot /usr/lib/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
Check_package chroot /usr/lib/syslinux syslinux-common
-
-if ls "${_SOURCE}"/*.svg* > /dev/null 2>&1 || ls "${_SOURCE_COMMON}"/*.svg* > /dev/null 2>&1 ||
- ls "${_SOURCE_USER}"/*.svg* > /dev/null 2>&1 || ls "${_SOURCE_USER_COMMON}"/*.svg* > /dev/null 2>&1
-then
- Check_package chroot /usr/bin/rsvg-convert librsvg2-bin
-fi
+Check_package chroot /usr/bin/rsvg-convert librsvg2-bin
# Restoring cache
Restore_package_cache binary