[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: customize bootloader



Il giorno dom 25 mag 2014 alle 22:22, chals <chals@chalsattack.com> ha scritto:
On Sat, May 24, 2014 at 4:07 PM, chals <chals@chalsattack.com> wrote:
Hello again, When I saw your message to the mailing list this morning (https://lists.debian.org/debian-live/2014/05/msg00086.html) asking about live-build 4.0~alpha37-1 I said to myself: "gosh!" There is an unfortunate mix of information going on in here: I first gave you instructions for live-build 4.x but then when you suggested using "s|@VERSION@|3.0|" I saw number "3" and I switched to live-build 3.x and well, I really do not know why. I only know that I need to correct myself once again :)

In fact I was about to write to tell you that it worked indeed. But I wanted to do some more testing...

Older versions used the suffix .binary, newer ones .hook.binary
While this is true...
If you are using live-build 4.x use the .hook.binary suffix (and do not forget to copy the isolinux files into config/bootloaders/isolinux

In my case it doesn't make sense, because all I want to change is the svg file, using a hook. So I prefer placing my svg file wherever I want (in the root of the project or in config/) and use the hook. I won't copy any file in config/bootloaders/isolinux.


Besides, you need to correct your paths. Heed that I said:
1.- copy the splash.svg file from ../config/bootloaders/isolinux/ to isolinux/
Because binary hooks are executed in binary/
Yeah I was right for live-build 4.x, binary hooks are executed in binary/ so the paths that I corrected are, well, correct after all ;)

Yes, it works. I only have one last setting to do: replace also all the other variables.
As you can see in the attached images, only a few are working. Probably I missed some definitions in binary_syslinux script?

Attachment: splash.hook.binary
Description: application/shellscript

Attachment: lilydev-splash.png
Description: PNG image


Reply to: