From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 13 06:45:26 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0325ED0F; Wed, 13 Nov 2013 06:45:26 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id E4A592824; Wed, 13 Nov 2013 06:45:25 +0000 (UTC) Received: from Alfreds-MacBook-Air.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 1F3CE1A3C39; Tue, 12 Nov 2013 22:45:24 -0800 (PST) Message-ID: <52832003.8080406@freebsd.org> Date: Tue, 12 Nov 2013 22:45:23 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Teske, Devin" , FreeBSD Hackers Subject: Re: Loader forth changes for customization References: <5282E56F.4020307@freebsd.org> In-Reply-To: <5282E56F.4020307@freebsd.org> Content-Type: multipart/mixed; boundary="------------010502020707020201000600" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 06:45:26 -0000 This is a multi-part message in MIME format. --------------010502020707020201000600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I added some hooks for menu.rc as well, you can see it via the github urls below. I've attached a sample menu.rc.local that provides additional menus. -Alfred On 11/12/13, 6:35 PM, Alfred Perlstein wrote: > Hey folks, > > I added some forth using Devin's help to make it easier to customize > the FreeBSD boot loader graphics. > > Diffs are here: > https://github.com/alfredperlstein/freebsd/compare/loader_custom_rc > -or- > https://github.com/alfredperlstein/freebsd/compare/loader_custom_rc.diff > > > Diff attached. > > Also attached is a custom loader.rc file and loader.conf file that > shows how to set the brand/logo. > > Please review. > > -Alfred --------------010502020707020201000600 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="menu.rc.local" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="menu.rc.local" CjogemZzcmVjb3Zlcl9lbmFibGVkPyAoIC0tIGZsYWcgKQogICAgICAgIHMiIHZmcy56ZnMu cmVjb3ZlciIgZ2V0ZW52IC0xIDw+IGR1cCBpZgogICAgICAgICAgICAgICAgc3dhcCBkcm9w ICggYy1hZGRyIGZsYWcgLS0gZmxhZyApCiAgICAgICAgdGhlbgo7Cgo6IHpmc3JlY292ZXJf ZW5hYmxlICggLS0gKQogICAgICAgIHMiIHNldCB2ZnMuemZzLnJlY292ZXI9MSIgZXZhbHVh dGUKOwoKOiB6ZnNyZWNvdmVyX2Rpc2FibGUgKCAtLSApCiAgICAgICAgcyIgdmZzLnpmcy5y ZWNvdmVyIiB1bnNldGVudgo7Cgo6IGluaXRfemZzcmVjb3ZlciAoIE4gLS0gTiApCiAgICAg ICAgemZzcmVjb3Zlcl9lbmFibGVkPyBpZgogICAgICAgICAgICAgICAgdG9nZ2xlX21lbnVp dGVtICggbiAtLSBuICkKICAgICAgICB0aGVuCjsKCjogdG9nZ2xlX3pmc3JlY292ZXIgKCBO IC0tIE4gVFJVRSApCiAgICAgICAgdG9nZ2xlX21lbnVpdGVtCiAgICAgICAgbWVudS1yZWRy YXcKCiAgICAgICAgXCBOb3cgd2UncmUgZ29pbmcgdG8gbWFrZSB0aGUgY2hhbmdlIGVmZmVj dGl2ZQoKICAgICAgICBkdXAgdG9nZ2xlX3N0YXRlTiBAIDA9IGlmCiAgICAgICAgICAgICAg ICB6ZnNyZWNvdmVyX2Rpc2FibGUKICAgICAgICBlbHNlCiAgICAgICAgICAgICAgICB6ZnNy ZWNvdmVyX2VuYWJsZQogICAgICAgIHRoZW4KCiAgICAgICAgVFJVRSBcIGxvb3AgbWVudSBh Z2Fpbgo7CgoKc2V0IG9wdGlvbnNtZW51X2luaXRbN109ImluaXRfemZzcmVjb3ZlciIKc2V0 IG9wdGlvbnNtZW51X2NhcHRpb25bN109IkJvb3QgW1pdRlMgUmVjb3ZlcjogTk8iCnNldCBv cHRpb25zdG9nZ2xlZF90ZXh0WzddPSJCb290IFtaXUZTIFJlY292ZXI6IFlFUyIKc2V0IG9w dGlvbnNtZW51X2NvbW1hbmRbN109InRvZ2dsZV96ZnNyZWNvdmVyIgpzZXQgb3B0aW9uc21l bnVfa2V5Y29kZVs3XT0iMTIyIgpzZXQgb3B0aW9uc2Fuc2lfY2FwdGlvbls3XT0iQm9vdCAb WzFtWhtbMzdtRlMgUmVjb3ZlcjogG1szNDsxbU5PG1szN20iCnNldCBvcHRpb25zdG9nZ2xl ZF9hbnNpWzddPSJCb290IBtbMW1aG1szN21GUyBSZWNvdmVyOiAbWzMyOzdtWUVTG1swOzM3 bSIKCg== --------------010502020707020201000600--