From owner-svn-src-all@freebsd.org Thu Dec 20 19:50:39 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9FF41351FA2 for ; Thu, 20 Dec 2018 19:50:39 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2246D6A3D7 for ; Thu, 20 Dec 2018 19:50:39 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-wm1-x335.google.com with SMTP id d15so3249877wmb.3 for ; Thu, 20 Dec 2018 11:50:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MQQkGCRQFCzY6PkDfxmiRGhGmUC6sW+EMKwcxrSoG5o=; b=HdQlod/ShqqF4xv+mjQrEQ5On+y9k93Pz1YQQ71O/wRBK6V5MMPai/RHtsP4gOBBgr 0OqzwGXTPXEaul63GnyihFExOJT8vfd7LMXZhL8fESUnO+g3NYWmEKBlx+SaWtowgYUj +keb52dfnJGTZkCYUxeRQpuugYYDru8h1IG49Cc/xKjLtcU+yuuMQFLJ8o35TvWPCqPT gWrgzU1xvby/ovwajVJuLJY5Qq5cFIhYO4MxzcL0DAO1u9KPjhsawP7ze2z0SZZ9wX0X 8koC2AdsAypmyYtNQPiJ/3SYcnCpCFsy1RNj0mdOCo0vLFmz83Emkv2Y7wxRiCtQJsE0 Xvuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MQQkGCRQFCzY6PkDfxmiRGhGmUC6sW+EMKwcxrSoG5o=; b=keVIypNRt/jLE1gj1eqkhMk/MsuCpAkXq7Fm3MuGCFW/rp28Jrd9T6LdDNoCz6RaTj MD0BiEerYDWPtOYO/LE2nXYXh9zsICPkomSM5wC1nnpwjQnyyXw+ln1AIJ6wdOeVj2ZW M1grToJ+I+ScAHkbuGeqcQSpeqcj05OJ+Yvk40dvtqhevJ0PNTqYyfS3LSiLiimQG/1g DASOQ909pXsbM8bB2qjdqN1tDg6TmPNQkTxwX6juQAd2t9UFcwaZbYXR1a/SNAnEwyhd 2U2tA0HVjQoTMNEev9Y9fn4teeBzwT+Ki5KZ9HZFCdRLIbUJCQNVo7lB8Itq54RD0rkT dsxA== X-Gm-Message-State: AA+aEWZnV0CrstvqvXcazNinCcUxdXotpwsLEFy3QZXQrOMcTu7zHUn+ ud5vVtAWCdE8n25ss9MlOjBCMw== X-Google-Smtp-Source: AFSGD/U4vHElPecwihAQdLel9MPUbq/VPAbpnKJNDA+Q18vVGwd5yIE/voQupS5K/XDAWOC/m8URlQ== X-Received: by 2002:a7b:cd85:: with SMTP id y5mr3766933wmj.129.1545335437650; Thu, 20 Dec 2018 11:50:37 -0800 (PST) Received: from mutt-hbsd (tor-exit.talyn.se. [79.137.79.167]) by smtp.gmail.com with ESMTPSA id d4sm12079306wrp.89.2018.12.20.11.50.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 11:50:36 -0800 (PST) Date: Thu, 20 Dec 2018 14:49:41 -0500 From: Shawn Webb To: Rebecca Cran Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r342283 - in head: release/amd64 release/arm64 release/i386 release/tools share/man/man8 tools/boot tools/tools/nanobsd/embedded usr.sbin/bsdinstall/partedit usr.sbin/bsdinstall/scripts Message-ID: <20181220194941.wikdor2wnsr56g4n@mutt-hbsd> References: <201812201939.wBKJdbhB015092@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vxzaspxr2v4rrzcc" Content-Disposition: inline In-Reply-To: <201812201939.wBKJdbhB015092@repo.freebsd.org> X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT FreeBSD 13.0-CURRENT HARDENEDBSD-13-CURRENT amd64 X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 2246D6A3D7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 20 Dec 2018 19:50:40 -0000 --vxzaspxr2v4rrzcc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 20, 2018 at 07:39:37PM +0000, Rebecca Cran wrote: > Author: bcran > Date: Thu Dec 20 19:39:37 2018 > New Revision: 342283 > URL: https://svnweb.freebsd.org/changeset/base/342283 >=20 > Log: > Rework UEFI ESP generation > =20 > Currently, the installer uses pre-created 800KB FAT12 filesystems that > it dd's onto the ESP partition. > This changeset improves that by having the installer generate a FAT32 > filesystem directly onto the ESP using newfs_msdos and then copying > loader.efi into /EFI/freebsd. > For live installs it then runs efibootmgr to add a FreeBSD boot entry > in the BIOS. > =20 > Sponsored by: Netflix > Differential Revision: https://reviews.freebsd.org/D17947 >=20 > Modified: > head/release/amd64/make-memstick.sh > head/release/amd64/mkisoimages.sh > head/release/arm64/make-memstick.sh > head/release/i386/make-memstick.sh > head/release/tools/vmimage.subr > head/share/man/man8/uefi.8 > head/tools/boot/install-boot.sh > head/tools/boot/rootgen.sh > head/tools/tools/nanobsd/embedded/common > head/usr.sbin/bsdinstall/partedit/gpart_ops.c > head/usr.sbin/bsdinstall/partedit/partedit_arm64.c > head/usr.sbin/bsdinstall/partedit/partedit_x86.c > head/usr.sbin/bsdinstall/scripts/bootconfig > head/usr.sbin/bsdinstall/scripts/zfsboot >=20 > Modified: head/release/amd64/make-memstick.sh > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/release/amd64/make-memstick.sh Thu Dec 20 19:27:46 2018 (r342282) > +++ head/release/amd64/make-memstick.sh Thu Dec 20 19:39:37 2018 (r342283) > @@ -12,6 +12,9 @@ > =20 > set -e > =20 > +scriptdir=3D$(dirname $(realpath $0)) > +. ${scriptdir}/../../tools/boot/install-boot.sh > + > PATH=3D/bin:/usr/bin:/sbin:/usr/sbin > export PATH > =20 > @@ -36,11 +39,16 @@ makefs -B little -o label=3DFreeBSD_Install -o versio= n=3D2 > rm ${1}/etc/fstab > rm ${1}/etc/rc.conf.local > =20 > +# Make an ESP in a file. > +espfilename=3D$(mktemp /tmp/efiboot.XXXXXX) > +make_esp_file ${espfilename} ${fat32min} ${1}/boot/loader.efi Hey Rebecca, Are there any other bits of the build process that touch files outside of ${MAKEOBJDIRPREFIX}? Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --vxzaspxr2v4rrzcc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlwb8k0ACgkQaoRlj1JF bu5p+Q/+IMWdCVIGQhoArzJtoyfLhyPVGAWBlxQW8Wz/+80lD7yXu0rGUvQjqFgq w36z4knfdDnGWZz10mExFmjLTDjA620sj9iLYAuJ/tJ2ZHaiPm3B+0+gyZNls2v3 Ku1NIEBrC0wSSvOOWa5xlcUfoVAqYBVBHYHuaU0iv80lNG7mhTorKnVI93TvdHNe mJGj6sHk1RTOM+WAlryhjh7pJFLKsrvEMvtlruHXo1LojNGRaZ7KOt/zrbCABUvM DsgQRHYuHjTHcGoKExj1PIoQxn3cnrgnMGhqlRRsKdIhefUbQMp9sRwMlJn7dQk/ F5Ei50ie5MFxyniecXEyaFFYBbdBCPVyjU52wLZp4CF+cLq42/x7R4atCbhW3q36 tA0ba8AoV8KHEhtfaTUp647eQvO1ADjeG5HebWV7SpAc2AxcP3aq7J+wrrAJGHRC ms8r7PSF1zvGAPsK36pS1wtaMHqOYulgj7/iNexEDjxamGbuqgoxMa08qxTrOnRg iYsdSUSN9pp83ezz5xBgv+oXtbjBo6RHvcfZxLDDfP7xFyNjKwaiuUq5i2O3eSXu yc78X+XYSI/0S0d+rMlHZ9eevLEOJf+s75QvsQbx2LmTzTPoT3geDbyv2ir+T3pC NZ1tw2iTB/G0QzD4jbfEKONLdQTxQPfBVe+1FODQaHGsJnskth4= =BxUu -----END PGP SIGNATURE----- --vxzaspxr2v4rrzcc--