From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH] debian-configscript.sh: Remove creation of console device
Date: Mon, 1 Apr 2019 16:57:20 +0200 [thread overview]
Message-ID: <20190401145720.7836-1-mosipov@ilbers.de> (raw)
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.
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" \
--
2.11.0
next reply other threads:[~2019-04-01 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 14:57 Maxim Yu. Osipov [this message]
2019-04-02 14:54 ` Maxim Yu. Osipov
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=20190401145720.7836-1-mosipov@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