summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-02-22 20:44:32 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-05-14 13:49:06 -0500
commit82d3918d7a1c625f98fcf607c7a450f18b7e60bd (patch)
tree89866fb3fce5954a52075941d5dc27fe5c60b824 /Makefile
parentee1a698451a01772d50a75e95c887520260f8619 (diff)
downloadopenrc-82d3918d7a1c625f98fcf607c7a450f18b7e60bd.tar.gz
openrc-82d3918d7a1c625f98fcf607c7a450f18b7e60bd.tar.bz2
openrc-82d3918d7a1c625f98fcf607c7a450f18b7e60bd.tar.xz
move rc_svcdir to /run/openrc on Linux systems
If you are not using linux, this should not affect you. If you are using linux, from this point forward, openrc requires the /run directory to be a mounted tmpfs. If it is, you can run @LIBEXECDIR@/sh/migrate-to-run.sh as root to migrate your dependency tree and state information to the new location. If it is not, you must create the /run directory as root with permissions 755 then reboot your system. reported-by: Maxim Kammerer <mk@dee.su> X-Gentoo-Bug: 401059 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401059
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 504092f..0a83495 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ include ${MK}/dist.mk
include ${MK}/git.mk
_installafter:
+ifneq ($(OS),Linux)
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
+endif
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/tmp
${ECHO} "${VERSION}${GITVER}" > ${DESTDIR}/${LIBEXECDIR}/version