From owner-freebsd-sysinstall@FreeBSD.ORG Fri Oct 7 14:40:04 2011 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13CA11065675; Fri, 7 Oct 2011 14:40:04 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi [195.197.172.111]) by mx1.freebsd.org (Postfix) with ESMTP id B3E898FC08; Fri, 7 Oct 2011 14:40:03 +0000 (UTC) Received: from a91-153-123-205.elisa-laajakaista.fi (a91-153-123-205.elisa-laajakaista.fi [91.153.123.205]) by gw03.mail.saunalahti.fi (Postfix) with SMTP id B9A75216A79; Fri, 7 Oct 2011 17:24:35 +0300 (EEST) Date: Fri, 7 Oct 2011 17:24:35 +0300 From: Jaakko Heinonen To: Nathan Whitehorn Message-ID: <20111007142435.GA2241@a91-153-123-205.elisa-laajakaista.fi> References: <201110070730.p977UGQM025266@freefall.freebsd.org> <4E8F02C6.8080501@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E8F02C6.8080501@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-sysinstall@FreeBSD.org Subject: Re: bin/161047: bsdinstall should not run on vt0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 14:40:04 -0000 On 2011-10-07, Nathan Whitehorn wrote: > > I have an experimental patch to start bsdinstall on ttyv8 when the > > installer is run on syscons: > > > > http://people.freebsd.org/~jh/patches/bsdinstall-getty.3.diff > > > > I don't think this works in the context of serial console installations, > and I'd prefer to keep this kind of logic isolated to things like > /usr/src/release/rc.local instead of polluting the installer itself with > knowledge of how it is run. Can you think of a way to do it that doesn't > break serial installations? There's some logic in rc.local already to > detect the console type. My intention was to not break serial console installations but I haven't tested it. With the patch rc.local exits only if syscons is detected. In the serial console case the installer should work as it did previously (but again I haven't tested it). -- Jaakko