diff options
Diffstat (limited to 'helpers/source_virtual-hdd')
-rwxr-xr-x | helpers/source_virtual-hdd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/source_virtual-hdd b/helpers/source_virtual-hdd index 74f7af5..b67ee3f 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 |