diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-12-09 16:44:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:41 +0000 |
commit | ad4bafd16558340200b7ba56573c5705ca0a751f (patch) | |
tree | 060cf640389a3213fcac25e8ccae457345359145 /meta/recipes-core/systemd/systemd-conf_243.2.bb | |
parent | ba6d88d8fa7b7a82ad8e265ff6f590fe2d640d34 (diff) | |
download | poky-ad4bafd16558340200b7ba56573c5705ca0a751f.tar.gz |
systemd: Rename the files instead of using PV
(From OE-Core rev: fb5491995ca2118bc52f8d73953f5531b91dd861)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-conf_243.2.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd-conf_243.2.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf_243.2.bb b/meta/recipes-core/systemd/systemd-conf_243.2.bb new file mode 100644 index 0000000000..d9ec023bfd --- /dev/null +++ b/meta/recipes-core/systemd/systemd-conf_243.2.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Systemd system configuration" | ||
2 | DESCRIPTION = "Systemd may require slightly different configuration for \ | ||
3 | different machines. For example, qemu machines require a longer \ | ||
4 | DefaultTimeoutStartSec setting." | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
7 | |||
8 | SRC_URI = "\ | ||
9 | file://journald.conf \ | ||
10 | file://logind.conf \ | ||
11 | file://system.conf \ | ||
12 | file://system.conf-qemuall \ | ||
13 | file://wired.network \ | ||
14 | " | ||
15 | |||
16 | do_install() { | ||
17 | install -D -m0644 ${WORKDIR}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf | ||
18 | install -D -m0644 ${WORKDIR}/logind.conf ${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf | ||
19 | install -D -m0644 ${WORKDIR}/system.conf ${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf | ||
20 | install -D -m0644 ${WORKDIR}/wired.network ${D}${systemd_unitdir}/network/80-wired.network | ||
21 | } | ||
22 | |||
23 | # Based on change from YP bug 8141, OE commit 5196d7bacaef1076c361adaa2867be31759c1b52 | ||
24 | do_install_append_qemuall() { | ||
25 | install -D -m0644 ${WORKDIR}/system.conf-qemuall ${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf | ||
26 | |||
27 | # Do not install wired.network for qemu bsps | ||
28 | rm -rf ${D}${systemd_unitdir}/network | ||
29 | } | ||
30 | |||
31 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
32 | |||
33 | FILES_${PN} = "\ | ||
34 | ${systemd_unitdir}/journald.conf.d/ \ | ||
35 | ${systemd_unitdir}/logind.conf.d/ \ | ||
36 | ${systemd_unitdir}/system.conf.d/ \ | ||
37 | ${systemd_unitdir}/network/ \ | ||
38 | " | ||