iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid future errors with overwriting symlnks
[automated-distro-installer]
/
arch-init
diff --git
a/arch-init
b/arch-init
index 36b77c6b6851ca851b48949abf9db399ff3c39f4..0ce3bf01d1bfc3d6f981d4fa9148840f4bd196d9 100755
(executable)
--- a/
arch-init
+++ b/
arch-init
@@
-57,7
+57,7
@@
export bootn=3
export swapn=2
export BOOT_DEVICE
export ROOT_PARTITIONS
export swapn=2
export BOOT_DEVICE
export ROOT_PARTITIONS
-sed -ri "/^crypt_dev_\S+$rootn /d" /tmp/fai/crypttab
+sed -ri
--follow-symlinks
"/^crypt_dev_\S+$rootn /d" /tmp/fai/crypttab
if ! $already_partitioned; then
mount -o subvol=root_$DISTRO $ROOT_PARTITION /mnt
if ! $already_partitioned; then
mount -o subvol=root_$DISTRO $ROOT_PARTITION /mnt