systemd: Make it work for dora and master

systemd-compat-units does not install any files anymore and
the machineid and other scripts are gone. We want to continue
to install the alignment file though.

This has not been tested on dora systemd yet.
This commit is contained in:
Holger Hans Peter Freyther 2014-11-01 14:48:37 +01:00
parent c4d5061917
commit 4dbc86194e
6 changed files with 15 additions and 6 deletions

View File

@ -0,0 +1,6 @@
# In dora a SRC_URI = "file://*.service" is done and that doesn't work
# when playing with the FILESPATH
SRC_URI = "\
file://machineid.service \
file://run-postinsts.service \
"

View File

@ -5,11 +5,8 @@ SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking"
S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:"
SRC_URI = "\
file://machineid.service \
file://run-postinsts.service \
file://alignment.service"
SRC_URI += "file://alignment.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system/basic.target.wants
@ -19,3 +16,5 @@ do_install_append() {
ln -sf ../alignment.service ${D}${systemd_unitdir}/system/basic.target.wants/
ln -sf ../alignment.service ${D}${systemd_unitdir}/system/sysinit.target.wants/
}
FILES_${PN} = "${systemd_unitdir}/system ${bindir}"

View File

@ -0,0 +1,3 @@
SRC_URI += " \
file://0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch \
"

View File

@ -1,11 +1,10 @@
S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:"
PRINC="23"
PRINC="24"
SRC_URI += "file://journald.conf \
file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \
file://0001-RFC-fsck-Allow-to-specify-the-fsck-repair-option-in-.patch \
"
SRC_URI_append_sysmobts-v1 = " file://system.conf"

View File

@ -1,2 +1,3 @@
require recipes-fixes/systemd/${PN}_dora.inc
require recipes-fixes/systemd/${PN}_sysmocom.inc

View File

@ -1 +1,2 @@
require recipes-fixes/${PN}/${PN}_${PV}.inc
require recipes-fixes/${PN}/${PN}_sysmocom.inc