[Buildroot] [PATCH 06/20] system: move setting getty to the corresponding init systems
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jul 22 20:34:06 UTC 2017
Hello,
On Tue, 18 Jul 2017 19:25:32 +0200, Yann E. MORIN wrote:
> Currently, setting the getty is done:
> - by the skeleton package when the init system is either busybox or
> sysvinit;
> - by the systemd package when the init system is systemd;
> both by registering a target-finalize hook.
>
> This is not very consistent.
>
> Move setting the getty out of the skeleton and into the package that
> provides the init system, by registering a per-package target-fialize
> hook.
>
> This offloads yet a bit more out of the skeleton, so that it is easier
> to properly separate the skeletons for the various init systems.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> ---
> package/busybox/busybox.mk | 12 +++++++++++-
> package/skeleton/skeleton.mk | 22 ----------------------
> package/sysvinit/sysvinit.mk | 8 ++++++++
> system/system.mk | 11 +++++++++++
> 4 files changed, 30 insertions(+), 23 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list