Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 07:54:54 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Devin Teske <dteske@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>
Subject:   Re: Loader forth changes for customization
Message-ID:  <BCC78B2C-66F0-42C3-AD53-018637B2C433@fisglobal.com>
In-Reply-To: <5283933E.30603@freebsd.org>
References:  <5282E56F.4020307@freebsd.org> <52832003.8080406@freebsd.org> <09673101-DB54-4D25-9989-8C80D06E266B@fisglobal.com> <5283933E.30603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--_002_BCC78B2C66F042C3AD53018637B2C433fisglobalcom_
Content-ID: <0FDD9F0F0DEAAA4BBFDFBC6EF71C7C67@fisglobal.com>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"


On Nov 13, 2013, at 6:57 AM, Alfred Perlstein wrote:

>=20
> On 11/13/13, 12:18 AM, Teske, Devin wrote:
>> On Nov 12, 2013, at 10:45 PM, Alfred Perlstein wrote:
>>=20
>>> I added some hooks for menu.rc as well, you can see it via the github u=
rls below.
>>>=20
>>> I've attached a sample menu.rc.local that provides additional menus.
>>>=20
>>> -Alfred
>>>=20
>>> On 11/12/13, 6:35 PM, Alfred Perlstein wrote:
>>>> Hey folks,
>>>>=20
>>>> I added some forth using Devin's help to make it easier to customize t=
he FreeBSD boot loader graphics.
>>>>=20
>>>> Diffs are here:
>>>> https://github.com/alfredperlstein/freebsd/compare/loader_custom_rc
>>>> -or-
>>>> https://github.com/alfredperlstein/freebsd/compare/loader_custom_rc.di=
ff
>>>>=20
>>>>=20
>>>> Diff attached.
>>>>=20
>>>> Also attached is a custom loader.rc file and loader.conf file that sho=
ws how to set the brand/logo.
>>>>=20
>>>> Please review.
>>>>=20
>> I signed up for a github account (thanks), and I started commenting on s=
ome lines.
> yay! :)
>>=20
>>>> -Alfred
>>> <menu.rc.local>
>> Hmmm, I hadn't realized that you could say:
>>=20
>> set foo=3Dbar
>>=20
>> Along-side setting functions in the same file.
>>=20
>> I don't think you can set functions in an *.rc file, only in a *.4th fil=
e?
>>=20
>> No? Maybe it's a false misconception of mine. I've been keeping them
>> separate for years. (but probably rightfully so, to keep *.rc files clea=
n).
>=20
> It seems to work although I will talk to the team about making separate f=
iles for the set commands.
>=20
> I've responded to your review comments here:
>=20
> https://github.com/alfredperlstein/freebsd/commit/0ca72dccd78b880b3e3ef4c=
2bb9ce025950a370b#commitcomment-4584862
>=20
> The changes I made are now in the branch
> https://github.com/alfredperlstein/freebsd/tree/loader_custom_rc and you =
likely should see them in the updated pull request I sent you.
>=20

I improved on a few things...

https://github.com/devinteske/freebsd/compare/freebsd:master...master
-or-
https://github.com/devinteske/freebsd/compare/freebsd:master...master.diff
-or-
Attached SVN patch.txt

--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.

--_002_BCC78B2C66F042C3AD53018637B2C433fisglobalcom_
Content-Type: text/plain; name="patch.txt"
Content-Description: patch.txt
Content-Disposition: attachment; filename="patch.txt"; size=3113;
	creation-date="Thu, 14 Nov 2013 07:54:54 GMT";
	modification-date="Thu, 14 Nov 2013 07:54:54 GMT"
Content-ID: <8FE81C1A7BC5C341B2E678BB7E03A797@fisglobal.com>
Content-Transfer-Encoding: base64

SW5kZXg6IHN5cy9ib290L2ZvcnRoL2xvYWRlci40dGgNCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBzeXMvYm9v
dC9mb3J0aC9sb2FkZXIuNHRoCShyZXZpc2lvbiAyNTc4Mj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bWVudHMg
ZGVmaW5lZCBpbiBhIGxvY2FsIGZpbGUNCitcIA0KK3RyeS1pbmNsdWRlIC9ib290L21lbnUucmMu
bG9jYWwNCisNCiBcIERpc3BsYXkgdGhlIG1haW4gbWVudSAoc2VlIGBtZW51LjR0aCcpDQogc2V0
IG1lbnVzZXRfaW5pdGlhbD0xDQogbWVudXNldC1sb2FkaW5pdGlhbA0KSW5kZXg6IHN5cy9ib290
L2kzODYvbG9hZGVyL2xvYWRlci5yYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHN5cy9ib290L2kzODYvbG9h
ZGVyL2xvYWRlci5yYwkocmV2aXNpb24gMjU3NjUwKQ0KKysrIHN5cy9ib290L2kzODYvbG9hZGVy
L2xvYWRlci5yYwkod29ya2luZyBjb3B5KQ0KQEAgLTMsNiArMyw3IEBADQogXA0KIFwgSW5jbHVk
ZXMgYWRkaXRpb25hbCBjb21tYW5kcw0KIGluY2x1ZGUgL2Jvb3QvbG9hZGVyLjR0aA0KK3RyeS1p
bmNsdWRlIC9ib290L2xvYWRlci5yYy5sb2NhbA0KIA0KIFwgUmVhZHMgYW5kIHByb2Nlc3NlcyBs
b2FkZXIuY29uZiB2YXJpYWJsZXMNCiBpbml0aWFsaXplDQo=

--_002_BCC78B2C66F042C3AD53018637B2C433fisglobalcom_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCC78B2C-66F0-42C3-AD53-018637B2C433>