summaryrefslogtreecommitdiff
path: root/installer/configure-target-gpt-root.sh
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-08-25 09:51:14 +0800
committertranch <tranch.xiao@gmail.com>2026-08-26 11:38:45 +0800
commit99c47421bdb444e2eb799c1db1fe11a8ea91dee3 (patch)
tree600dfca5b49c97483bd2fd1ae662b5ea6d428b20 /installer/configure-target-gpt-root.sh
parent65906b9536aaebdec4169b40e7b9eb86b73e65fe (diff)
downloadAeroCore-OS-99c47421bdb444e2eb799c1db1fe11a8ea91dee3.tar.gz
AeroCore-OS-99c47421bdb444e2eb799c1db1fe11a8ea91dee3.zip
Document local live ISO reproduction path
Diffstat (limited to 'installer/configure-target-gpt-root.sh')
-rwxr-xr-xinstaller/configure-target-gpt-root.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/installer/configure-target-gpt-root.sh b/installer/configure-target-gpt-root.sh
index 470821e..6c1a2d1 100755
--- a/installer/configure-target-gpt-root.sh
+++ b/installer/configure-target-gpt-root.sh
@@ -17,7 +17,6 @@ if [[ ! "${source_device}" =~ ^/dev/ ]]; then
source_maj_min="$(findmnt -no MAJ:MIN --target "${target_root}")"
source_device="$(lsblk -nrpo NAME,MAJ:MIN | awk -v wanted="${source_maj_min}" '$2 == wanted { print $1; exit }')"
fi
-
case "${source_device}" in
/dev/*[0-9]) ;;
*)