blob: 213f32797a041a6559532abff4c5c4f3fb312f9c [file] [log] [blame]
Sergey Solominc7419c62016-08-16 14:18:18 -05001FILES_${PN}-catalog-extralocales = \
2 "${exec_prefix}/lib/systemd/catalog/*.*.catalog"
3PACKAGES =+ "${PN}-catalog-extralocales"
Brad Bishop81208d02018-11-27 13:57:47 -05004PACKAGECONFIG_remove = "backlight binfmt firstboot hibernate ima \
5 localed logind machined polkit quotacheck smack utmp \
6 vconsole"
Brad Bishop11821852015-10-30 03:02:05 -04007FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
8SRC_URI += "file://default.network"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009SRC_URI += "file://0001-sd-bus-Don-t-automatically-add-ObjectManager.patch"
Alexander Filippov2525cde2018-09-17 12:09:30 +030010SRC_URI += "file://0006-core-fix-the-check-if-CONFIG_CGROUP_BPF-is-on.patch"
Brad Bishop11821852015-10-30 03:02:05 -040011
Brad Bishope3060732016-08-08 20:21:44 -040012RRECOMMENDS_${PN} += "obmc-targets"
Brad Bishop0257c2c2018-06-07 19:53:58 -040013FILES_${PN} += "${systemd_unitdir}/network/default.network"
Brad Bishop11821852015-10-30 03:02:05 -040014
15do_install_append() {
Brad Bishop0257c2c2018-06-07 19:53:58 -040016 install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/
Brad Bishop8623bbe2018-03-09 00:04:00 -050017}
Brad Bishopc6219fa2018-11-29 08:39:53 -050018
19ALTERNATIVE_${PN} += "init"
20ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd"
21ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
22ALTERNATIVE_PRIORITY[init] ?= "300"