[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45020] [PATCH 0/2] image: Add system field.
From: |
Mathieu Othacehe |
Subject: |
[bug#45020] [PATCH 0/2] image: Add system field. |
Date: |
Tue, 15 Dec 2020 10:58:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hey,
> OTOH, I might want to cross-build a Novena image from x86_64, or I might
> want to build it natively. Perhaps what could be said is that a Novena
> image can either be built natively on armhf-linux, or cross-built to
> arm-linux-gnueabihf. Perhaps we should encode this constraint rather
> than a specific ‘system’ or ‘target’? (I’m thinking out loud…)
Maybe the next step would be to define a <machine> record that encodes
the "system" and "target" constraints for a specific board/machine. The
kernel build options and userland packages options you are mentioning
above could also be part of this record.
As Danny is proposing, we could also have a "--native" argument to "guix
system" that would force native build instead of cross-compiling.
> Regarding ARM boards, do you think some additional abstraction is needed
> to encode cross-cutting concerns that affect not just the partition
> layout and choice of a bootloader, but also kernel build options, and
> maybe options for some userland packages (are there examples of that,
> though?)?
>
> Maybe the best course of action is to add all this info to <image> until
> we have a better idea, after all.
Sure, I agree.
> I guess I’m contributing more questions that answers. :-)
It helps a lot anyway :)
Thanks,
Mathieu
- [bug#45021] [PATCH 1/2] image: Add system field., (continued)
[bug#45022] [PATCH 2/2] image: Rename "raw" image-type to "efi-raw"., Mathieu Othacehe, 2020/12/03
[bug#45020] [PATCH 0/2] image: Add system field., zimoun, 2020/12/03
[bug#45020] [PATCH 0/2] image: Add system field., Efraim Flashner, 2020/12/09
[bug#45020] [PATCH 0/2] image: Add system field., Ludovic Courtès, 2020/12/11
- [bug#45020] [PATCH 0/2] image: Add system field., Mathieu Othacehe, 2020/12/12
- [bug#45020] [PATCH 0/2] image: Add system field., zimoun, 2020/12/12
- [bug#45020] [PATCH 0/2] image: Add system field., Ludovic Courtès, 2020/12/13
- [bug#45020] [PATCH 0/2] image: Add system field., zimoun, 2020/12/15
- [bug#45020] [PATCH 0/2] image: Add system field., Ludovic Courtès, 2020/12/15
[bug#45020] [PATCH 0/2] image: Add system field., Danny Milosavljevic, 2020/12/13