From owner-svn-src-all@freebsd.org Mon Nov 5 18:44:25 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 050CF1108AB4; Mon, 5 Nov 2018 18:44:25 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B0AA6D208; Mon, 5 Nov 2018 18:44:23 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id wA5IROre092160; Mon, 5 Nov 2018 10:27:24 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id wA5IRO5G092159; Mon, 5 Nov 2018 10:27:24 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201811051827.wA5IRO5G092159@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r340152 - head/stand/lua In-Reply-To: <201811051620.wA5GK74Z078677@repo.freebsd.org> To: Kyle Evans Date: Mon, 5 Nov 2018 10:27:24 -0800 (PST) CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 5B0AA6D208 X-Spamd-Result: default: False [1.45 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[rgrimes@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.44)[0.441,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.13)[0.133,0]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.01)[country: US(-0.06)]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org 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: Mon, 05 Nov 2018 18:44:25 -0000 > Author: kevans > Date: Mon Nov 5 16:20:07 2018 > New Revision: 340152 > URL: https://svnweb.freebsd.org/changeset/base/340152 > > Log: > lualoader: Add chainload menu entry > > MFC after: 4 days Please do this a bit sooner so that it makes the next build on stable/12 which starts in ~72 hours. So maybe MFC: 2 days? Thanks, Rod Modified: > head/stand/lua/menu.lua > > Modified: head/stand/lua/menu.lua > ============================================================================== > --- head/stand/lua/menu.lua Mon Nov 5 15:30:13 2018 (r340151) > +++ head/stand/lua/menu.lua Mon Nov 5 16:20:07 2018 (r340152) > @@ -337,6 +337,22 @@ menu.welcome = { > submenu = menu.boot_environments, > alias = {"e", "E"}, > }, > + -- chainload > + { > + entry_type = core.MENU_ENTRY, > + name = function() > + return 'Chain' .. color.highlight("L") .. > + "oad " .. loader.getenv('chain_disk') > + end, > + func = function() > + loader.perform("chain " .. > + loader.getenv('chain_disk')) > + end, > + visible = function() > + return loader.getenv('chain_disk') ~= nil > + end, > + alias = {"l", "L"}, > + }, > }, > } > > > -- Rod Grimes rgrimes@freebsd.org