V8.13.440.2025.11.19
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m33s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m33s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -77,8 +77,9 @@ Live ()
|
||||
printf "\e[93m[DEBUG] live(): Do a local boot from hd [livefs_root=%s] \e[0m\n" "${ROOT?}"
|
||||
livefs_root=${ROOT}
|
||||
else
|
||||
printf "\e[93m[DEBUG] live(): [Setup_Memdisk] \e[0m\n"
|
||||
printf "\e[93m[DEBUG] live(): [Setup_Memdisk] starting ... \e[0m\n"
|
||||
Setup_Memdisk
|
||||
printf "\e[93m[DEBUG] live(): [Setup_Memdisk] finished. \e[0m\n"
|
||||
|
||||
# If the live media location is given via command line and access to it
|
||||
# involves LVM volumes, the corresponding volumes need to be activated.
|
||||
@@ -86,6 +87,7 @@ Live ()
|
||||
# shellcheck disable=SC2116
|
||||
for dev in $(echo "${LIVE_MEDIA}")
|
||||
do
|
||||
printf "\e[93m[DEBUG] live(): [%s] -> dev \e[0m\n" "${dev}"
|
||||
case "${dev}" in
|
||||
/dev/mapper/*)
|
||||
# shellcheck disable=SC2046,SC2312
|
||||
@@ -125,6 +127,7 @@ Live ()
|
||||
fi
|
||||
fi
|
||||
|
||||
printf "\e[93m[DEBUG] live(): [%s] -> livefs_root. \e[0m\n" "${livefs_root}"
|
||||
if [ -z "${livefs_root}" ]
|
||||
then
|
||||
panic "Unable to find a medium containing a live file system"
|
||||
|
||||
Reference in New Issue
Block a user