projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232c809
)
sys-apps/openrc: install default "nonetwork" runlevel
author
William Hubbs
<williamh@gentoo.org>
Thu, 12 May 2016 22:19:10 +0000
(17:19 -0500)
committer
William Hubbs
<williamh@gentoo.org>
Thu, 12 May 2016 22:19:10 +0000
(17:19 -0500)
Package-Manager: portage-2.2.28
sys-apps/openrc/openrc-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-apps/openrc/openrc-9999.ebuild
b/sys-apps/openrc/openrc-9999.ebuild
index 5c100869fe668042844ede351bdb98cceb285eb3..f4ba4dc21db23561fc3e334f54b21f7c5c44bdf4 100644
(file)
--- 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:"