summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Gibanel Lopez <adrian.gibanel@btactic.com>2016-01-20 00:53:53 +0100
committerAdrian Gibanel Lopez <adrian.gibanel@btactic.com>2016-07-31 14:59:33 +0200
commit0624064d44ed811aec5c43fabfd7b928688ed8e1 (patch)
tree991bbab5db8974d5cd7369c2f551b28e2f171448
parent01a9df8ce325c5df9762f0db86128614b4d3476c (diff)
downloadvyos-live-build-0624064d44ed811aec5c43fabfd7b928688ed8e1.tar.gz
vyos-live-build-0624064d44ed811aec5c43fabfd7b928688ed8e1.zip
Remove repeated LB_PRIMARY_BOOTLOADER definition
-rwxr-xr-xscripts/build/binary_hdd2
-rwxr-xr-xscripts/build/binary_iso2
2 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 407901a2d..b45b2a900 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -67,8 +67,6 @@ do
esac
done
-LB_PRIMARY_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }')
-
case ${LB_PRIMARY_BOOTLOADER} in
syslinux)
case ${LB_BINARY_FILESYSTEM} in
diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso
index d8b1553e4..67dfc85a2 100755
--- a/scripts/build/binary_iso
+++ b/scripts/build/binary_iso
@@ -107,8 +107,6 @@ then
XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\""
fi
-LB_PRIMARY_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }')
-
# Handle xorriso architecture specific options
case "${LB_PRIMARY_BOOTLOADER}" in
grub)