1 |
commit: 4d8d5413c0a4612951474a632bcc32e17eb77547 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 01:31:22 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 01:31:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8d5413 |
7 |
|
8 |
app-emulation/xe-guest-utilities: use udev_newrules; add udev_reload |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild b/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild |
16 |
index 47dad8b75542..145e42fb64b0 100644 |
17 |
--- a/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild |
18 |
+++ b/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild |
19 |
@@ -44,8 +44,7 @@ src_install() { |
20 |
dosbin xe-linux-distribution |
21 |
dosbin xe-update-guest-attrs |
22 |
|
23 |
- insinto $(get_udevdir)/rules.d |
24 |
- newins xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules |
25 |
+ udev_newrules xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules |
26 |
|
27 |
if use xenstore; then |
28 |
dobin usr/bin/xeninfo |
29 |
@@ -55,6 +54,8 @@ src_install() { |
30 |
} |
31 |
|
32 |
pkg_postinst() { |
33 |
+ udev_reload |
34 |
+ |
35 |
if [ ! -e /etc/runlevels/boot/xe-daemon ]; then |
36 |
elog "To start the xe-daemon automatically by default" |
37 |
elog "you should add it to the boot runlevel :" |