Sergey Solomin | 89eaea2 | 2016-08-16 14:18:18 -0500 | [diff] [blame] | 1 | FILES_${PN}-catalog-extralocales = \ |
| 2 | "${exec_prefix}/lib/systemd/catalog/*.*.catalog" |
| 3 | PACKAGES =+ "${PN}-catalog-extralocales" |
Brad Bishop | 1ea62b5 | 2019-04-16 13:34:33 -0400 | [diff] [blame] | 4 | PACKAGECONFIG = "pam hostnamed networkd randomseed resolved sysusers timedated \ |
Andrew Geissler | 52cd6b9 | 2020-01-30 13:07:37 -0600 | [diff] [blame] | 5 | timesyncd xz kmod coredump" |
Brad Bishop | 52934e9 | 2019-03-22 22:58:24 -0400 | [diff] [blame] | 6 | |
Brad Bishop | 3b1f826 | 2019-05-09 18:03:57 -0400 | [diff] [blame] | 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 8 | SRC_URI += "file://default.network" |
Brad Bishop | bac8baf | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | SRC_URI += "file://0001-sd-bus-Don-t-automatically-add-ObjectManager.patch" |
Lei YU | 076771a | 2019-01-22 17:24:58 +0800 | [diff] [blame] | 10 | |
Brad Bishop | e94b915 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 11 | RRECOMMENDS_${PN} += "obmc-targets" |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 12 | FILES_${PN} += "${systemd_unitdir}/network/default.network" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 13 | |
| 14 | do_install_append() { |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 15 | install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ |
Brad Bishop | 811eeec | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 16 | } |
Brad Bishop | 2fb0a1b | 2018-11-29 08:39:53 -0500 | [diff] [blame] | 17 | |
| 18 | ALTERNATIVE_${PN} += "init" |
| 19 | ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" |
| 20 | ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" |
| 21 | ALTERNATIVE_PRIORITY[init] ?= "300" |