Date: Mon, 5 Nov 2018 10:27:24 -0800 (PST) From: "Rodney W. Grimes" <freebsd@pdx.rh.CN85.dnsmgr.net> To: Kyle Evans <kevans@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r340152 - head/stand/lua Message-ID: <201811051827.wA5IRO5G092159@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201811051620.wA5GK74Z078677@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <RE > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811051827.wA5IRO5G092159>