~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[alpine-devel] [PATCH] setup-xen-dom0: update to upcoming 4.2

Roger Pau Monne <roger.pau@citrix.com>
Details
Message ID
<1347545939-927-1-git-send-email-roger.pau@citrix.com>
Sender timestamp
1347545939
DKIM signature
missing
Download raw message
Patch: +7 -13
New version of Xen (4.2) doesn't require udev, so update the
script to reflect those changes. Also, only include a module
in /etc/modules if we can load it successfully.
---
 setup-xen-dom0.in | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/setup-xen-dom0.in b/setup-xen-dom0.in
index a9c993a..0e7b3b3 100644
--- a/setup-xen-dom0.in
+++ b/setup-xen-dom0.in
@@ -3,26 +3,20 @@
# simple script to setup basic xen dom0

# kernel modules
for mod in xen_netback xen_blkback xenfs xen-platform-pci xen_wdt tun; do
	modprobe $mod
	grep -q -w $mod /etc/modules || echo $mod >> /etc/modules
for mod in xen_netback xen_blkback xenfs xen_pciback xen_wdt tun; do
	if modprobe $mod; then
		grep -q -w $mod /etc/modules || echo $mod >> /etc/modules
	fi
done

# install packages
apk add -q xen udev
apk add -q xen

# setup and start services
rc-update -q del mdev sysinit
rc-update -q add udev sysinit
for svc in udev-postmount xenstored xenconsoled; do
for svc in xenstored xenconsoled xenqemu; do
	rc-update -q add $svc default
done

if ! rc-service -q udev status; then
	rc-service udev start
	rc-service udev-postmount start
fi

rc-service xenstored start
rc-service xenconsoled start

rc-service xenqemu start
-- 
1.7.11.4



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20120914161022.7637eb59@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1347545939-927-1-git-send-email-roger.pau@citrix.com> (view parent)
Sender timestamp
1347631822
DKIM signature
missing
Download raw message
On Thu, 13 Sep 2012 15:18:59 +0100
Roger Pau Monne <roger.pau@citrix.com> wrote:

> New version of Xen (4.2) doesn't require udev, so update the
> script to reflect those changes. Also, only include a module
> in /etc/modules if we can load it successfully.

applied.

Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Roger Pau Monne <roger.pau@citrix.com>
Details
Message ID
<5056E2DB.2020408@citrix.com>
In-Reply-To
<20120914161022.7637eb59@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1347871451
DKIM signature
missing
Download raw message
Natanael Copa wrote:
> On Thu, 13 Sep 2012 15:18:59 +0100
> Roger Pau Monne <roger.pau@citrix.com> wrote:
> 
>> New version of Xen (4.2) doesn't require udev, so update the
>> script to reflect those changes. Also, only include a module
>> in /etc/modules if we can load it successfully.
> 
> applied.

Can we push this changes to the aports package?

Thanks, Roger.



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)