Do not add a prefix to the /run directory
This doesn't affect us on gentoo, but on archlinux, which has done the /usr merge, OpenRC was looking for /run under PREFIX. /run is always at the root level, so it shouldn't have prefix appended to it. Reported-by: udeved@openrc4arch.site40.net
This commit is contained in:
@@ -40,7 +40,7 @@ __BEGIN_DECLS
|
||||
#if defined(PREFIX)
|
||||
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
|
||||
#elif defined(__linux__)
|
||||
#define RC_SVCDIR "@PREFIX@/run/openrc"
|
||||
#define RC_SVCDIR "/run/openrc"
|
||||
#else
|
||||
#define RC_SVCDIR RC_LIBEXECDIR "/init.d"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user