| Message ID | 20260928083522.2222978-2-alex.kiernan@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-networking] wireshark: Break dumpcap into its own package | expand |
diff --git a/meta-networking/recipes-support/wireshark/wireshark_4.6.8.bb b/meta-networking/recipes-support/wireshark/wireshark_4.6.8.bb index dd839f081a3f..562249814a86 100644 --- a/meta-networking/recipes-support/wireshark/wireshark_4.6.8.bb +++ b/meta-networking/recipes-support/wireshark/wireshark_4.6.8.bb @@ -106,12 +106,14 @@ do_install:append:class-target() { rm -fr ${D}${usrlib}/${BPN}/cmake } -PACKAGE_BEFORE_PN += "tshark" +PACKAGE_BEFORE_PN += "dumpcap tshark" + +FILES:dumpcap = "${bindir}/dumpcap ${mandir}/man1/dumpcap.*" FILES:tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" +RDEPENDS:tshark = "wireshark" FILES:${PN} += "${datadir}*" - -RDEPENDS:tshark = "wireshark" +RDEPENDS:${PN} += "dumpcap" BBCLASSEXTEND = "native"
dumpcap is a lightweight capture tool which carries no dependencies on wireshark. Break it into its own package, with an RDEPENDS back to wireshark. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- .../recipes-support/wireshark/wireshark_4.6.8.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)