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