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 <daniel@debian.org>2012-12-19 11:16:57 +0100
commit9949a3a9125c96ad47234404b15cb4fd3eb4282e (patch)
tree9f465bb754bf921d214b76b543540f6965f96851 /scripts/build/binary_disk
parentec8aff4f494966557c906f953530a8c12a2fa7d5 (diff)
downloadvyos-live-build-9949a3a9125c96ad47234404b15cb4fd3eb4282e.tar.gz
vyos-live-build-9949a3a9125c96ad47234404b15cb4fd3eb4282e.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