summaryrefslogtreecommitdiff
path: root/helpers/binary_virtual-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-21 10:55:55 +0200
committerDaniel Baumann <daniel@debian.org>2010-05-23 12:31:17 +0200
commitbbce078bb7afa8db4fb26efd1c92445615bce5d4 (patch)
tree72adc8c725a94ed8d941f1ac43c4b7a600dff8ae /helpers/binary_virtual-hdd
parent7b0ae0985255fe30e7dfe096f9c2a00296302140 (diff)
downloadvyos-live-build-bbce078bb7afa8db4fb26efd1c92445615bce5d4.tar.gz
vyos-live-build-bbce078bb7afa8db4fb26efd1c92445615bce5d4.zip
Renaming --chroot-build to --build-with-chroot.
Diffstat (limited to 'helpers/binary_virtual-hdd')
-rwxr-xr-xhelpers/binary_virtual-hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/binary_virtual-hdd b/helpers/binary_virtual-hdd
index 8b039104b..4e61c6b99 100755
--- a/helpers/binary_virtual-hdd
+++ b/helpers/binary_virtual-hdd
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if [ "${LH_CHROOT_BUILD}" = "true" ]
+if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
then
case "${LH_BINARY_FILESYSTEM}" in
ext2|ext3)
@@ -66,7 +66,7 @@ fi
Echo_message "Creating virtual disk image..."
dd if=/dev/zero of=binary-virtual.img bs=1024k count=0 seek=${LH_VIRTUAL_ROOT_SIZE}
-if [ "${LH_CHROOT_BUILD}" = "true" ]
+if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
then
mv binary-virtual.img chroot