From owner-svn-src-all@FreeBSD.ORG Fri Apr 25 21:58:37 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30D576B4; Fri, 25 Apr 2014 21:58:37 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16DE81C3C; Fri, 25 Apr 2014 21:58:36 +0000 (UTC) Received: from zeppelin.tachypleus.net (airbears2-136-152-142-25.AirBears2.Berkeley.EDU [136.152.142.25]) (authenticated bits=0) by c.mail.sonic.net (8.14.4/8.14.4) with ESMTP id s3PLwYns002635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 25 Apr 2014 14:58:35 -0700 Message-ID: <535ADA8A.4030408@freebsd.org> Date: Fri, 25 Apr 2014 14:58:34 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Glen Barber Subject: Re: svn commit: r264935 - head/release/amd64 References: <201404252111.s3PLB00Q043705@svn.freebsd.org> <535AD685.90606@freebsd.org> <20140425214454.GA1231@glenbarber.us> <535AD7C6.9030802@freebsd.org> <20140425215248.GB1231@glenbarber.us> In-Reply-To: <20140425215248.GB1231@glenbarber.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-ID: C;vnt2v8TM4xGCMLilf7iULg== M;Psebv8TM4xGCMLilf7iULg== Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 21:58:37 -0000 On 04/25/14 14:52, Glen Barber wrote: > On Fri, Apr 25, 2014 at 02:46:46PM -0700, Nathan Whitehorn wrote: >> I appreciate the caution. Thanks for the clarification! I'm planning to get >> EFI support into the installer this weekend. > Speaking of the installer... > > How difficult would it be to be able to select a kernel for installation > if more than one kernel.${foo}.txz is provided on the install medium? > > The use case I have in mind is where kernel.VT.txz is extracted to > /boot/kernel.VT (which I believe the loader menu already supports > multi-kernel), an alternate kernel can be chosen for booting and then > can subsequently be chosen as the installed kernel during the extract > phase. > > This would actually cut down quite a bit on snapshot build times, since > right now I have to do a separate build for each kernel. > > Thoughts? > > Glen > Not that hard. If you want to just add extra optional kernels, the installer doesn't even need any patches -- you just have to add it to the make release logic (and MANIFEST) as an extra tarball. Installing it to /boot/kernel would require removing the logic in bsdinstall/scripts/auto that removes "kernel" from the menu as a nonoptional package. -Nathan