From owner-freebsd-hackers@freebsd.org Tue Mar 26 04:08:44 2019 Return-Path: Delivered-To: freebsd-hackers@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 6637C1560979; Tue, 26 Mar 2019 04:08:44 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [65.103.231.193]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01F1F732B2; Tue, 26 Mar 2019 04:08:43 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 13AC9C1ABD; Mon, 25 Mar 2019 22:09:44 -0600 (MDT) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YkMn-4QDMSM8; Mon, 25 Mar 2019 22:09:43 -0600 (MDT) Received: from [10.0.10.197] (unknown [65.103.231.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Mon, 25 Mar 2019 22:09:43 -0600 (MDT) Date: Mon, 25 Mar 2019 22:03:46 -0600 From: rebecca@bluestop.org To: John Baldwin , "Rodney W. Grimes" Cc: FreeBSD Hackers , "=?utf-8?Q?freebsd-arch=40freebsd.org?=" , Konstantin Belousov Message-ID: <3abca0c1-3681-43a5-af21-5a89c8764d0c@Spark> In-Reply-To: <201903260348.x2Q3mFEg082866@gndrsh.dnsmgr.net> References: <201903260348.x2Q3mFEg082866@gndrsh.dnsmgr.net> Subject: Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld" X-Readdle-Message-ID: 3abca0c1-3681-43a5-af21-5a89c8764d0c@Spark MIME-Version: 1.0 X-Rspamd-Queue-Id: 01F1F732B2 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2019 04:08:44 -0000 On Mar 25, 2019, 9:49 PM -0600, Rodney W. Grimes , wrote: > > Is there anyway to stash an easy to extract =22version=22 in > loader.* so that a Makefile/.sh script could easily check > to see that your boot code is =3D=3D =60uname -KU=60 and just emit > a warning at the end of installworld=3F Currently, one of the strings that are embedded in loader*.efi reports th= e loader version 1.1. Though we might want to have something like Linux=E2= =80=99 boot.csv with a version in that file. Rebecca