[Buildroot] [PATCH 0/7] [RFC] systemV init without busybox series

Gustavo Zacarias gustavo at zacarias.com.ar
Fri Nov 7 10:07:46 UTC 2014


On 11/07/2014 06:12 AM, Károly Kasza wrote:

> Hello guys,

Hello.

> first, I'm happy that somebody else has the more/less same aim as me: to
> make Buildroot able to create a more full Linux experience.
> I think there are still some fundamental Linux tools' full versions are
> missing, like shadow-utils to make Busybox circumventable,
> but that's another story.

My objective for this is differnet, somewhat less ambitious, which is to
get the option of SysV-init without busybox in a workable/clean state,
otherwise why are we given an option that's broken?

> Regarding start-stop-daemon: I think that while downloading, configuring
> and compiling dpkg is a more straight solution to get st-st-d, it's a
> bit unnecessary to just get one .c file to produce one simple binary.
> For this patch, I mostly used package/cache-calibrator as a template,
> which basically does the exact same method.

In general i try to make things clean and without patches if possible
since it helps future version bumps where patches might not apply
cleanly. Also the policy in general is to make patches upstreamable
which isn't the case.
But ultimately it's not my decision and i'm doing a "dirty trick" (so to
speak) in that i'm using a very full package as a small one. You're
doing the same, just in another way.
So my dilemma and reason not to send the dpkg/start-stop-daemon package
is that, well, should be ship it with the small and lean trick or do so
as dpkg with unrealistic expectations this will bring from some users?

> Also, I think patching may still be needed for st-st-d for uClibc
> compatibility, as uClibc tend not to have the O_NOFOLLOW preprocessor
> macro declared in fcntl.h if __USE_GNU is not defined - and I think dpkg
> configure does not define that?

That's because you're stripping everything out, that's taken care of in
autotools and lib/compat, see, there's a reason for it :)
Regards.




More information about the buildroot mailing list