systemd: fix emergency and rescue services
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 13 Apr 2012 15:20:48 +0000 (17:20 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:20:10 +0000 (08:20 -0800)
In OE we use /home/root, not /root.

Bug-reported-by: Graham Murphy <Graham.Murphy@jhuapl.edu>
(From meta-openembedded rev: 204f537a181e3532ef8ba9ddadb7baf49a3b2be5)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-core/systemd/systemd_git.bb

index becbc90..b23e5f5 100644 (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() {