From bb44294b62b9469aebaeac8533569ac24b208a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 27 Apr 2016 13:08:42 +0300 Subject: [PATCH] ensure parent dir for /usr/lib/initrd-release exists --- modules.d/99base/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index 5fbf6f7..b03772e 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -77,6 +77,7 @@ install() { VERSION_ID=$DRACUT_VERSION ANSI_COLOR="0;34" + [ -e "${initdir}/usr/lib" ] || mkdir -m 0755 -p ${initdir}/usr/lib { echo NAME=\"$NAME\" echo VERSION=\"$VERSION\"