William A. Kennington III | 0decde1 | 2022-02-08 16:24:42 -0800 | [diff] [blame] | 1 | SUMMARY = "Google DHCP completion daemon" |
| 2 | DESCRIPTION = "Google DHCP completion daemon" |
| 3 | GOOGLE_MISC_PROJ = "dhcp-done" |
| 4 | |
| 5 | require ../google-misc/google-misc.inc |
| 6 | |
Yuxiao Zhang | 32b5681 | 2024-06-14 15:17:45 -0700 | [diff] [blame] | 7 | EXTRA_OEMESON = " \ |
| 8 | -Dtests=disabled \ |
| 9 | " |
William A. Kennington III | 0decde1 | 2022-02-08 16:24:42 -0800 | [diff] [blame] | 10 | inherit systemd |
| 11 | |
Yuxiao Zhang | 32b5681 | 2024-06-14 15:17:45 -0700 | [diff] [blame] | 12 | SYSTEMD_SERVICE:${PN} += "dhcp-done.service" |
William A. Kennington III | 0decde1 | 2022-02-08 16:24:42 -0800 | [diff] [blame] | 13 | |
| 14 | DEPENDS += " \ |
| 15 | sdeventplus \ |
| 16 | stdplus \ |
| 17 | " |
| 18 | |
| 19 | SRC_URI += "file://50-dhcp-done.rules" |
| 20 | FILES:${PN} += "${sysconfdir}/nftables" |
| 21 | do_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 | } |