diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 10:52:13 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | f5acab633c5a8425987e472a40a113715891b301 (patch) | |
tree | 1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/binary_yaboot | |
parent | c73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff) | |
download | vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.tar.gz vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.zip |
Moving off binary image type into new config tree format.
Diffstat (limited to 'scripts/build/binary_yaboot')
-rwxr-xr-x | scripts/build/binary_yaboot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_yaboot b/scripts/build/binary_yaboot index 8fc5a64dd..1a1c9df4a 100755 --- a/scripts/build/binary_yaboot +++ b/scripts/build/binary_yaboot @@ -139,7 +139,7 @@ case "${LB_INITRAMFS}" in esac # Setting destination directory -case "${LB_BINARY_IMAGES}" in +case "${LIVE_IMAGE_TYPE}" in iso*) case "${LB_INITRAMFS}" in casper) @@ -241,7 +241,7 @@ fi LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')" -case "${LB_BINARY_IMAGES}" in +case "${LIVE_IMAGE_TYPE}" in iso*|hdd*) # Copying yaboot mkdir -p binary/yaboot @@ -258,7 +258,7 @@ case "${LB_BINARY_IMAGES}" in cp -r "${TEMPLATES}"/* binary/yaboot - case "${LB_BINARY_IMAGES}" in + case "${LIVE_IMAGE_TYPE}" in hdd*) mv binary/yaboot/yaboot.conf binary/yaboot/yaboot.conf.tmp echo "root=/dev/ram" > binary/yaboot/yaboot.conf |