mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 17:39:24 +00:00
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:
@@ -14,7 +14,7 @@ inherit gitpkgv
|
|||||||
PKGV = "v${GITPKGVTAG}"
|
PKGV = "v${GITPKGVTAG}"
|
||||||
|
|
||||||
PV = "git"
|
PV = "git"
|
||||||
PR = "r25"
|
PR = "r26"
|
||||||
|
|
||||||
inherit useradd pkgconfig autotools vala perlnative
|
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
|
# There's no docbook-xsl-native, so for the xsltproc check to false
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
sed -i /xsltproc/d configure.ac
|
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() {
|
do_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user