mbox series

[bug#57643,0/3] Document the image API.

Message ID 20220907124449.16904-1-othacehe@gnu.org
Headers show
Series Document the image API. | expand

Message

Mathieu Othacehe Sept. 7, 2022, 12:44 p.m. UTC
Hello,

I recently polished a bit the image API and added a new system test
(gnu tests image) that is validating the image creation process
itself with Guile-Parted.

This series makes the operating-system field of the <image> record
mandatory and adds two new chapters to the documentation: "Platforms"
and "System Images".

Thanks,

Mathieu

Mathieu Othacehe (3):
  image: Make the operating-system field mandatory.
  doc: Add a "Platforms" chapter.
  doc: Add a "System Images" chapter.

 doc/guix.texi              | 601 ++++++++++++++++++++++++++++++++++++-
 gnu/image.scm              |   3 +-
 gnu/system/image.scm       |  41 ++-
 gnu/system/images/hurd.scm |   2 +-
 4 files changed, 638 insertions(+), 9 deletions(-)

Comments

Ludovic Courtès Sept. 24, 2022, 10:18 a.m. UTC | #1
Hi Mathieu,

Mathieu Othacehe <othacehe@gnu.org> skribis:

> I recently polished a bit the image API and added a new system test
> (gnu tests image) that is validating the image creation process
> itself with Guile-Parted.
>
> This series makes the operating-system field of the <image> record
> mandatory and adds two new chapters to the documentation: "Platforms"
> and "System Images".

Great piece of work!  That will make things more approachable, and one
can hope it will lead folks in the embedded or devops space to look more
closely as what this has to offer.

I sent mostly cosmetic comments.  It looks pretty much ready to go.

Thank you!

Ludo’.
Mathieu Othacehe Sept. 24, 2022, 12:59 p.m. UTC | #2
Hey Ludo,

> Great piece of work!  That will make things more approachable, and one
> can hope it will lead folks in the embedded or devops space to look more
> closely as what this has to offer.
>
> I sent mostly cosmetic comments.  It looks pretty much ready to go.

Many thanks for the in-depth review, as always. I fixed all your
comments. I also hope it will help people dive into the image creation
stuff.

The two big remaining areas left to be a credible alternative to
buildroot/Yocto and friends are in my opinion:

1. Be able to generate smaller images (without Guix/Guile), with
other init systems (initV, android init language), busybox, minimal
libc and so on.

2. Be able to cross-compile more packages (qt, gnome, ...).

Some work in perspective!

Mathieu
Mathieu Othacehe Sept. 25, 2022, 11:53 a.m. UTC | #3
Hey,

> I sent mostly cosmetic comments.  It looks pretty much ready to go.

Pushed, thanks to all reviewers!

Mathieu