[vserver] prefered way to add a support for a new distro

From: Natanael Copa <natanael.copa_at_gmail.com>
Date: Fri 03 Aug 2007 - 09:41:36 BST
Message-Id: <1186130496.9008.36.camel@nc.nor.wtbts.org>

Hi,

I'd like to add support for my distro alpinelinux.

Currently to install a guest I need to:

vserver myguest build --iniststyle sysv ... -m skeleton albootstrap /vservers/myguest
echo "/etc/init.d/rcL" > /etc/vservers/myguest/apps/init/cmd.start
echo "/etc/init.d/rcK" > /etc/vservers/myguest/apps/init/cmd.stop
echo "killall5" >> /etc/vservers/myguest/apps/init/cmd.stop
echo "kernel.grsecurity.chroot_caps = 0" >> /etc/sysctl.conf
rm /vservers/myguest/etc/mtab
chroot /vserver/myguest rc_add -s 20 -k syslog

(the ablootstrap script basicly downloads and unpacks a base.tar.bz2
file)

Now, my question is, how is the prefered way to add support for alpine?
should I use -d alpine -m template with base.tar.bz2 and put the other
stuff in a /usr/lib/util-vserver/distributions/alpine dir or should I
create a new -m albootstrap like debootstrap?

Natanael Copa
Received on Fri Aug 3 09:41:47 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Aug 2007 - 09:41:49 BST by hypermail 2.1.8