[packages/dracut] fix errors for os-release parent dir

glen glen at pld-linux.org
Wed Apr 27 12:11:16 CEST 2016


commit 95530c57a8bf0cb87774b7a25a4776e0381ae9ff
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 27 13:10:52 2016 +0300

    fix errors for os-release parent dir
    
    https://github.com/dracutdevs/dracut/pull/124

 dracut.spec      |  2 +-
 os-release.patch | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/dracut.spec b/dracut.spec
index 0fdd90b..d2c3e3b 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -2,7 +2,7 @@ Summary:	Initramfs generator using udev
 Summary(pl.UTF-8):	Generator initramfs wykorzystujący udev
 Name:		dracut
 Version:	044
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Base
 Source0:	https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
diff --git a/os-release.patch b/os-release.patch
index 8650197..f7b061d 100644
--- a/os-release.patch
+++ b/os-release.patch
@@ -9,3 +9,13 @@
  
  mkdir -m 0755 -p "${initdir}/usr/share/plymouth"
  
+--- dracut-044/modules.d/99base/module-setup.sh	2015-11-25 15:22:28.000000000 +0200
++++ dracut-044/modules.d/99base/module-setup.sh	2016-04-27 13:06:21.324369221 +0300
+@@ -77,6 +77,7 @@
+     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\"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dracut.git/commitdiff/95530c57a8bf0cb87774b7a25a4776e0381ae9ff



More information about the pld-cvs-commit mailing list