guix-devel
[Top][All Lists]
Advanced

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

Re: guix bootloader selection - wip patch


From: Ludovic Courtès
Subject: Re: guix bootloader selection - wip patch
Date: Tue, 02 Aug 2016 11:49:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

>> Really, installing U-Boot is as simple as this?  If it is, that’s
>> perfect.  :-)
>
> Nope, it's just a placeholder :)
>
> But ideally U-Boot would provide something like that.
>
> I'm looking into writing u-boot-install.c and maybe contributing it to U-Boot 
> - let's see how bad it is.

I think we should adapt to whatever U-Boot provides for installation.
(I installed it years ago on a plug computer but forgot all the
details.)

>> I see three separate things here:
>> 
>>   1. Replacing “grub” by “bootloader” in the API (cosmetic change);
>> 
>>   2. Adding the build-side code to install U-Boot;
>> 
>>   3. Adding the host-side code to handle <u-boot-configuration> and do
>>      the right thing.
>> 
>> To facilitate review, could you separate these three things?
>
> As far as they are in different files, yes.

Not everything is in separate files I think, but ‘git rebase -i’ or
similar should facilitate the operation.

> Which part is the build-side, which part is the host-side?

The “build side” is the (gnu build …) and (guix build …) modules: they
contain code that is executed as part of build processes, or at run
time.

The “host side” is the rest, which contains package declarations, OS
declarations, service declarations, and code that drives the compilation
of all that.

(See “G-Expressions” in the manual for a discussion of this.)

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]