Skip to content

distro: Fix the IMAGE_FSTYPES defaults of oel and oel-tiny - #163

Merged
otavio merged 2 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:distro/oel-tiny-cpio-gz
Nov 16, 2026
Merged

otavio merged 2 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:distro/oel-tiny-cpio-gz

Conversation

@lucianogdittgen

Copy link
Copy Markdown
Contributor

Two commits:

distro/oel: Drop the tar.bz2 ext3 IMAGE_FSTYPES default: oel.inc is read before bitbake.conf's IMAGE_FSTYPES ?= "tar.zst". Machines that leave it unset therefore got bzip2 tarballs and obsolete ext3, and so did oel-tiny (QB_DEFAULT_FSTYPE = "tar.bz2 ext3"). They now get the OE-Core default tar.zst. qemu and BSPs that set IMAGE_FSTYPES are unaffected.

distro/oel-tiny: Make the cpio.gz IMAGE_FSTYPES default effective: the ??= default lost to bitbake.conf's later ?=, so oel-tiny never got the initramfs-only cpio.gz its comment promises (nor the matching QB_DEFAULT_FSTYPE). It is now ?=, and machines that set IMAGE_FSTYPES still win.

Tested with bitbake -e: on a machine without IMAGE_FSTYPES, oel goes from tar.bz2 ext3 to tar.zst and oel-tiny from tar.zst to cpio.gz. qemuarm is unchanged.

oel.inc is read before bitbake.conf's IMAGE_FSTYPES ?= "tar.zst", so
machines that leave it unset got bzip2 tarballs and obsolete ext3, on
oel-tiny too (QB_DEFAULT_FSTYPE = "tar.bz2 ext3"). They now get the
OE-Core default tar.zst; qemu and BSPs that set it are unaffected.
Tested with bitbake -e on qemuarm and an IMAGE_FSTYPES-less machine.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
A ??= default loses to bitbake.conf's later IMAGE_FSTYPES ?= "tar.zst",
so oel-tiny never got the initramfs-only cpio.gz its comment promises
(nor QB_DEFAULT_FSTYPE). Use ?=; machines that set IMAGE_FSTYPES, such
as qemu, still win. Tested with bitbake -e: an IMAGE_FSTYPES-less
machine goes tar.zst -> cpio.gz, qemuarm is unchanged.

Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
@otavio
otavio merged commit 9a336df into OSSystemsEmbeddedLinux:master Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants