blob: 7baf1466d02f4ca06ee00b6ca8906523bb867b69 [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"
Andrew Geissler6863fe52018-10-25 09:57:10 -05004PACKAGECONFIG_append = " networkd"
Sergey Solominc7419c62016-08-16 14:18:18 -05005PACKAGECONFIG_remove = "machined hibernate ldconfig binfmt backlight localed \
Joel Stanleye1c31452018-02-23 14:22:20 +10306 quotacheck kdbus ima smack polkit logind bootchart utmp \
7 manpages"
Brad Bishop11821852015-10-30 03:02:05 -04008FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
9SRC_URI += "file://default.network"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010SRC_URI += "file://0001-sd-bus-Don-t-automatically-add-ObjectManager.patch"
Brad Bishop8ef5fd22017-01-11 20:42:58 -050011SRC_URI += "file://0003-basic-Factor-out-string-checking-from-name_to_prefix.patch"
12SRC_URI += "file://0004-basic-Use-path-escaping-when-mangling-path-instances.patch"
Ratan Gupta87497e82017-07-20 12:08:11 +053013#TODO upstream the below patch via below issue
14#https://github.com/openbmc/openbmc/issues/2016
15SRC_URI += "file://0005-dont-return-error-if-unable-to-create-network-namespace.patch"
Alexander Filippov2525cde2018-09-17 12:09:30 +030016SRC_URI += "file://0006-core-fix-the-check-if-CONFIG_CGROUP_BPF-is-on.patch"
Brad Bishop11821852015-10-30 03:02:05 -040017
Brad Bishope3060732016-08-08 20:21:44 -040018RRECOMMENDS_${PN} += "obmc-targets"
Brad Bishop0257c2c2018-06-07 19:53:58 -040019FILES_${PN} += "${systemd_unitdir}/network/default.network"
Brad Bishop11821852015-10-30 03:02:05 -040020
21do_install_append() {
Brad Bishop0257c2c2018-06-07 19:53:58 -040022 install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/
Brad Bishop8623bbe2018-03-09 00:04:00 -050023}