diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-13 21:17:45 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2009-12-13 21:17:45 +0100 |
commit | 0b285d1c45dbe1c0fc21136ccec2e41c214acdc0 (patch) | |
tree | 7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_binary_chroot | |
parent | ea05bbb3cae86270f0f8b1150566b9925e1abb3d (diff) | |
download | vyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.tar.gz vyos-live-build-0b285d1c45dbe1c0fc21136ccec2e41c214acdc0.zip |
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-x | helpers/lh_binary_chroot | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 619482694..761281089 100755 --- a/helpers/lh_binary_chroot +++ b/helpers/lh_binary_chroot @@ -40,7 +40,7 @@ Create_lockfile .lock # Normally, virtual filesystems are not mounted here, but people tend to be lazy if [ -f chroot/proc/version ] then - if [ "${LH_USE_FAKEROOT}" != "enabled" ] + if [ "${LH_USE_FAKEROOT}" != "true" ] then ${LH_ROOT_COMMAND} umount chroot/proc else @@ -51,7 +51,7 @@ fi if [ -d chroot/sys/kernel ] then - if [ "${LH_USE_FAKEROOT}" != "enabled" ] + if [ "${LH_USE_FAKEROOT}" != "true" ] then ${LH_ROOT_COMMAND} umount chroot/sys else @@ -61,18 +61,18 @@ then fi # Copying /dev if using fakeroot -if [ "${LH_USE_FAKEROOT}" = "enabled" ] +if [ "${LH_USE_FAKEROOT}" = "true" ] then rm -rf chroot/dev find /dev | cpio -dmpu chroot fi -if [ "${LH_CHROOT_BUILD}" = "disabled" ] +if [ "${LH_CHROOT_BUILD}" = "false" ] then exit 0 fi -if [ "${LH_CACHE}" = "enabled" ] && Find_files cache/stages_rootfs/filesystem* +if [ "${LH_CACHE}" = "true" ] && Find_files cache/stages_rootfs/filesystem* then exit 0 fi |