blob: 54ea26a1599dc90f8584cef159b58125563708c2 [file] [log] [blame]
Brad Bishopf5139092016-06-23 13:28:00 -04001PACKAGECONFIG_append = " networkd"
2PACKAGECONFIG_remove = "machined hibernate ldconfig binfmt backlight quotacheck localed kdbus ima smack polkit"
Brad Bishop11821852015-10-30 03:02:05 -04003FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
4SRC_URI += "file://default.network"
Brad Bishop44a22c22016-08-15 20:16:55 -04005SRC_URI += "file://0001-Export-message_append_cmdline.patch"
Brad Bishop11821852015-10-30 03:02:05 -04006
Brad Bishope3060732016-08-08 20:21:44 -04007RRECOMMENDS_${PN} += "obmc-targets"
Brad Bishop11821852015-10-30 03:02:05 -04008FILES_${PN} += "${libdir}/systemd/network/default.network"
9
Edward A. James52523132016-08-04 16:19:18 -050010EXTRA_OECONF += " --disable-hwdb"
11
Brad Bishop11821852015-10-30 03:02:05 -040012do_install_append() {
13 install -m 644 ${WORKDIR}/default.network ${D}${libdir}/systemd/network/
Adriana Kobylakbbf2cb82016-01-30 11:12:10 -060014
15 #TODO Remove after this issue is resolved
16 #https://github.com/openbmc/openbmc/issues/152
17 ln -s /dev/null ${D}/etc/systemd/system/systemd-hwdb-update.service
Brad Bishop11821852015-10-30 03:02:05 -040018}