diff options
author | Daniel Baumann <daniel@debian.org> | 2011-09-13 09:10:28 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-13 09:10:30 +0200 |
commit | f38ef7f469ca31f96fda42da265c8d2c90b897ee (patch) | |
tree | 3e3da76f896c73e83da8b0502439685cbb00e8ba /scripts/build/lb_binary_usb | |
parent | 6f55ec4fb1188e24a081dab1cea704a5370c475d (diff) | |
download | vyos-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_usb')
-rwxr-xr-x | scripts/build/lb_binary_usb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/build/lb_binary_usb b/scripts/build/lb_binary_usb index ad03caa51..c215e4bef 100755 --- a/scripts/build/lb_binary_usb +++ b/scripts/build/lb_binary_usb @@ -24,18 +24,18 @@ Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults -if ! In_list usb-hdd "${LB_BINARY_IMAGES}" +if ! In_list hdd-hdd "${LB_BINARY_IMAGES}" then exit 0 fi -Echo_message "Begin building binary usb image..." +Echo_message "Begin building binary hdd image..." # Requiring stage file Require_stagefile .stage/config .stage/bootstrap .stage/chroot_proc # Checking stage file -Check_stagefile .stage/binary_usb +Check_stagefile .stage/binary_hdd # Checking lock file Check_lockfile .lock @@ -219,15 +219,15 @@ EOM EOF rootpartition="$(Chroot chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')" - usbdev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')" - echo "Root partition is $rootpartition, device is: $usbdev" + hdddev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')" + echo "Root partition is $rootpartition, device is: $hdddev" echo "WAITING..." && read WAIT #cat > chroot/grub.sh << EOF #grub --batch << EOM #root $rootpartition -#setup $usbdev +#setup $hdddev #EOM #EOF @@ -289,4 +289,4 @@ Save_cache cache/packages_binary Remove_package # Creating stage file -Create_stagefile .stage/binary_usb +Create_stagefile .stage/binary_hdd |