blob: 2cc9b95c88663a64d9fd8a4d015a15489e324645 [file] [log] [blame]
William A. Kennington III0decde12022-02-08 16:24:42 -08001SUMMARY = "Google DHCP completion daemon"
2DESCRIPTION = "Google DHCP completion daemon"
3GOOGLE_MISC_PROJ = "dhcp-done"
4
5require ../google-misc/google-misc.inc
6
Yuxiao Zhang32b56812024-06-14 15:17:45 -07007EXTRA_OEMESON = " \
8 -Dtests=disabled \
9 "
William A. Kennington III0decde12022-02-08 16:24:42 -080010inherit systemd
11
Yuxiao Zhang32b56812024-06-14 15:17:45 -070012SYSTEMD_SERVICE:${PN} += "dhcp-done.service"
William A. Kennington III0decde12022-02-08 16:24:42 -080013
14DEPENDS += " \
15 sdeventplus \
16 stdplus \
17 "
18
19SRC_URI += "file://50-dhcp-done.rules"
20FILES:${PN} += "${sysconfdir}/nftables"
21do_install:append() {
22 nftables_dir=${D}${sysconfdir}/nftables
23 install -d -m0755 "$nftables_dir"
24 install -m0644 ${WORKDIR}/50-dhcp-done.rules $nftables_dir/
25}