]> git.pld-linux.org Git - packages/dracut.git/commitdiff
- rel 3 auto/th/dracut-018-3
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 16 Apr 2012 18:30:13 +0000 (18:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- there is no --no-wall option in SysVinit halt command, remove its use

Changed files:
    dracut.spec -> 1.18
    reboot-opts.patch -> 1.1

dracut.spec
reboot-opts.patch [new file with mode: 0644]

index 7e2b373a767906475eb07aa11b357f806c7527bd..d5a15dd00dfbdd3c823700485d123dda943a5557 100644 (file)
@@ -1,15 +1,16 @@
 Summary:       Initramfs generator using udev
 Name:          dracut
 Version:       018
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         Base
 Source0:       ftp://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
 # Source0-md5: e65f2a54b6d64619334f501a346f7823
 Source1:       pld.conf
 Patch0:                no-rh.patch
-Patch2:                bash-sh.patch
-Patch3:                plymouth-libexec.patch
+Patch1:                bash-sh.patch
+Patch2:                plymouth-libexec.patch
+Patch3:                reboot-opts.patch
 URL:           https://dracut.wiki.kernel.org/
 BuildRequires: dash
 BuildRequires: docbook-dtd45-xml
@@ -128,6 +129,7 @@ configuration.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
diff --git a/reboot-opts.patch b/reboot-opts.patch
new file mode 100644 (file)
index 0000000..bf0929c
--- /dev/null
@@ -0,0 +1,13 @@
+--- dracut-018/modules.d/99shutdown/shutdown.sh~       2012-04-05 13:54:38.000000000 +0200
++++ dracut-018/modules.d/99shutdown/shutdown.sh        2012-04-16 14:04:49.481733793 +0200
+@@ -98,7 +98,7 @@
+ _check_shutdown final
+ getarg 'rd.break=shutdown' && emergency_shell -n cmdline "Break before shutdown"
+-[ "$1" = "reboot" ] && reboot -f -d -n --no-wall
+-[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall
+-[ "$1" = "halt" ] && halt -f -d -n --no-wall
++[ "$1" = "reboot" ] && reboot -f -d -n
++[ "$1" = "poweroff" ] && poweroff -f -d -n
++[ "$1" = "halt" ] && halt -f -d -n
+ [ "$1" = "kexec" ] && kexec -e
This page took 0.032378 seconds and 4 git commands to generate.