summaryrefslogtreecommitdiff
path: root/scripts/build/binary_disk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 11:16:57 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit64994422120e4378ab4c67950297eedd0460ebcd (patch)
tree9f465bb754bf921d214b76b543540f6965f96851 /scripts/build/binary_disk
parentf5acab633c5a8425987e472a40a113715891b301 (diff)
downloadvyos-live-build-64994422120e4378ab4c67950297eedd0460ebcd.tar.gz
vyos-live-build-64994422120e4378ab4c67950297eedd0460ebcd.zip
Moving off binary image architecture into new config tree format.
Diffstat (limited to 'scripts/build/binary_disk')
-rwxr-xr-xscripts/build/binary_disk8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk
index ea9d605d3..8fd2b1e20 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -48,7 +48,7 @@ Create_lockfile .lock
mkdir -p binary/.disk
-ARCHITECTURE="$(echo ${LB_ARCHITECTURES} | sed -e 's| |/|g')"
+ARCHITECTURE="$(echo ${LIVE_IMAGE_ARCHITECTURE} | sed -e 's| |/|g')"
DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]')"
DISTRIBUTION="${DISTRIBUTION}$(echo ${LB_DISTRIBUTION} | cut -b 2-)"
eval VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`"
@@ -133,7 +133,7 @@ case "${LB_DEBIAN_INSTALLER}" in
do
if [ -e "${LOCATION}" ]
then
- cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_udeb_include" binary/.disk/udeb_include
+ cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE}_udeb_include" binary/.disk/udeb_include
continue
fi
@@ -158,7 +158,7 @@ case "${LB_DEBIAN_INSTALLER}" in
do
if [ -e "${LOCATION}" ]
then
- cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_netinst_udeb_include" binary/.disk/udeb_include
+ cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE}_netinst_udeb_include" binary/.disk/udeb_include
continue
fi
@@ -181,7 +181,7 @@ case "${LB_DEBIAN_INSTALLER}" in
do
if [ -e "${LOCATION}" ]
then
- cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_businesscard_udeb_include" binary/.disk/udeb_include
+ cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE}_businesscard_udeb_include" binary/.disk/udeb_include
continue
fi