[PATCH]: scripts/gen_build_files.sh: find -not operator

Matias A. Fonzo selk at dragora.org
Tue Nov 20 20:51:04 UTC 2012


Hello there,

The script gen_build_files.sh uses `find' with the operator '-not' at
the line 64. The '-not' operator is available on busybox only
if the "full-blown desktop" option is enabled. Otherwise, find
of busybox provides the negation symbol '!'. (if
CONFIG_FEATURE_FIND_NOT is selected -- of course)

If you are working in a busybox environment or making a LFS system
trying to compile busybox one more time.. then `find' fails at build
time.

I attach a trivial patch to use '!' instead of '-not'.

(Maybe in the future gen_build_files.sh should be replaced with a better
approach, without calling to external commands.).

Thanks,
Matias.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-find-operator.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20121120/4309bea3/attachment.bin>


More information about the busybox mailing list