summaryrefslogtreecommitdiff
path: root/helpers/source_virtual-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-21 10:55:55 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:09 +0100
commit36bddd25da6519e9d6effa254106e54de87bd711 (patch)
tree72adc8c725a94ed8d941f1ac43c4b7a600dff8ae /helpers/source_virtual-hdd
parent34798918306e7aa5d080e274a5d58c8b5fa983e8 (diff)
downloadvyos-live-build-36bddd25da6519e9d6effa254106e54de87bd711.tar.gz
vyos-live-build-36bddd25da6519e9d6effa254106e54de87bd711.zip
Renaming --chroot-build to --build-with-chroot.
Diffstat (limited to 'helpers/source_virtual-hdd')
-rwxr-xr-xhelpers/source_virtual-hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/source_virtual-hdd b/helpers/source_virtual-hdd
index 74f7af557..b67ee3f02 100755
--- a/helpers/source_virtual-hdd
+++ b/helpers/source_virtual-hdd
@@ -47,7 +47,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)
@@ -70,7 +70,7 @@ DU_DIM="$(du -ms source | cut -f1)"
REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LH_BINARY_FILESYSTEM})"
dd if=/dev/zero of=source-virtual.img bs=1024k count=0 seek=${REAL_DIM}
-if [ "${LH_CHROOT_BUILD}" = "true" ]
+if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
then
mv source-virtual.img chroot