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 | |
Brad Bishop | e306073 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 12 | RRECOMMENDS_${PN} += "obmc-targets" |
Brad Bishop | 0257c2c | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 13 | FILES_${PN} += "${systemd_unitdir}/network/default.network" |
Brad Bishop | 1182185 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 14 | |
| 15 | do_install_append() { |
Brad Bishop | 0257c2c | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 16 | install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ |
Brad Bishop | 8623bbe | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 17 | } |
Brad Bishop | c6219fa | 2018-11-29 08:39:53 -0500 | [diff] [blame] | 18 | |
| 19 | ALTERNATIVE_${PN} += "init" |
| 20 | ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" |
| 21 | ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" |
| 22 | ALTERNATIVE_PRIORITY[init] ?= "300" |