summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 08:15:17 +0000
committerRoy Marples <roy@marples.name>2008-03-03 08:15:17 +0000
commit58c3f3cce07510e9cd029289c48a331fe8ff7f93 (patch)
treee4a0dda8b6b8f9f6c3eeb2ad6c307c82f295c659 /sys-apps/openrc/openrc-9999.ebuild
parentFix digest (diff)
downloaduberlord-58c3f3cce07510e9cd029289c48a331fe8ff7f93.tar.gz
uberlord-58c3f3cce07510e9cd029289c48a331fe8ff7f93.tar.bz2
uberlord-58c3f3cce07510e9cd029289c48a331fe8ff7f93.zip
Provide virutal/baselayout and remove old boot links.
Diffstat (limited to 'sys-apps/openrc/openrc-9999.ebuild')
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index b807384..4ca7163 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -124,6 +124,10 @@ pkg_preinst() {
}
pkg_postinst() {
+ # Remove old baselayout links
+ rm -rf "${ROOT}"etc/runlevels/boot/checkfs \
+ "${ROOT}"etc/runlevels/boot/checkroot
+
# Make our runlevels if they don't exist or we're a development version.
if [ ! -e "${ROOT}"etc/runlevels -o "${PV}" = "9999" ]; then
einfo "Copying across default runlevels"