Skip to content
Snippets Groups Projects

Make compatible with cryptsetup's encrypt hook

Closed Tallero Tallero requested to merge tallero/mkinitcpio-archiso:crypto into master
2 unresolved threads
Compare and Show latest version
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -146,7 +146,7 @@ _archisodevice() {
archisodevice="/run/cryptdev"
bootmnt_opts="bind"
else
archisodevice="/dev/disk/by-label/${archisolabel}"
archisodevice="/dev/disk/by-uuid/${archisouuid}"
bootmnt_opts="defaults"
fi
}
@@ -172,6 +172,7 @@ run_hook() {
fi
[ -z "${cow_flags}" ] && cow_flags="defaults"
# shellcheck disable=SC2154
[ -z "${cow_directory}" ] && cow_directory="persistent_${archisolabel}/${arch}"
[ -z "${cow_chunksize}" ] && cow_chunksize="8"
Loading