From 3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 4 Mar 2011 19:08:08 -0600 Subject: allow default rc_sys value to be set at build time This allows the default value of rc_sys to be set when openrc is compiled. This will allow openrc to be installed, e.g. on vserver guests and will allow them to be rebooted without the need to edit rc.conf. This patch is a combined effort between myself and Robin Johnson. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247 --- README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README') diff --git a/README b/README index 2a2eac3c..517ddb31 100644 --- a/README +++ b/README @@ -12,6 +12,7 @@ LIBNAME=lib64 DESTDIR=/tmp/openrc-image MKPAM=pam MKPKGCONFIG=no +MKRCSYS=prefix MKSELINUX=yes MKTERMCAP=ncurses MKTERMCAP=termcap @@ -33,6 +34,20 @@ LOCAL_PREFIX should be set when to where user maintained packages are. Only set LOCAL_PREFIX if different from PKG_PREFIX. PREFIX should be set when OpenRC is not installed to /. +MKRCSYS should be set only if you need to specify a default system +subtype. The subtype should be set to match the type of environment the +file is installed into, not the virtualization the environment is +capable of handling. Here is a list of subtypes and their meanings. + +jail FreeBSD jail +lxc Linux container +openvz Linux OpenVZ +prefix Linux and *BSD prefix system +uml UsermodeLinux +vserver Linux vserver +xen0 Linux and NetBSD xen0 Domain +xenU Linux and NetBSD xenU Domain + If any of the following files exist then we do not overwrite them /etc/devd.conf /etc/rc -- cgit v1.2.3