[Buildroot] [PATCH] systemd: add an option to use busybox's getty
jeremy.rosen at smile.fr
Tue Jul 10 08:05:04 UTC 2018
On 10/07/2018 00:21, Arnout Vandecappelle wrote:
> On 09-07-18 10:02, Romain Naour wrote:
>> Hi Jeremy,
>> Le 08/07/2018 à 21:54, Jérémy Rosen a écrit :
>>> Currently, the patch to replace agetty with busybox's getty is always
>>> this patch adds a compile-time option to systemd to choose either agetty
>>> or busybox's getty and chooses the correct option depending on agetty being
>>> selected in busybox
>> As discussed privately, if you want an example on how apply a patch
>> conditionally you can take a look at the gcc package .
> I don't think we want to apply patches conditionally. In fact, Jérémy's change
> is much better, because it makes the patch upstreamable.
systemd upstream is not interested in supporting busybox AFAIU...
> That said, as discussed on IRC, a much easier approach would be to overwrite
> systemd's getty unit files with custom buildroot unit files in case
> UTIL_LINUX_AGETTY is not selected. Then the patch could be dropped entirely.
The patch approch has the advantage of "breaking" if upstream changes,
but I can do a followup in that direction, if that's what the project
>> This has been introduced by  but there is some other place where
>> $(APPLY_PATCHES) is used (conditionally or unconditionally).
>> $(APPLY_PATCHES) is defined in package/Makefile.in but this way to use it is not
>> documented in the manual .
>> Best regards,
>>  https://git.busybox.net/buildroot/tree/package/gcc/gcc.mk#n41
>>  http://nightly.buildroot.org/manual.html#patch-policy
>> buildroot mailing list
>> buildroot at busybox.net
20 rue des Jardins
Responsable de l'expertise Smile-ECS
email jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
Twitter <https://twitter.com/GroupeSmile> Facebook
Découvrez l’univers Smile, rendez-vous sur smile.eu
eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot