[Buildroot] [PATCH 1/5] wireshark: remove documentation
Peter Korsgaard
peter at korsgaard.com
Tue Jun 14 20:22:45 UTC 2016
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> Gilles, All,
> On 2016-06-14 17:11 +0200, Gilles Chanteperdrix spake thusly:
>> Remove html and txt documentation from the rootfs as they unlikely to be
>> needed.
>>
>> Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org>
>> ---
>> package/wireshark/wireshark.mk | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
>> index c7bf6c2..23996a3 100644
>> --- a/package/wireshark/wireshark.mk
>> +++ b/package/wireshark/wireshark.mk
>> @@ -99,4 +99,10 @@ else
>> WIRESHARK_CONF_OPTS += --with-sbc=no
>> endif
>>
>> +define WIRESHARK_REMOVE_DOCS
>> + find $(TARGET_DIR)/usr/share/wireshark -\( -name '*.txt' -o -name '*.html' -\) -delete
> My busybox' find does not like:
> - '-(' ')-' : it is not POSIX, is not even talked about in the find
> manpage. It's a GNUism.
> - -delete : it is disabled in our default busybox configuration
I agree to stick to posix where possible / sensible, but Are you really
*building* on a busybox based system?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list