All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Tricca <flihp@twobit.us>
To: Chris Patterson <cjp256@gmail.com>
Cc: "meta-virtualization@yoctoproject.org"
	<meta-virtualization@yoctoproject.org>
Subject: Re: [PATCH] Add getty to inittab for login on Xen serial console.
Date: Fri, 08 Nov 2013 08:23:42 -0500	[thread overview]
Message-ID: <527CE5DE.7030407@twobit.us> (raw)
In-Reply-To: <CABZSBQcXJ4mJTCAwwVoT9-oRoAOKsZYwxiPNxn1eOawpB-K5xA@mail.gmail.com>

On 11/07/2013 11:07 PM, Chris Patterson wrote:
> Thanks, handy!

Similarly handy if you're building Xen guest VMs is throwing

USE_VT = "0"
SERIAL_CONSOLES = ""

into one of your conf files (I'm using a distro conf) to keep your
machine config from putting a physical serial device that your VM won't
have in the inittab. Messages about init sleeping for 30 seconds on
account of gettys restarting too quickly get old fast.

- Philip

> On Thu, Nov 7, 2013 at 3:32 PM, Bruce Ashfield <bruce.ashfield@gmail.com
> <mailto:bruce.ashfield@gmail.com>> wrote:
> 
>     On Tue, Nov 5, 2013 at 9:54 PM, Philip Tricca <flihp@twobit.us
>     <mailto:flihp@twobit.us>> wrote:
>     > It's not pretty but the mechanisms in sysvinit-inittab assume the
>     > console device name is tty*. The Xen console device doesn't meet
>     > this criteria.
> 
>     merged (with a minor tweak to the shortlog).
> 
>     Bruce
> 
>     >
>     > Signed-off-by: Philip Tricca <flihp@twobit.us
>     <mailto:flihp@twobit.us>>
>     > ---
>     >  recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend |    7
>     +++++++
>     >  1 file changed, 7 insertions(+)
>     >  create mode 100644
>     recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
>     >
>     > diff --git
>     a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
>     b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
>     > new file mode 100644
>     > index 0000000..2edbedf
>     > --- /dev/null
>     > +++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
>     > @@ -0,0 +1,7 @@
>     > +do_install_append() {
>     > +       echo "${DISTRO_FEATURES}" | grep -q 'xen'
>     > +       if [ $? -eq 0 ]; then
>     > +               echo "" >> ${D}${sysconfdir}/inittab
>     > +               echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >>
>     ${D}${sysconfdir}/inittab
>     > +       fi
>     > +}
>     > --
>     > 1.7.10.4
>     >
>     > _______________________________________________
>     > meta-virtualization mailing list
>     > meta-virtualization@yoctoproject.org
>     <mailto:meta-virtualization@yoctoproject.org>
>     > https://lists.yoctoproject.org/listinfo/meta-virtualization
> 
> 
> 
>     --
>     "Thou shalt not follow the NULL pointer, for chaos and madness await
>     thee at its end"
>     _______________________________________________
>     meta-virtualization mailing list
>     meta-virtualization@yoctoproject.org
>     <mailto:meta-virtualization@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/meta-virtualization
> 
> 



      reply	other threads:[~2013-11-08 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  2:54 [PATCH] Add getty to inittab for login on Xen serial console Philip Tricca
2013-11-07 20:32 ` Bruce Ashfield
2013-11-08  4:07   ` Chris Patterson
2013-11-08 13:23     ` Philip Tricca [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527CE5DE.7030407@twobit.us \
    --to=flihp@twobit.us \
    --cc=cjp256@gmail.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.