diff options
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-x | functions/losetup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh index 8cacfcf82..d2791b365 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -31,7 +31,7 @@ Lodetach () sync sleep 1 - if [ "${LB_IMAGE_TYPE}" = "hdd" ]; + if [ "${LIVE_IMAGE_TYPE}" = "hdd" ]; then case "${LB_BUILD_WITH_CHROOT}" in true) @@ -79,7 +79,7 @@ Losetup () LOOPDEVICE="$(echo ${DEVICE}p${PARTITION})" - if [ "${LB_IMAGE_TYPE}" = "hdd" ] + if [ "${LIVE_IMAGE_TYPE}" = "hdd" ] then losetup --partscan "${DEVICE}" "${FILE}" case "${LB_BUILD_WITH_CHROOT}" in |