From owner-freebsd-current@freebsd.org Mon Aug 20 17:47:25 2018 Return-Path: Delivered-To: freebsd-current@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 B3E6C1076D0D for ; Mon, 20 Aug 2018 17:47:25 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6658D793AB for ; Mon, 20 Aug 2018 17:47:25 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 040E523D50 for ; Mon, 20 Aug 2018 17:47:25 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f173.google.com with SMTP id l15-v6so12239688lji.6 for ; Mon, 20 Aug 2018 10:47:24 -0700 (PDT) X-Gm-Message-State: AOUpUlE5JrQGAHcCSGODDuN4aJUyJo41J/2KgNIONzj649ASNVw5imvY cCaBnnn7Ps+gvdFSmwDQ570gqg63u84TmC2KZ5w= X-Google-Smtp-Source: AA+uWPysrZSHnV1l7WOpU/bghU8xehOQs8OzzZHVawDJP2Frn8NklqdPTBPIcmiPw6YxcYR68aJ9bL0OSCcieSkSMUU= X-Received: by 2002:a2e:498:: with SMTP id a24-v6mr33336959ljf.27.1534787243518; Mon, 20 Aug 2018 10:47:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:5742:0:0:0:0:0 with HTTP; Mon, 20 Aug 2018 10:47:02 -0700 (PDT) In-Reply-To: References: <031D39D4-3890-4FEE-A968-541578E8F7A6@gmail.com> From: Kyle Evans Date: Mon, 20 Aug 2018 12:47:02 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: LUA boot loader coming very soon To: Manfred Antar Cc: Warner Losh , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2018 17:47:25 -0000 On Mon, Aug 20, 2018 at 12:44 PM, Manfred Antar wr= ote: > > >> On Aug 20, 2018, at 9:20 AM, Warner Losh wrote: >> >> >> >> On Mon, Aug 20, 2018 at 9:55 AM, Kyle Evans wrote: >> On Mon, Aug 20, 2018 at 10:39 AM, Manfred Antar = wrote: >> > Hi >> > How do i get the menu back after switching to LUA loader? >> > I=E2=80=99m using a comconsole. Before the switch to LUA I had a menu = and a little devil with pitchfork:) >> > Now just get the countdown from 10 , then boot. >> > Here is my loader.conf.local: >> > >> > console=3D"comconsole" >> > beastie_disable=3D"NO" >> > hw.vga.textmode=3D1 >> > kern.vt.spclkeys=3D15 >> > nvidia_load=3D"YES" >> > linux_common_load=3D"YES" >> > linux_load=3D"YES" >> > linprocfs_load=3D"YES" >> > linsysfs_load=3D=E2=80=9CYES" >> > >> >> Hmm... seems that there was a miscommunication at some point, and the >> menu is disabled explicitly on serial boots. console=3D"comconsole" is >> enough to disable this in lualoader land. An excerpt from an e-mail I >> was forwarded regarding this: >> >> if $console contains (space or comma separated) "efi" then do >> not draw a menu (fall back to autoboot routine). >> >> if $beastie_disable is set to "YES" (case insensitive), then do not >> draw a menu (fall back to autoboot routine). >> >> We are clearly doing this wrong. I will fix it ASAP. >> >> I think that we need https://reviews.freebsd.org/D16816 to fix all the = bits. >> >> Warner > > Ok that works > I had to edit /boot/lua/drawer.lua to get the devil-pitchfork back, other= wise just have devilhead. > > drawer.default_color_logodef =3D 'orb' > drawer.default_bw_logodef =3D =E2=80=98orbbw' > > to: > > drawer.default_color_logodef =3D 'beastie' > drawer.default_bw_logodef =3D =E2=80=98beastiebw' > > and it=E2=80=99s pretty much the same as the 4th menu i had before. > Is there a way to put: > > drawer.default_color_logodef =3D 'beastie' > drawer.default_bw_logodef =3D 'beastiebw' > > somewhere else ie loader.rc or loader.lua.local so I don=E2=80=99t have t= o edit the /boot/lua/drawer.lua everytime I rebuild world? > It doesn=E2=80=99t work to put in loader.conf.local In loader.conf(5) land, this is called "loader_logo" e.g. loader_logo=3D"beastie" Thanks, Kyle Evans