svn commit: r298243 - head/usr.sbin/bsdinstall/scripts

Nathan Whitehorn nwhitehorn at freebsd.org
Tue Apr 19 20:40:01 UTC 2016



On 04/19/16 13:37, Warner Losh wrote:
>
>
> On Tue, Apr 19, 2016 at 2:29 PM, Nathan Whitehorn 
> <nwhitehorn at freebsd.org <mailto:nwhitehorn at freebsd.org>> wrote:
>
>
>
>     On 04/19/16 09:12, John Baldwin wrote:
>
>         On Tuesday, April 19, 2016 03:25:36 AM Allan Jude wrote:
>
>             Author: allanjude
>             Date: Tue Apr 19 03:25:36 2016
>             New Revision: 298243
>             URL: https://svnweb.freebsd.org/changeset/base/298243
>
>             Log:
>                Add a new installation type to bsdinstall/zfsboot:
>             BIOS+UEFI
>                   Installs both pmbr+gptzfsboot as well as
>             boot1.efifat in separate partitions
>                The resulting system can be booted with either UEFI or
>             BIOS/CSM.
>                Preference is controlled by the user's firmware boot
>             settings.
>                   This is now the default for zfsboot installs
>                   PR:               208629
>                Submitted by:        Galael LAPLANCHE
>             <ganael.laplanche at corp.ovh.com
>             <mailto:ganael.laplanche at corp.ovh.com>> (original version)
>
>         Any thought about supporting this for UFS as well?
>
>     It would be pretty easy just to set that up by default. I'm happy
>     to add that this weekend if you think it would be useful.
>
>
> I have scripts that I stole for nanobsd that does that. I stole them 
> from the release process.
>
> Perhaps we need to refactor things so we have just one copy of the 
> scripts. This code copying will
> bring nothing but pain in the end. Already crochet has had issues with 
> lagging due to copied
> rather than shared code.
>
> Warner

The release stuff uses makefs rather than geom, so there has to be some 
bifurcation there. Otherwise, you can script the installer/sade.
-Nathan


More information about the svn-src-all mailing list