Sergey Solomin | c7419c6 | 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 | 81208d0 | 2018-11-27 13:57:47 -0500 | [diff] [blame] | 4 | PACKAGECONFIG_remove = "backlight binfmt firstboot hibernate ima \ |
| 5 | localed logind machined polkit quotacheck smack utmp \ |
| 6 | vconsole" |
Brad Bishop | 1182185 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 7 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
| 8 | SRC_URI += "file://default.network" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | SRC_URI += "file://0001-sd-bus-Don-t-automatically-add-ObjectManager.patch" |
Alexander Filippov | 2525cde | 2018-09-17 12:09:30 +0300 | [diff] [blame] | 10 | SRC_URI += "file://0006-core-fix-the-check-if-CONFIG_CGROUP_BPF-is-on.patch" |
Brad Bishop | 1182185 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 11 | |
William A. Kennington III | 6b8d479a | 2019-01-15 13:31:49 -0800 | [diff] [blame^] | 12 | # Static neighbor support included in v240 so remove when updated |
| 13 | SRC_URI += "file://0001-networkd-Track-address-configuration.patch" |
| 14 | SRC_URI += "file://0002-networkd-Use-only-a-generic-CONFIGURING-state.patch" |
| 15 | SRC_URI += "file://0003-networkd-Static-neighbor-support.patch" |
| 16 | |
Brad Bishop | e306073 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 17 | RRECOMMENDS_${PN} += "obmc-targets" |
Brad Bishop | 0257c2c | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 18 | FILES_${PN} += "${systemd_unitdir}/network/default.network" |
Brad Bishop | 1182185 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 19 | |
| 20 | do_install_append() { |
Brad Bishop | 0257c2c | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 21 | install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ |
Brad Bishop | 8623bbe | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 22 | } |
Brad Bishop | c6219fa | 2018-11-29 08:39:53 -0500 | [diff] [blame] | 23 | |
| 24 | ALTERNATIVE_${PN} += "init" |
| 25 | ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" |
| 26 | ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" |
| 27 | ALTERNATIVE_PRIORITY[init] ?= "300" |