From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: Re: [PATCH] debian-configscript.sh: Remove creation of console device
Date: Tue, 2 Apr 2019 16:54:36 +0200 [thread overview]
Message-ID: <106a21af-0742-1f39-2876-756929b59a2e@ilbers.de> (raw)
In-Reply-To: <20190401145720.7836-1-mosipov@ilbers.de>
On 4/1/19 4:57 PM, Maxim Yu. Osipov wrote:
> Creation of console device was introduced by commit e7e5915
> with the comment "on some hosts, ISAR running in QEMU fails with error:
> /init: 326: /init: cannot open /root/dev/console: No such file"
>
> The mentioned problem is not reproduced anymore on supported hosts,
> moreover, it was reported that such creation of /dev/console
> caused races.
Applied to the 'next'.
> Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
> ---
> meta/conf/distro/debian-configscript.sh | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/meta/conf/distro/debian-configscript.sh b/meta/conf/distro/debian-configscript.sh
> index bcd5507..d66fa03 100755
> --- a/meta/conf/distro/debian-configscript.sh
> +++ b/meta/conf/distro/debian-configscript.sh
> @@ -8,11 +8,6 @@ set -e
> readonly MACHINE_SERIAL="$1"
> readonly BAUDRATE_TTY="$2"
>
> -# Create console device
> -if [ ! -e /dev/console ]; then
> - mknod /dev/console c 5 1
> -fi
> -
> # Enable tty conditionally, systemd does not have the file but its own magic
> if [ -f /etc/inittab ]; then
> echo "T0:23:respawn:/sbin/getty -L $MACHINE_SERIAL $BAUDRATE_TTY vt100" \
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
prev parent reply other threads:[~2019-04-02 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 14:57 Maxim Yu. Osipov
2019-04-02 14:54 ` Maxim Yu. Osipov [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=106a21af-0742-1f39-2876-756929b59a2e@ilbers.de \
--to=mosipov@ilbers.de \
--cc=isar-users@googlegroups.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox