[PATCH 1/3] Support both custom scripts and scripted applets

Ron Yorston rmy at pobox.com
Sat Nov 17 13:35:38 UTC 2018


OK, I've made a patch that uses the embed directory for custom scripts
and scripted applets.

We now have to track three kinds of script in embed:

- custom scripts
- enabled applet scripts
- disabled applet scripts

Since applets.h didn't include details of disabled applets I had to
modify gen_build_files.sh to add the information required.

The other two patches in the series can still be applied on top of
this one.

As I've already stated, I don't think it's a good idea to keep all the
scripts in the same directory.  Firstly because it loses the distinction
between the two types of script and secondly because it adds build-time
complexity without reducing run-time complexity.

I still recommend '[PATCH 1/3 v2] Support both custom scripts and scripted
applets' in preference to this new one.

Ron


More information about the busybox mailing list