From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Seiderer Date: Wed, 21 Sep 2016 22:05:45 +0200 Subject: [Buildroot] [PATCH] systemd: let getty instead of serial-getty handle /dev/console In-Reply-To: <87intpzqge.fsf@dell.be.48ers.dk> References: <1473437418-27792-1-git-send-email-bos@je-eigen-domein.nl> <20160911210951.GP5740@free.fr> <87intpzqge.fsf@dell.be.48ers.dk> Message-ID: <20160921220545.238279e6@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello *, On Wed, 21 Sep 2016 09:01:37 +0200, Peter Korsgaard wrote: > >>>>> "Yann" == Yann E MORIN writes: > > > Floris, All, > > On 2016-09-09 18:10 +0200, Floris Bos spake thusly: > >> The serial-getty unit depends on dev-%i.device which does not > >> seem to be created for /dev/console > >> Workaround this by letting normal getty unit handle things > >> if BR2_TARGET_GENERIC_GETTY_PORT is set to 'console' > >> > >> Signed-off-by: Floris Bos > > > I haven't tested that, but I think this is OK just on principle. > > > I just wonder if that behaves correctly when console is a serial line or > > anything else (e.g. a VT on HDMI, or through a debug channel...) > > Yeah, me too. Does anybody know what the difference exactly is between > getty/serial-getty, and when one should be used over the other? > Tested for the rpi3/glibc/systemd case and failed: I get a doubled (and unusable) ' Welcome to Buildroot/buildroot login:' on serial and no login on hdmi... Regards, Peter