[packages/dracut] - really force bash to be installed as /bin/sh, rel 4

baggins baggins at pld-linux.org
Sun Oct 31 00:00:29 CEST 2021


commit c302e12700be89b39c71715b294a97720fb2d17f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 30 23:59:56 2021 +0200

    - really force bash to be installed as /bin/sh, rel 4

 bash.patch  | 9 +++++++++
 dracut.spec | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/dracut.spec b/dracut.spec
index 4384e98..824aecb 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:	055
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Base
 Source0:	https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
diff --git a/bash.patch b/bash.patch
index e51aae7..4c56e4d 100644
--- a/bash.patch
+++ b/bash.patch
@@ -1,5 +1,14 @@
 --- dracut-055/modules.d/00bash/module-setup.sh~	2021-05-27 14:34:19.000000000 +0200
 +++ dracut-055/modules.d/00bash/module-setup.sh	2021-10-30 23:03:00.931687353 +0200
+@@ -9,7 +9,7 @@
+     require_binaries bash || return 1
+ 
+     # Return 255 to only include the module, if another module requires it.
+-    return 255
++    return 0
+ 
+ }
+ 
 @@ -27,6 +27,6 @@
      inst /bin/bash
  
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list