Date: Fri, 25 Apr 2014 15:13:32 -0700 From: <dteske@FreeBSD.org> To: "'Nathan Whitehorn'" <nwhitehorn@freebsd.org>, "'Glen Barber'" <gjb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: RE: svn commit: r264935 - head/release/amd64 Message-ID: <03e701cf60d3$99547a10$cbfd6e30$@FreeBSD.org> In-Reply-To: <535ADD03.9000601@freebsd.org> References: <201404252111.s3PLB00Q043705@svn.freebsd.org> <535AD685.90606@freebsd.org> <20140425214454.GA1231@glenbarber.us> <535AD7C6.9030802@freebsd.org> <20140425215248.GB1231@glenbarber.us> <535ADA8A.4030408@freebsd.org> <20140425220624.GC1231@glenbarber.us> <535ADD03.9000601@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Nathan Whitehorn [mailto:nwhitehorn@freebsd.org] > Sent: Friday, April 25, 2014 3:09 PM > To: Glen Barber > Cc: src-committers@freebsd.org; svn-src-all@freebsd.org; svn-src- > head@freebsd.org > Subject: Re: svn commit: r264935 - head/release/amd64 > > > On 04/25/14 15:06, Glen Barber wrote: > > On Fri, Apr 25, 2014 at 02:58:34PM -0700, Nathan Whitehorn wrote: > >> 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. > > Hmm, if I remember correctly, last time I booted an installer with > > multiple kernels, there were no options for the kernel in the > > distribution menu. Or do you mean that if it were marked as optional, > > they would appear? > > > > Anyway, the release logic already supports 'KERNCONF="GENERIC VT"' > > listing of multiple kernels, so that is not an issue. > > > > Thanks! > > > > Glen > > > > They just need to be in the MANIFEST file somehow. I guess they aren't > being added by release(7)? All the installer does is list that file -- and remove > kernel.txz and base.txz by hand. So where sysinstall last we left it supported only two optional distributions, the kernel-debug distribution and "local" distribution, bsdinstall supports as many as you stuff into the manifest. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03e701cf60d3$99547a10$cbfd6e30$>