summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2005-07-10 18:16:48 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2005-07-10 18:16:48 +0000
commit71612f5316baaf075d21c2cc06677934606cbcc6 (patch)
tree5e9ea5e7f774d8282633404d2648d73a086ddfd5 /sys-apps/sysvinit
parentremove older (diff)
downloadgentoo-2-71612f5316baaf075d21c2cc06677934606cbcc6.tar.gz
gentoo-2-71612f5316baaf075d21c2cc06677934606cbcc6.tar.bz2
gentoo-2-71612f5316baaf075d21c2cc06677934606cbcc6.zip
Add ibm use flag check for extra ttys on IBM hardware.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/ChangeLog5
-rw-r--r--sys-apps/sysvinit/sysvinit-2.86.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/sys-apps/sysvinit/ChangeLog b/sys-apps/sysvinit/ChangeLog
index 93b6bc277cbe..e850a8cd00ee 100644
--- a/sys-apps/sysvinit/ChangeLog
+++ b/sys-apps/sysvinit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/sysvinit
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/ChangeLog,v 1.19 2005/06/09 02:46:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/ChangeLog,v 1.20 2005/07/10 18:16:48 dostrow Exp $
+
+ 10 Jul 2005; Daniel Ostrow <dostrow@gentoo.org> sysvinit-2.86.ebuild:
+ Add ibm use flag check for extra ttys on IBM hardware.
09 Jun 2005; Mike Frysinger <vapier@gentoo.org> sysvinit-2.86.ebuild:
Stabilize for all arches.
diff --git a/sys-apps/sysvinit/sysvinit-2.86.ebuild b/sys-apps/sysvinit/sysvinit-2.86.ebuild
index 0c7ecff75a5f..62cda4982c98 100644
--- a/sys-apps/sysvinit/sysvinit-2.86.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.86.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.86.ebuild,v 1.11 2005/07/10 18:03:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.86.ebuild,v 1.12 2005/07/10 18:16:48 dostrow Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.cistron.nl/pub/people/miquels/software/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux bootstrap build static"
+IUSE="selinux bootstrap build ibm static"
RDEPEND="selinux? ( >=sys-libs/libselinux-1.18 sys-libs/libsepol )"
DEPEND="${RDEPEND}
@@ -29,6 +29,14 @@ src_unpack() {
epatch "${FILESDIR}"/${PV}-gentoo.patch
use selinux && epatch "${FILESDIR}"/${PV}-selinux.patch
cp "${FILESDIR}"/inittab "${WORKDIR}"/ || die "cp inittab"
+
+ if use ibm ; then
+ cat <<-EOF >> "${WORKDIR}"/inittab
+ #HVC / HVSI CONSOLE
+ #hvc0:12345:respawn:/sbin/agetty -L 9600 hvc0
+ #hvsi:12345:respawn:/sbin/agetty -L 19200 hvsi0
+ EOF
+ fi
}
src_compile() {