diff options
author | Kim Hagen <kim@sentrium.io> | 2021-08-09 09:24:21 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-08-09 09:24:21 -0500 |
commit | 301cd5b991caded9c84d1ce4bb214ac720ba5796 (patch) | |
tree | 8e2354a14a176e4dbe33e34507a62e8f4d9bd9c1 /functions/losetup.sh | |
parent | f81f65598555f88f1b0535807da7418e5326be67 (diff) | |
download | vyos-live-build-1.3.3.tar.gz vyos-live-build-1.3.3.zip |
add items for grub setup and enable persistence1.3.81.3.71.3.61.3.51.3.41.3.3-epa11.3.31.3.2equuleus
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 |