Commit f52f1425 authored by Sören Tempel's avatar Sören Tempel
Browse files

init: create cryptsetup locking directory

The LUKS2 cryptsetup format uses a locking mechanism, see the "LUKS2
header locking" section in cryptsetup(8) for further information on this
mechanism. The mechanism requires a locking directory, if it is not
present it will be created automatically. Unfortunately, cryptsetup
emits a warning when creating it.

To silence this warning message make init create the directory.
parent 6e5b1852
......@@ -299,7 +299,7 @@ prepare_zfs_root() {
}
/bin/busybox mkdir -p /usr/bin /usr/sbin /proc /sys /dev $sysroot \
/media/cdrom /media/usb /tmp /run
/media/cdrom /media/usb /tmp /run/cryptsetup
# Spread out busybox symlinks and make them available without full path
/bin/busybox --install -s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment