diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd-conf_247.3.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd-conf_247.3.bb | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf_247.3.bb b/meta/recipes-core/systemd/systemd-conf_247.3.bb deleted file mode 100644 index 944b56ff82..0000000000 --- a/meta/recipes-core/systemd/systemd-conf_247.3.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
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 | PACKAGECONFIG ??= "dhcp-ethernet" | ||
9 | PACKAGECONFIG[dhcp-ethernet] = "" | ||
10 | |||
11 | SRC_URI = "\ | ||
12 | file://journald.conf \ | ||
13 | file://logind.conf \ | ||
14 | file://system.conf \ | ||
15 | file://system.conf-qemuall \ | ||
16 | file://wired.network \ | ||
17 | " | ||
18 | |||
19 | do_install() { | ||
20 | install -D -m0644 ${WORKDIR}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf | ||
21 | install -D -m0644 ${WORKDIR}/logind.conf ${D}${systemd_unitdir}/logind.conf.d/00-${PN}.conf | ||
22 | install -D -m0644 ${WORKDIR}/system.conf ${D}${systemd_unitdir}/system.conf.d/00-${PN}.conf | ||
23 | |||
24 | if ${@bb.utils.contains('PACKAGECONFIG', 'dhcp-ethernet', 'true', 'false', d)}; then | ||
25 | install -D -m0644 ${WORKDIR}/wired.network ${D}${systemd_unitdir}/network/80-wired.network | ||
26 | fi | ||
27 | } | ||
28 | |||
29 | # Based on change from YP bug 8141, OE commit 5196d7bacaef1076c361adaa2867be31759c1b52 | ||
30 | do_install_append_qemuall() { | ||
31 | install -D -m0644 ${WORKDIR}/system.conf-qemuall ${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf | ||
32 | |||
33 | # Do not install wired.network for qemu bsps | ||
34 | rm -rf ${D}${systemd_unitdir}/network | ||
35 | } | ||
36 | |||
37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
38 | |||
39 | FILES_${PN} = "\ | ||
40 | ${systemd_unitdir}/journald.conf.d/ \ | ||
41 | ${systemd_unitdir}/logind.conf.d/ \ | ||
42 | ${systemd_unitdir}/system.conf.d/ \ | ||
43 | ${systemd_unitdir}/network/ \ | ||
44 | " | ||