summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@uberlaptop.development.ltl>2008-01-30 14:05:13 +0000
committerRoy Marples <roy@uberlaptop.development.ltl>2008-01-30 14:05:13 +0000
commit14367615bd727f56cce79e111a0da01d6055fd32 (patch)
treed320699decb9191a7c22d7fc511f52702a78bddc /sys-apps/openrc/openrc-9999.ebuild
parentFix building for PAM and ncurses. (diff)
downloaduberlord-14367615bd727f56cce79e111a0da01d6055fd32.tar.gz
uberlord-14367615bd727f56cce79e111a0da01d6055fd32.tar.bz2
uberlord-14367615bd727f56cce79e111a0da01d6055fd32.zip
Stop portage removing our mount points.
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 6a14eef..97887b7 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -69,6 +69,10 @@ src_compile() {
src_install() {
emake ${MAKE_ARGS} DESTDIR="${D}" install || die
+ # Portage likes to remove our mount points for the state dir
+ keepdir /"${LIBDIR}"/rc/init.d
+ keepdir /"${LIBDIR}"/rc/tmp
+
# Backup our default runlevels
dodir /usr/share/"${PN}"
mv "${D}/etc/runlevels" "${D}/usr/share/${PN}"