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 \ |
| 5 | timesyncd xz" |
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 | |
Joel Stanley | 8c4686c | 2019-07-10 11:55:13 +0930 | [diff] [blame^] | 11 | # Backport from master to fix https://github.com/systemd/systemd/issues/12784 |
| 12 | SRC_URI += "file://0001-networkd-fix-link_up-12505.patch" |
| 13 | SRC_URI += "file://0002-network-do-not-send-ipv6-token-to-kernel.patch" |
| 14 | |
Brad Bishop | e94b915 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 15 | RRECOMMENDS_${PN} += "obmc-targets" |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 16 | FILES_${PN} += "${systemd_unitdir}/network/default.network" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 17 | |
| 18 | do_install_append() { |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 19 | install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ |
Brad Bishop | 811eeec | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 20 | } |
Brad Bishop | 2fb0a1b | 2018-11-29 08:39:53 -0500 | [diff] [blame] | 21 | |
| 22 | ALTERNATIVE_${PN} += "init" |
| 23 | ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" |
| 24 | ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" |
| 25 | ALTERNATIVE_PRIORITY[init] ?= "300" |