wireguard-tools: Add a new package for wg-quick

- This will move the dependencie of bash to wg-quick

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jose Quaresma 2022-08-22 16:34:34 +00:00 committed by Khem Raj
parent e2a2320a79
commit f36a158aa0

View File

@ -16,11 +16,19 @@ do_install () {
install install
} }
PACKAGES += "${PN}-wg-quick"
FILES:${PN} = " \ FILES:${PN} = " \
${bindir}/wg \
${sysconfdir} \ ${sysconfdir} \
"
FILES:${PN}-wg-quick = " \
${bindir}/wg-quick \
${systemd_system_unitdir} \ ${systemd_system_unitdir} \
${bindir} \
" "
RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-wg-quick = "${PN} bash"
RRECOMMENDS:${PN} = "kernel-module-wireguard" RRECOMMENDS:${PN} = " \
kernel-module-wireguard \
${PN}-wg-quick \
"