From: "Mike (mwester)" <mwester@dls.net>
To: openembedded-devel@openembedded.org
Subject: Re: [RFC][PATCH] Make initscripts banner stop trying to be smart
Date: Sat, 25 Apr 2009 16:01:22 -0500 [thread overview]
Message-ID: <49F37A22.4050003@dls.net> (raw)
In-Reply-To: <20090423153754.GW17629@smtp.west.cox.net>
Tom Rini wrote:
> I ran into this on my boards that start out with the really minimal
> (console and null only) set of dev nodes prior to udev running. The
> banner script looks around for what might be the vtmaster (aka what's
> got console) to say that we're booting. But that's where things go by
> default anyhow. This would also let slugos use the normal version, if
> they want.
>
> Signed-off-by: Tom Rini <trini@embeddedalley.com>
Acked-by: Mike Westerhof <mwester@dls.net>
Yes, SlugOS will happily return to using the normal version. :)
> diff --git a/recipes/initscripts/initscripts-1.0/banner b/recipes/initscripts/initscripts-1.0/banner
> index 0349ce1..4e69c29 100644
> --- a/recipes/initscripts/initscripts-1.0/banner
> +++ b/recipes/initscripts/initscripts-1.0/banner
> @@ -1,17 +1,3 @@
> #!/bin/sh
>
> -if [ ! -e /dev/tty ]; then
> - /bin/mknod -m 0666 /dev/tty c 5 0
> -fi
> -
> -if ( > /dev/tty0 ) 2>/dev/null; then
> - vtmaster=/dev/tty0
> -elif ( > /dev/vc/0 ) 2>/dev/null; then
> - vtmaster=/dev/vc/0
> -elif ( > /dev/console ) 2>/dev/null; then
> - vtmaster=/dev/console
> -else
> - vtmaster=/dev/null
> -fi
> -echo > $vtmaster
> -echo "Please wait: booting..." > $vtmaster
> +echo "Please wait: booting..."
> diff --git a/recipes/initscripts/initscripts_1.0.bb b/recipes/initscripts/initscripts_1.0.bb
> index cbcfec5..6642144 100644
> --- a/recipes/initscripts/initscripts_1.0.bb
> +++ b/recipes/initscripts/initscripts_1.0.bb
> @@ -4,7 +4,7 @@ PRIORITY = "required"
> DEPENDS = "makedevs"
> RDEPENDS = "makedevs"
> LICENSE = "GPL"
> -PR = "r114"
> +PR = "r115"
>
> SRC_URI = "file://functions \
> file://halt \
>
prev parent reply other threads:[~2009-04-25 21:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 15:37 [RFC][PATCH] Make initscripts banner stop trying to be smart Tom Rini
2009-04-23 17:28 ` Koen Kooi
2009-04-25 21:01 ` Mike (mwester) [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=49F37A22.4050003@dls.net \
--to=mwester@dls.net \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.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.