aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKARBOWSKI Piotr <piotr.karbowski@gmail.com>2020-04-12 21:44:27 +0200
committerKARBOWSKI Piotr <piotr.karbowski@gmail.com>2020-04-12 21:44:27 +0200
commit23c79dd5512fcc38068f7e35c07806180645cf13 (patch)
tree619fd0b5c76a629581efa6c8ee8d8fd61ac39a40
parentlebuild: switch sysroot images from alpine-3.7.0 to alpine-3.11.5 (diff)
downloadbetter-initramfs-23c79dd5512fcc38068f7e35c07806180645cf13.tar.xz
better-initramfs-23c79dd5512fcc38068f7e35c07806180645cf13.zip
init: prepare /run/cryptsetup so crypsetup won't complain.
-rwxr-xr-xsourceroot/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/sourceroot/init b/sourceroot/init
index 6bb145f..503c4e2 100755
--- a/sourceroot/init
+++ b/sourceroot/init
@@ -33,7 +33,7 @@
run_hooks init
# Prepare dirs
-run dodir /dev /newroot /sbin /proc /sys /etc /var/log /var/run /run
+run dodir /dev /newroot /sbin /proc /sys /etc /var/log /var/run /run /run/cryptsetup
for d in /lib /usr/lib; do
# ! -e && ! -h: also skip broken symlinks
if [ -d "${d}" ] && [ ! -e "${d}64" ] && [ ! -h "${d}64" ]; then