commit: 184de04dd4f2599ca2d04502195f12737527f13d
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 22:19:10 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu May 12 22:19:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184de04d
sys-apps/openrc: install default "nonetwork" runlevel
Package-Manager: portage-2.2.28
sys-apps/openrc/openrc-9999.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sys-apps/openrc/openrc-9999.ebuild
b/sys-apps/openrc/openrc-9999.ebuild
index 5c10086..f4ba4dc 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -280,6 +280,13 @@ pkg_postinst() {
fi
fi
+ # Added for 0.21
+ if [[ ! -e "${EROOT}"etc/runlevels/nonetwork ]]; then
+ einfo "copying default nonetwork runlevel"
+ cp -RPp "${EROOT}"usr/share/${PN}/runlevels/nonetwork \
+ "${EROOT}"etc/runlevels
+ fi
+
if use hppa; then
elog "Setting the console font does not work on all HPPA
consoles."
elog "You can still enable it by running:"