package/arp-scan: don't install package data
PATCH 1/1 package/arp-scan: don't install package data
The patch only installs the executables (less than 100kb) saving 1.4Mb of rootfs data.
The list of what is no longer being installed:
- arp-fingerprint.1 -> /usr/share/man/man1
- arp-scan.1 -> /usr/share/man/man1 - get-oui.1 -> /usr/share/man/man1 - ieee-oui.txt -> /usr/share/arp-scan - mac-vendor.txt -> /etc/arp-scan - mac-vendor.5 -> /usr/share/man/man5
--- package/arp-scan/arp-scan.mk | 2 ++ 1 file changed, 2 insertions(+)
package/arp-scan/arp-scan.mk +2 -0
@@ -23,4 +23,6 @@ else ARP_SCAN_CONF_OPTS += --without-libcap endif +ARP_SCAN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec + $(eval $(autotools-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Dario, All,
On 2023-08-04 18:02 +0200, Dario Binacchi spake thusly:
Quoted 10 lines
The patch only installs the executables (less than 100kb) saving 1.4Mb of rootfs data.
The list of what is no longer being installed:
- arp-fingerprint.1 ->/usr/share/man/man1- arp-scan.1 -> /usr/share/man/man1 - get-oui.1 -> /usr/share/man/man1 - ieee-oui.txt -> /usr/share/arp-scan - mac-vendor.txt -> /etc/arp-scan - mac-vendor.5 -> /usr/share/man/man5
The man stuff will get removed automatically by Buildroot in the target-finalize step, so that's not a concern that they get installed.
Plus see below...
Quoted 12 lines
Cc Angelo Compagnucci <[email protected]>Signed-off-by Dario Binacchi <[email protected]>--- package/arp-scan/arp-scan.mk | 2 ++ 1 file changed, 2 insertions(+)package/arp-scan/arp-scan.mk +0
-0
package/arp-scan/arp-scan.mk else · line 26
Quoted 4 lines
package/arp-scan/arp-scan.mk +1
-0@@ -23,4 +23,6 @@ else ARP_SCAN_CONF_OPTS += --without-libcap endif +ARP_SCAN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
I think we want an option that makes the installation of that data optional. Since that was installed so far, the option should default to 'y' for legacy purposes:
config BR2_PACKAGE_ARP_SCAN_DATA
bool "install data (OUI)"
default y # legacy
Regards,
Yann E. MORIN.
Quoted 8 lines
package/arp-scan/arp-scan.mk +0
-0$(eval $(autotools-package))Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot