diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-12-06 19:57:47 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-12-06 19:57:47 +0000 |
commit | 3ba674e38cffb5e0c5b7b1104af7cb7ef9a3ba9a (patch) | |
tree | 6972d4ee15ab485e93675066f3510925fe9eb775 /app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch | |
parent | version bump (diff) | |
download | gentoo-2-3ba674e38cffb5e0c5b7b1104af7cb7ef9a3ba9a.tar.gz gentoo-2-3ba674e38cffb5e0c5b7b1104af7cb7ef9a3ba9a.tar.bz2 gentoo-2-3ba674e38cffb5e0c5b7b1104af7cb7ef9a3ba9a.zip |
Do not run getty on ttyB0 by default by gmsoft (bug #347917).
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch')
-rw-r--r-- | app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch b/app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch new file mode 100644 index 000000000000..1e9904d5b8a8 --- /dev/null +++ b/app-misc/livecd-tools/files/livecd-tools-1.0.42-ttyB0.patch @@ -0,0 +1,14 @@ +# Comment out the ttyB0 line in inittab, by gmsoft + +diff --git a/livecd-functions.sh b/livecd-functions.sh +index d51dd9e..cfc1a57 100755 +--- a/livecd-functions.sh ++++ b/livecd-functions.sh +@@ -551,6 +551,7 @@ livecd_fix_inittab() { + # Comment out current getty settings + sed -i -e '/^c[0-9]/ s/^/#/' /etc/inittab + sed -i -e '/^s[01]/ s/^/#/' /etc/inittab ++ sed -i -e '/^b0/ s/^/#/' /etc/inittab + + # SPARC & HPPA console magic + if [ "${HOSTTYPE}" = "sparc" -o "${HOSTTYPE}" = "hppa" -o "${HOSTTYPE}" = "ppc64" ] |