systemd: fix emergency and rescue services

In OE we use /home/root, not /root.

Bug-reported-by: Graham Murphy <Graham.Murphy@jhuapl.edu>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2012-04-13 17:20:48 +02:00
parent aa62eed2e5
commit 204f537a18
+4 -1
View File
@@ -14,7 +14,7 @@ inherit gitpkgv
PKGV = "v${GITPKGVTAG}"
PV = "git"
PR = "r25"
PR = "r26"
inherit useradd pkgconfig autotools vala perlnative
@@ -49,6 +49,9 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
# There's no docbook-xsl-native, so for the xsltproc check to false
do_configure_prepend() {
sed -i /xsltproc/d configure.ac
# we only have /home/root, not /root
sed -i -e 's:=/root:=/home/root:g' units/*.service*
}
do_install() {