[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57643] [PATCH 1/3] image: Make the operating-system field mandatory
From: |
Liliana Marie Prikler |
Subject: |
[bug#57643] [PATCH 1/3] image: Make the operating-system field mandatory. |
Date: |
Wed, 07 Sep 2022 20:34:47 +0200 |
User-agent: |
Evolution 3.42.1 |
Hi,
Am Mittwoch, dem 07.09.2022 um 14:46 +0200 schrieb Mathieu Othacehe:
> Make the operating-system field mandatory as creating an image
> without it
> makes no sense. Introduce a new macro, image-without-os for the
> specific cases
> where the image is only created to be inherited from afterwards.
>
> * gnu/image.scm (<image>)[operating-system]: Make it mandatory.
> * gnu/system/image.scm (image-without-os): New macro.
> (efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
> raw-with-offset-disk-image): Use it.
> * gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
IMHO adding a new macro is a bit much. Can't we simply add an empty
image from which the others are derived or use (operating-system #f)
literally? (Alternatively to #f you might prefer "none" as syntactic
sugar.)
I do agree with making operating-system mandatory, though.
Cheers
- [bug#57643] [PATCH 0/3] Document the image API., (continued)
- [bug#57643] [PATCH 0/3] Document the image API., Ludovic Courtès, 2022/09/24
- [bug#57643] [PATCH 0/3] Document the image API., Maxime Devos, 2022/09/24
- [bug#57643] [PATCH 0/3] Document the image API., Mathieu Othacehe, 2022/09/24
- [bug#57643] [PATCH 0/3] Document the image API., Ludovic Courtès, 2022/09/24
- [bug#57643] [PATCH 0/3] Document the image API., Maxime Devos, 2022/09/24
- [bug#57643] [PATCH 0/3] Document the image API., Ludovic Courtès, 2022/09/25
- [bug#57643] [PATCH 0/3] Document the image API., Mathieu Othacehe, 2022/09/24
[bug#57643] [PATCH 3/3] doc: Add a "System Images" chapter., Mathieu Othacehe, 2022/09/07
[bug#57643] [PATCH 1/3] image: Make the operating-system field mandatory.,
Liliana Marie Prikler <=
[bug#57643] [PATCH 1/3] image: Make the operating-system field mandatory., Maxime Devos, 2022/09/24
[bug#57643] [PATCH 0/3] Document the image API., Ludovic Courtès, 2022/09/24