blob: 5732033153b782b58ab1ade1b92c89429f48e6c8 [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
7inherit systemd
8
9SYSTEMD_SERVICE:${PN} += "dhcp-done.service"
10
11DEPENDS += " \
12 sdeventplus \
13 stdplus \
14 "
15
16SRC_URI += "file://50-dhcp-done.rules"
17FILES:${PN} += "${sysconfdir}/nftables"
18do_install:append() {
19 nftables_dir=${D}${sysconfdir}/nftables
20 install -d -m0755 "$nftables_dir"
21 install -m0644 ${WORKDIR}/50-dhcp-done.rules $nftables_dir/
22}