* [PATCH v2 0/2] Drop oci image type, update list of available types in documentation
@ 2025-05-07 16:43 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 1/2] imagetypes_container: Drop oci type 'Jan Kiszka' via isar-users
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-05-07 16:43 UTC (permalink / raw)
To: isar-users; +Cc: Silvano Cirujano-Cuesta
Changes since v1:
- drop oci
- update patch 2 accordingly
Jan Kiszka (2):
imagetypes_container: Drop oci type
doc/user_manual: Add missing image types to overview
RECIPE-API-CHANGELOG.md | 5 +++++
doc/user_manual.md | 6 +++++-
meta/classes/imagetypes_container.bbclass | 6 +-----
3 files changed, 11 insertions(+), 6 deletions(-)
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/cover.1746636231.git.jan.kiszka%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/2] imagetypes_container: Drop oci type
2025-05-07 16:43 [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
@ 2025-05-07 16:43 ` 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 2/2] doc/user_manual: Add missing image types to overview 'Jan Kiszka' via isar-users
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-05-07 16:43 UTC (permalink / raw)
To: isar-users; +Cc: Silvano Cirujano-Cuesta
From: Jan Kiszka <jan.kiszka@siemens.com>
This format was supported since the introduction of container images but
it was never documented. After revisiting its content and potential
purpose, it turned out that its use case would be rather theoretical and
that it can't be imported into common container services. So simply drop
it as "practically irrelevant".
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
RECIPE-API-CHANGELOG.md | 5 +++++
doc/user_manual.md | 2 +-
meta/classes/imagetypes_container.bbclass | 6 +-----
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md
index a4cf1338..8468717d 100644
--- a/RECIPE-API-CHANGELOG.md
+++ b/RECIPE-API-CHANGELOG.md
@@ -722,3 +722,8 @@ Optional fields of the isar-apt repo can be controlled by adding to the
Changes in next
---------------
+
+### Drop unused container image format `oci`
+
+This was never documented and never had practical relevance. `oci-archive` is
+the useful OCI image format that can be imported, e.g., by podman.
diff --git a/doc/user_manual.md b/doc/user_manual.md
index 845823bb..ceac8294 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -273,7 +273,7 @@ https://github.com/intel/bmap-tools
### Generate container image with root filesystem
A runnable container image is generated if IMAGE_FSTYPES variable includes
-one of the supported container formats `oci`, `oci-archive`, `docker-archive`,
+one of the supported container formats `oci-archive`, `docker-archive`,
`docker-daemon`, or `containers-storage`.
Getting a container image can be the main purpose of an Isar configuration,
but not only.
diff --git a/meta/classes/imagetypes_container.bbclass b/meta/classes/imagetypes_container.bbclass
index 1a6f3669..60b65bd8 100644
--- a/meta/classes/imagetypes_container.bbclass
+++ b/meta/classes/imagetypes_container.bbclass
@@ -6,7 +6,7 @@
# This class provides the task 'containerize'
# to create container images containing the target rootfs.
-CONTAINER_TYPES = "oci oci-archive docker-archive docker-daemon containers-storage"
+CONTAINER_TYPES = "oci-archive docker-archive docker-daemon containers-storage"
USING_CONTAINER = "${@bb.utils.contains_any('IMAGE_BASETYPES', d.getVar('CONTAINER_TYPES').split(), '1', '0', d)}"
CONTAINER_IMAGE_NAME ?= "${PN}-${DISTRO}-${DISTRO_ARCH}"
@@ -87,10 +87,6 @@ convert_container() {
--tmpdir "${WORKDIR}" \
"oci:${oci_img_dir}:${tag}" "${target}"
;;
- "oci")
- tar --create --directory "${oci_img_dir}" \
- --file "${image_archive}" .
- ;;
"docker-daemon" | "containers-storage")
if [ -f /.dockerenv ] || [ -f /run/.containerenv ] ; then
die "Adding the container image to a container runtime (${container_type}) not supported if running from a container (e.g. 'kas-container')"
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/2b26f04e5e6d121168201273f6153de2d178c9bb.1746636231.git.jan.kiszka%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] doc/user_manual: Add missing image types to overview
2025-05-07 16:43 [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 1/2] imagetypes_container: Drop oci type 'Jan Kiszka' via isar-users
@ 2025-05-07 16:43 ` 'Jan Kiszka' via isar-users
2025-05-27 5:23 ` [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
2025-05-27 7:31 ` Baurzhan Ismagulov
3 siblings, 0 replies; 5+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-05-07 16:43 UTC (permalink / raw)
To: isar-users; +Cc: Silvano Cirujano-Cuesta
From: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
doc/user_manual.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/user_manual.md b/doc/user_manual.md
index ceac8294..d827f64e 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -501,7 +501,11 @@ Currently, the following image types are provided:
- `ext4` - raw ext4 filesystem image (default option for `qemuarm` machine)
- `wic` - full disk image with user-specified partitions created and populated using the wic tool
- `ubi` - image for use on mtd nand partitions employing UBI
+ - `ubifs` - raw UBI filesystem image, normally used together with UBI partitions
- `ova` - Open Virtual Appliance: image for use on VirtualBox or VMware
+ - `squashfs` - raw squashfs filesystem image
+ - `fit` - FIT image as used by U-Boot
+ - `oci-archive`, `docker-archive`, `docker-daemon`, `containers-storage` - see [generating container images](#generate-container-image-with-root-filesystem)
In addition, image types can be converted using suffixes, e.g. `tar.gz`.
Available conversions are `gz` and `xz`, which both provide image compression.
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/35ba3a1ac21a95df35948d9eac05b5eea41d5cde.1746636231.git.jan.kiszka%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Drop oci image type, update list of available types in documentation
2025-05-07 16:43 [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 1/2] imagetypes_container: Drop oci type 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 2/2] doc/user_manual: Add missing image types to overview 'Jan Kiszka' via isar-users
@ 2025-05-27 5:23 ` 'Jan Kiszka' via isar-users
2025-05-27 7:31 ` Baurzhan Ismagulov
3 siblings, 0 replies; 5+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-05-27 5:23 UTC (permalink / raw)
To: isar-users; +Cc: Silvano Cirujano-Cuesta
On 07.05.25 18:43, 'Jan Kiszka' via isar-users wrote:
> Changes since v1:
> - drop oci
> - update patch 2 accordingly
>
> Jan Kiszka (2):
> imagetypes_container: Drop oci type
> doc/user_manual: Add missing image types to overview
>
> RECIPE-API-CHANGELOG.md | 5 +++++
> doc/user_manual.md | 6 +++++-
> meta/classes/imagetypes_container.bbclass | 6 +-----
> 3 files changed, 11 insertions(+), 6 deletions(-)
>
Ping for merging this.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/1f2ead14-d627-45c8-a831-f9bc8b42ce8e%40siemens.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Drop oci image type, update list of available types in documentation
2025-05-07 16:43 [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
` (2 preceding siblings ...)
2025-05-27 5:23 ` [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
@ 2025-05-27 7:31 ` Baurzhan Ismagulov
3 siblings, 0 replies; 5+ messages in thread
From: Baurzhan Ismagulov @ 2025-05-27 7:31 UTC (permalink / raw)
To: isar-users; +Cc: Silvano Cirujano-Cuesta, Jan Kiszka
On 2025-05-07 18:43, 'Jan Kiszka' via isar-users wrote:
> Changes since v1:
> - drop oci
> - update patch 2 accordingly
>
> Jan Kiszka (2):
> imagetypes_container: Drop oci type
> doc/user_manual: Add missing image types to overview
>
> RECIPE-API-CHANGELOG.md | 5 +++++
> doc/user_manual.md | 6 +++++-
> meta/classes/imagetypes_container.bbclass | 6 +-----
> 3 files changed, 11 insertions(+), 6 deletions(-)
Applied to next, thanks.
With kind regards,
Baurzhan
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/aDVqYNJA0p7H4AeL%40abai.de.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-05-27 7:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-07 16:43 [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 1/2] imagetypes_container: Drop oci type 'Jan Kiszka' via isar-users
2025-05-07 16:43 ` [PATCH v2 2/2] doc/user_manual: Add missing image types to overview 'Jan Kiszka' via isar-users
2025-05-27 5:23 ` [PATCH v2 0/2] Drop oci image type, update list of available types in documentation 'Jan Kiszka' via isar-users
2025-05-27 7:31 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox