Skip to content

Commit f36a158

Browse files
quaresmajosekraj
authored andcommitted
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>
1 parent e2a2320 commit f36a158

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20210914.bb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ do_install () {
1616
install
1717
}
1818

19+
PACKAGES += "${PN}-wg-quick"
20+
1921
FILES:${PN} = " \
22+
${bindir}/wg \
2023
${sysconfdir} \
24+
"
25+
FILES:${PN}-wg-quick = " \
26+
${bindir}/wg-quick \
2127
${systemd_system_unitdir} \
22-
${bindir} \
2328
"
2429

25-
RDEPENDS:${PN} = "bash"
26-
RRECOMMENDS:${PN} = "kernel-module-wireguard"
30+
RDEPENDS:${PN}-wg-quick = "${PN} bash"
31+
RRECOMMENDS:${PN} = " \
32+
kernel-module-wireguard \
33+
${PN}-wg-quick \
34+
"

0 commit comments

Comments
 (0)