dracut/0068-ensure-parent-dir-for-usr-lib-initrd-release-exists.patch
Harald Hoyer b386772815 dracut-044-75
- fix for systemd >= 230
- git snapshot
2016-06-07 10:24:44 +02:00

22 lines
731 B
Diff

From bb44294b62b9469aebaeac8533569ac24b208a45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= <glen@delfi.ee>
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\"