Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/, app-emulation/xen-tools/files/
Date: Tue, 17 Oct 2017 07:25:02
Message-Id: 1508225071.75c8666ff431784afbfd419e0f2362fc293a4117.dlan@gentoo
1 commit: 75c8666ff431784afbfd419e0f2362fc293a4117
2 Author: Tomas Mozes <tmozes <AT> sygic <DOT> com>
3 AuthorDate: Mon Oct 16 12:32:44 2017 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 07:24:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c8666f
7
8 app-emulation/xen-tools: add openrc init for xen-watchdog
9
10 Closes: https://github.com/gentoo/gentoo/pull/5962
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 app-emulation/xen-tools/files/xen-watchdog.initd | 6 ++++++
14 app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild | 1 +
15 2 files changed, 7 insertions(+)
16
17 diff --git a/app-emulation/xen-tools/files/xen-watchdog.initd b/app-emulation/xen-tools/files/xen-watchdog.initd
18 new file mode 100644
19 index 00000000000..6fbc54dfb2f
20 --- /dev/null
21 +++ b/app-emulation/xen-tools/files/xen-watchdog.initd
22 @@ -0,0 +1,6 @@
23 +#!/sbin/openrc-run
24 +# Copyright 1999-2017 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +command="/usr/sbin/xenwatchdogd"
28 +command_args="30 15"
29
30 diff --git a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
31 index 1aac5f357a3..3de1759592f 100644
32 --- a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
33 +++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
34 @@ -421,6 +421,7 @@ src_install() {
35 newconfd "${FILESDIR}"/xencommons.confd xencommons
36 newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
37 newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
38 + newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
39
40 if use screen; then
41 cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die