[Buildroot] [PATCH 1/5] initscripts: new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Feb 3 10:32:58 UTC 2015
Dear Maxime Hadjinlian,
On Sat, 18 Oct 2014 16:47:00 +0200, Maxime Hadjinlian wrote:
> The folder init.d is currently installed by default since it's part of
> our skeleton.
> This patch creates a package out of it and make busybox/sysvinit depends
> on it.
>
> This way, if you chose another init, you don't end up with a useless
> init.d folder.
>
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
We reviewed this and believe this is a good idea. However, we would
like:
1/ To keep the sysvinit inittab in the sysvinit package.
2/ Move the Busybox inittab in the busybox package, and install it
when the Busybox init applet is enabled in the Busybox configuration
file.
3/ Have a Config.in file for BR2_PACKAGE_INITSCRIPTS, which is
selected by both BR2_INIT_BUSYBOX and BR2_INIT_SYSV. Then the busybox
and sysvinit would no longer have initscripts in their _DEPENDENCIES,
because initscripts is not a build-time dependency for those packages,
but only a runtime dependency.
Could you work on those 3 items, and resend an updated version of your
series?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list