diff options
author | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2012-07-31 09:24:39 +0000 |
---|---|---|
committer | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2012-07-31 09:24:39 +0000 |
commit | 41ff078c06fa8644e41a9f0d674a7aa58a25db9b (patch) | |
tree | 6701bf20c2dd6e097034f203ac55a59a9c0c4ed8 /sys-kernel/dracut/files | |
parent | Needs bc, bug 428534 (diff) | |
download | gentoo-2-41ff078c06fa8644e41a9f0d674a7aa58a25db9b.tar.gz gentoo-2-41ff078c06fa8644e41a9f0d674a7aa58a25db9b.tar.bz2 gentoo-2-41ff078c06fa8644e41a9f0d674a7aa58a25db9b.zip |
Fixed bug #388199 in 019 and 022. 018 is ignored because it is going to be
removed soon. I have changed patches naming scheme in 019 as I did in 022.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/dracut/files')
-rw-r--r-- | sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch (renamed from sys-kernel/dracut/files/dracut-019-multipath-udev-rules.patch) | 0 | ||||
-rw-r--r-- | sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch (renamed from sys-kernel/dracut/files/dracut-019-no-pkg-config-warnings.patch) | 0 | ||||
-rw-r--r-- | sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch | 30 | ||||
-rw-r--r-- | sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch | 30 |
4 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/dracut-019-multipath-udev-rules.patch b/sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch index 8268189ce58a..8268189ce58a 100644 --- a/sys-kernel/dracut/files/dracut-019-multipath-udev-rules.patch +++ b/sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch diff --git a/sys-kernel/dracut/files/dracut-019-no-pkg-config-warnings.patch b/sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch index 56199512b54b..56199512b54b 100644 --- a/sys-kernel/dracut/files/dracut-019-no-pkg-config-warnings.patch +++ b/sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch diff --git a/sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch b/sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch new file mode 100644 index 000000000000..35a6751fbdf5 --- /dev/null +++ b/sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch @@ -0,0 +1,30 @@ +From dd3517f38302f6e55b3cba13ec764166163be541 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Tue, 31 Jul 2012 10:49:58 +0200 +Subject: [PATCH 17/17] 99shutdown: remove --no-wall argument for reboot, + halt, etc... + +In some distros (Gentoo, for example) these commands don't honor +--no-wall argument. +--- + modules.d/99shutdown/shutdown.sh | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh +index aa0a81f..e1da91b 100755 +--- a/modules.d/99shutdown/shutdown.sh ++++ b/modules.d/99shutdown/shutdown.sh +@@ -56,7 +56,7 @@ done + _check_shutdown final + + getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "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 +-- +1.7.8.6 + diff --git a/sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch b/sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch new file mode 100644 index 000000000000..35a6751fbdf5 --- /dev/null +++ b/sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch @@ -0,0 +1,30 @@ +From dd3517f38302f6e55b3cba13ec764166163be541 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name> +Date: Tue, 31 Jul 2012 10:49:58 +0200 +Subject: [PATCH 17/17] 99shutdown: remove --no-wall argument for reboot, + halt, etc... + +In some distros (Gentoo, for example) these commands don't honor +--no-wall argument. +--- + modules.d/99shutdown/shutdown.sh | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh +index aa0a81f..e1da91b 100755 +--- a/modules.d/99shutdown/shutdown.sh ++++ b/modules.d/99shutdown/shutdown.sh +@@ -56,7 +56,7 @@ done + _check_shutdown final + + getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "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 +-- +1.7.8.6 + |