Gentoo Archives: gentoo-commits

From: "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/dracut/files: 019-0001-multipath-udev-rules.patch 022-0017-99shutdown-remove-no-wall-argument-for.patch 019-0017-99shutdown-remove-no-wall-argument-for.patch 019-0002-no-pkg-config-warnings.patch dracut-019-multipath-udev-rules.patch dracut-019-no-pkg-config-warnings.patch
Date: Tue, 31 Jul 2012 09:24:49
Message-Id: 20120731092439.51E452004C@flycatcher.gentoo.org
1 aidecoe 12/07/31 09:24:39
2
3 Added: 019-0001-multipath-udev-rules.patch
4 022-0017-99shutdown-remove-no-wall-argument-for.patch
5 019-0017-99shutdown-remove-no-wall-argument-for.patch
6 019-0002-no-pkg-config-warnings.patch
7 Removed: dracut-019-multipath-udev-rules.patch
8 dracut-019-no-pkg-config-warnings.patch
9 Log:
10 Fixed bug #388199 in 019 and 022. 018 is ignored because it is going to be
11 removed soon. I have changed patches naming scheme in 019 as I did in 022.
12
13 (Portage version: 2.1.11.9/cvs/Linux x86_64)
14
15 Revision Changes Path
16 1.1 sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch
17
18 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch?rev=1.1&view=markup
19 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0001-multipath-udev-rules.patch?rev=1.1&content-type=text/plain
20
21 Index: 019-0001-multipath-udev-rules.patch
22 ===================================================================
23 From 6b237d3517701c96b852d00682d48548b56a97d2 Mon Sep 17 00:00:00 2001
24 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@×××××××.name>
25 Date: Sat, 9 Jun 2012 14:18:56 +0200
26 Subject: [PATCH] 90multipath: added kpartx.rules; multipath.rules - different
27 prefix
28
29 ---
30 modules.d/90multipath/module-setup.sh | 2 +-
31 1 files changed, 1 insertions(+), 1 deletions(-)
32
33 diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
34 index bf71fdc..67d6068 100755
35 --- a/modules.d/90multipath/module-setup.sh
36 +++ b/modules.d/90multipath/module-setup.sh
37 @@ -72,6 +72,6 @@ install() {
38
39 inst_hook pre-trigger 02 "$moddir/multipathd.sh"
40 inst_hook cleanup 02 "$moddir/multipathd-stop.sh"
41 - inst_rules 40-multipath.rules
42 + inst_rules 40-multipath.rules 65-multipath.rules 66-kpartx.rules
43 }
44
45 --
46 1.7.8.6
47
48
49
50
51 1.1 sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/022-0017-99shutdown-remove-no-wall-argument-for.patch?rev=1.1&content-type=text/plain
55
56 Index: 022-0017-99shutdown-remove-no-wall-argument-for.patch
57 ===================================================================
58 From dd3517f38302f6e55b3cba13ec764166163be541 Mon Sep 17 00:00:00 2001
59 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@×××××××.name>
60 Date: Tue, 31 Jul 2012 10:49:58 +0200
61 Subject: [PATCH 17/17] 99shutdown: remove --no-wall argument for reboot,
62 halt, etc...
63
64 In some distros (Gentoo, for example) these commands don't honor
65 --no-wall argument.
66 ---
67 modules.d/99shutdown/shutdown.sh | 6 +++---
68 1 files changed, 3 insertions(+), 3 deletions(-)
69
70 diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
71 index aa0a81f..e1da91b 100755
72 --- a/modules.d/99shutdown/shutdown.sh
73 +++ b/modules.d/99shutdown/shutdown.sh
74 @@ -56,7 +56,7 @@ done
75 _check_shutdown final
76
77 getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "Break before shutdown"
78 -[ "$1" = "reboot" ] && reboot -f -d -n --no-wall
79 -[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall
80 -[ "$1" = "halt" ] && halt -f -d -n --no-wall
81 +[ "$1" = "reboot" ] && reboot -f -d -n
82 +[ "$1" = "poweroff" ] && poweroff -f -d -n
83 +[ "$1" = "halt" ] && halt -f -d -n
84 [ "$1" = "kexec" ] && kexec -e
85 --
86 1.7.8.6
87
88
89
90
91 1.1 sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch
92
93 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0017-99shutdown-remove-no-wall-argument-for.patch?rev=1.1&content-type=text/plain
95
96 Index: 019-0017-99shutdown-remove-no-wall-argument-for.patch
97 ===================================================================
98 From dd3517f38302f6e55b3cba13ec764166163be541 Mon Sep 17 00:00:00 2001
99 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@×××××××.name>
100 Date: Tue, 31 Jul 2012 10:49:58 +0200
101 Subject: [PATCH 17/17] 99shutdown: remove --no-wall argument for reboot,
102 halt, etc...
103
104 In some distros (Gentoo, for example) these commands don't honor
105 --no-wall argument.
106 ---
107 modules.d/99shutdown/shutdown.sh | 6 +++---
108 1 files changed, 3 insertions(+), 3 deletions(-)
109
110 diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
111 index aa0a81f..e1da91b 100755
112 --- a/modules.d/99shutdown/shutdown.sh
113 +++ b/modules.d/99shutdown/shutdown.sh
114 @@ -56,7 +56,7 @@ done
115 _check_shutdown final
116
117 getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "Break before shutdown"
118 -[ "$1" = "reboot" ] && reboot -f -d -n --no-wall
119 -[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall
120 -[ "$1" = "halt" ] && halt -f -d -n --no-wall
121 +[ "$1" = "reboot" ] && reboot -f -d -n
122 +[ "$1" = "poweroff" ] && poweroff -f -d -n
123 +[ "$1" = "halt" ] && halt -f -d -n
124 [ "$1" = "kexec" ] && kexec -e
125 --
126 1.7.8.6
127
128
129
130
131 1.1 sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch
132
133 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch?rev=1.1&view=markup
134 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/dracut/files/019-0002-no-pkg-config-warnings.patch?rev=1.1&content-type=text/plain
135
136 Index: 019-0002-no-pkg-config-warnings.patch
137 ===================================================================
138 From c84a602b412cbd3ac5a21a608046bf18b880f565 Mon Sep 17 00:00:00 2001
139 From: Juan RP <xtraeme@×××××.com>
140 Date: Wed, 6 Jun 2012 14:19:59 +0200
141 Subject: [PATCH] Avoid annonying warnings when pkg-config is not installed.
142
143 ---
144 dracut-functions.sh | 2 +-
145 modules.d/95udev-rules/module-setup.sh | 4 ++--
146 2 files changed, 3 insertions(+), 3 deletions(-)
147
148 diff --git a/dracut-functions.sh b/dracut-functions.sh
149 index f788878..4180f03 100755
150 --- a/dracut-functions.sh
151 +++ b/dracut-functions.sh
152 @@ -531,7 +531,7 @@ inst_symlink() {
153 ln -sfn $(convert_abs_rel "${_target}" "${_realsrc}") "$initdir/$_target"
154 }
155
156 -udevdir=$(pkg-config udev --variable=udevdir)
157 +udevdir=$(pkg-config udev --variable=udevdir 2>/dev/null)
158 if ! [[ -d "$udevdir" ]]; then
159 [[ -d /lib/udev ]] && udevdir=/lib/udev
160 [[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
161 diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
162 index e8c1c04..ff47021 100755
163 --- a/modules.d/95udev-rules/module-setup.sh
164 +++ b/modules.d/95udev-rules/module-setup.sh
165 @@ -5,13 +5,13 @@
166 install() {
167 local _i
168
169 - systemdutildir=$(pkg-config systemd --variable=systemdutildir)
170 + systemdutildir=$(pkg-config systemd --variable=systemdutildir 2>/dev/null)
171 if ! [[ -d "$systemdutildir" ]]; then
172 [[ -d /lib/systemd ]] && systemdutildir=/lib/systemd
173 [[ -d /usr/lib/systemd ]] && systemdutildir=/usr/lib/systemd
174 fi
175
176 - udevdir=$(pkg-config udev --variable=udevdir)
177 + udevdir=$(pkg-config udev --variable=udevdir 2>/dev/null)
178 if ! [[ -d "$udevdir" ]]; then
179 [[ -d /lib/udev ]] && udevdir=/lib/udev
180 [[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
181 --
182 1.7.8.6