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" |
Adriana Kobylak | 20386eb | 2018-04-03 15:07:32 -0500 | [diff] [blame] | 4 | PACKAGECONFIG_append = " networkd coredump" |
Sergey Solomin | 89eaea2 | 2016-08-16 14:18:18 -0500 | [diff] [blame] | 5 | PACKAGECONFIG_remove = "machined hibernate ldconfig binfmt backlight localed \ |
Joel Stanley | 2185c18 | 2018-02-23 14:22:20 +1030 | [diff] [blame] | 6 | quotacheck kdbus ima smack polkit logind bootchart utmp \ |
| 7 | manpages" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 8 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
| 9 | SRC_URI += "file://default.network" |
Andrew Geissler | 51d4014 | 2017-09-07 14:32:45 -0500 | [diff] [blame] | 10 | SRC_URI += "file://service-restart-policy.conf" |
Brad Bishop | bac8baf | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | SRC_URI += "file://0001-sd-bus-Don-t-automatically-add-ObjectManager.patch" |
Brad Bishop | 5083ec3 | 2017-01-11 20:42:58 -0500 | [diff] [blame] | 12 | SRC_URI += "file://0003-basic-Factor-out-string-checking-from-name_to_prefix.patch" |
| 13 | SRC_URI += "file://0004-basic-Use-path-escaping-when-mangling-path-instances.patch" |
Ratan Gupta | bd3edb7 | 2017-07-20 12:08:11 +0530 | [diff] [blame] | 14 | #TODO upstream the below patch via below issue |
| 15 | #https://github.com/openbmc/openbmc/issues/2016 |
| 16 | SRC_URI += "file://0005-dont-return-error-if-unable-to-create-network-namespace.patch" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 17 | |
Brad Bishop | e94b915 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 18 | RRECOMMENDS_${PN} += "obmc-targets" |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 19 | FILES_${PN} += "${systemd_unitdir}/network/default.network" |
| 20 | FILES_${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf" |
Brad Bishop | d4716b5 | 2015-10-30 03:02:05 -0400 | [diff] [blame] | 21 | |
| 22 | do_install_append() { |
Brad Bishop | 9b02b49 | 2018-06-07 19:53:58 -0400 | [diff] [blame] | 23 | install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ |
| 24 | install -m 644 -D ${WORKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-restart-policy.conf |
Brad Bishop | 811eeec | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 25 | } |