From owner-freebsd-arch@freebsd.org Tue Mar 26 13:31:31 2019 Return-Path: Delivered-To: freebsd-arch@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 6882B155269E for ; Tue, 26 Mar 2019 13:31:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D40006A9B2 for ; Tue, 26 Mar 2019 13:31:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8F3A4155269A; Tue, 26 Mar 2019 13:31:30 +0000 (UTC) Delivered-To: arch@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 5258B1552699 for ; Tue, 26 Mar 2019 13:31:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB15C6A9AF for ; Tue, 26 Mar 2019 13:31:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82d.google.com with SMTP id x12so14496945qts.7 for ; Tue, 26 Mar 2019 06:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b/LwgLws8PXDoFdSqOpJx+xXQus+a3WnwBim54+BN0A=; b=IMtKQNVlfJgpyub1wxGBiJ+D7Ak0LzAo6Lxozb8S5Q/v8Oij9NawFm60kUE24t5h/j t58icdNtLhWzo8oTPyA2BO/bpmK4zw0LPGywwit4GkEWVa9NxBz8qENU3l1ztvqVT0eb o6H89cA4EpFf2YJs+TMOq60sJjFcKAJcwf0an94oM7YOC5NDLCKM600ElGWymZ5+91tK pN/8eu8XiVgFIRaCJgDevgvoFR5zGbWuerfrAoQcmKwZUD3H+f05JmOGHhD9kNicZoAK p5q3hUrZAmML6yF+iK0OfrCKrSn+yDZjOyGUgweapfhpaCNHg2yBn3cRdBjisp6Ovu38 Pkrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b/LwgLws8PXDoFdSqOpJx+xXQus+a3WnwBim54+BN0A=; b=RsbZoAXF/MGNVIPPVUxPA8KYT9SLv5GUfJMrQztWe10UdMc6AfdjjSJe2CRmy9AunZ xNpstpgWcnH6yabMKrJqZZo+/jT4bodeunJybrCf/IYHhQlw/lgnMldyCWpi59g6cMvC 9Lnl6pgbhJiwF79VO2Ar4cnS+2tqOAC5O9MfP+UPf9cq5UNo81pIYHHiUAunRHB8P7mF SZ3DWy6npXhwuVKDd2WM09HCiXzvXmsLCi6/WzYJSu/NSxiUiY+bxXFy+Aw+UVUZFqSm eEOK5HqqOlh4lph3+1WMbUAhQF68AqMrhlZwuIx79nfG9Mxp9d/dx7eM0Ko34E3zKr3l RWxg== X-Gm-Message-State: APjAAAWUi6//XyKUXWpugHMoZNdVVxa+cBY+3HXrYZAuYlBufNvXdd+u nCmNURKG/Ll8eVR/EQtVV5LMkG1Gdkjuazp/BQKS8g== X-Google-Smtp-Source: APXvYqzPizmxhODmL2WChh050Pm/s8UPqzvemSsivlPWzFGqgkZ3FffSp8OgpF975aIhx7rQwwBSFYwgwQfESbe+N8U= X-Received: by 2002:ac8:4685:: with SMTP id g5mr18745190qto.242.1553607089347; Tue, 26 Mar 2019 06:31:29 -0700 (PDT) MIME-Version: 1.0 References: <201903260621.x2Q6L4x7083615@gndrsh.dnsmgr.net> <0828a41a-c25d-37a2-25b3-82c35c9a5c5d@bluestop.org> In-Reply-To: <0828a41a-c25d-37a2-25b3-82c35c9a5c5d@bluestop.org> From: Warner Losh Date: Tue, 26 Mar 2019 07:31:17 -0600 Message-ID: Subject: Re: Adding a new efi-update-loader script: need help understanding Makefile.inc1 for "make installworld" To: Rebecca Cran Cc: "Rodney W. Grimes" , Konstantin Belousov , "freebsd-arch@freebsd.org" , FreeBSD Hackers X-Rspamd-Queue-Id: DB15C6A9AF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2019 13:31:31 -0000 On Tue, Mar 26, 2019, 3:33 AM Rebecca Cran wrote: > On 3/26/19 12:21 AM, Rodney W. Grimes wrote: > > > > > The current BTX 1.1 is bit rot, that value has not changed in ages > > and tells me nothing about what boot code I am running, why do we > > even output it? > > > Sure, but the fact it shows up as "FreeBSD/amd64 EFI loader, Revision > 1.1" in "strings /boot/loader.efi" shows one way we could easily embed a > useful version number. > It's the useful part that I objected to. We wanted to do it, but haven't for the last 20 years of trying. I doubt we'll do any better in the future, especially with the repeatable build stuff closing many doors of trying to automate it. Warner >