summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-06-19 16:16:11 +0100
committerBlake Romero <blake@blkrom.com>2024-06-19 16:16:11 +0100
commit5080ce8d3f2c8240f8fd0604da4af20d3a818e25 (patch)
tree78210849918d7e596897dafa7cf01ef5aca8477e
parenta411d2936f54955543e89fbadf5f620f5b3e5bba (diff)
Add root mapper
-rwxr-xr-xinstall-artix.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-artix.sh b/install-artix.sh
index 480411e..2ca8925 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -159,6 +159,9 @@ if [[ $encrypt == true ]]; then
# Open encrypted drive
echo "${password}" | cryptsetup luksOpen ${root} Artix
+
+ # Change root to mapper
+ root="/dev/mapper/Artix"
fi
# Make BOOT filesystem