From owner-svn-src-all@freebsd.org Tue Apr 19 20:40:01 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0715B1543F; Tue, 19 Apr 2016 20:40:01 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBFD2125C; Tue, 19 Apr 2016 20:40:01 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from aurora.physics.berkeley.edu (aurora.physics.berkeley.edu [128.32.117.67]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u3JKdxfG027774 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 19 Apr 2016 13:39:59 -0700 Subject: Re: svn commit: r298243 - head/usr.sbin/bsdinstall/scripts To: Warner Losh References: <201604190325.u3J3PaNo026464@repo.freebsd.org> <97483568.HegCXKxvF0@ralph.baldwin.cx> <57169533.3020908@freebsd.org> Cc: John Baldwin , Allan Jude , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" From: Nathan Whitehorn Message-ID: <5716979F.2030408@freebsd.org> Date: Tue, 19 Apr 2016 13:39:59 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: X-Sonic-CAuth: UmFuZG9tSVbfWkcDd3oI6tyAZdGVucMi3mxpRvIzNNoiQSLFfsZzQ0oGoemowO1TJFnpSyeLIY9Hpm3sMeEEGDPqXKMus147lIDPB6faKtI= X-Sonic-ID: C;nIUr4m4G5hGbBreqjlfmnQ== M;usJX4m4G5hGbBreqjlfmnQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 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: Tue, 19 Apr 2016 20:40:01 -0000 On 04/19/16 13:37, Warner Losh wrote: > > > On Tue, Apr 19, 2016 at 2:29 PM, Nathan Whitehorn > > 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 > > (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