summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_yaboot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-09-13 09:10:28 +0200
committerDaniel Baumann <daniel@debian.org>2011-09-13 09:10:30 +0200
commitf38ef7f469ca31f96fda42da265c8d2c90b897ee (patch)
tree3e3da76f896c73e83da8b0502439685cbb00e8ba /scripts/build/lb_binary_yaboot
parent6f55ec4fb1188e24a081dab1cea704a5370c475d (diff)
downloadvyos-live-build-f38ef7f469ca31f96fda42da265c8d2c90b897ee.tar.gz
vyos-live-build-f38ef7f469ca31f96fda42da265c8d2c90b897ee.zip
Renaming usb-hdd binary image type to simply hdd.
This is the first step in conglomerating code for all hdd-ish image types, independent of the partitioning scheme being used, and adding future hdd-ish image types for virtualiziation software.
Diffstat (limited to 'scripts/build/lb_binary_yaboot')
-rwxr-xr-xscripts/build/lb_binary_yaboot6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_binary_yaboot b/scripts/build/lb_binary_yaboot
index 4613b8a19..bd727ee38 100755
--- a/scripts/build/lb_binary_yaboot
+++ b/scripts/build/lb_binary_yaboot
@@ -158,7 +158,7 @@ case "${LB_BINARY_IMAGES}" in
DESTDIR_INSTALL="binary/install"
;;
- usb*|net|tar)
+ hdd*|net|tar)
Echo_error "not yet supported, aborting (FIXME)."
exit 1
;;
@@ -273,7 +273,7 @@ fi
LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')"
case "${LB_BINARY_IMAGES}" in
- iso*|usb*)
+ iso*|hdd*)
# Copying yaboot
mkdir -p binary/yaboot
@@ -290,7 +290,7 @@ case "${LB_BINARY_IMAGES}" in
cp -r "${TEMPLATES}"/* binary/yaboot
case "${LB_BINARY_IMAGES}" in
- usb*)
+ hdd*)
mv binary/yaboot/yaboot.conf binary/yaboot/yaboot.conf.tmp
echo "root=/dev/ram" > binary/yaboot/yaboot.conf
cat binary/yaboot/yaboot.conf.tmp >> binary/yaboot/yaboot.conf