Commit Graph
207 Commits
Author SHA1 Message Date
Debarshi Ray e6ef81877e teams/cloud/container: Don't explicitly install p11-kit for Toolbx
The p11-kit RPM is neither explicitly mentioned in the list of default
RPMs on Fedora Silverblue and Workstation [1], nor was it explicitly
installed by the Container/Dockerfile equivalent of the fedora-toolbox
OCI images [2].

The Container/Dockerfile listed p11-kit as one of the RPMs that had to
be reinstalled, because it was inherited from the fedora base image, and
had its documentation and translations stripped out.  The reinstallation
would be skipped if for some reason it was no longer part of the fedora
base image.

This was misinterpreted when creating the Kickstart equivalent of the
fedora-toolbox OCI images [3] and that's how it ended up in the KIWI
description.

In reality, p11-kit gets pulled in as a dependency of ca-certificates,
gnutls, etc. and that's sufficient.

Fallout from d27e4c3f6c

[1] https://pagure.io/fedora-comps/

[2] https://src.fedoraproject.org/container/fedora-toolbox

[3] fedora-kickstarts commit 48e2c3b5598de32f
    https://pagure.io/fedora-kickstarts/c/48e2c3b5598de32f
    https://pagure.io/fedora-kickstarts/pull-request/964
    https://pagure.io/releng/issue/11399

https://pagure.io/fedora-kiwi-descriptions/pull-request/189
2025-05-28 15:31:39 +02:00
Jeremy Cline bbb0824283 wsl: Add wget to the default package set
Although we include curl, some folks expect wget. Also, one of the more
common uses of WSL is in combination with VS Code, and its setup script
on remote hosts uses wget.

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-05-15 11:31:42 -04:00
Troy Dawson fb1c568fea Add WSL to ELN
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-05-01 02:57:18 +00:00
Miroslav Vadkerti 28f7cf0cf6 Split tmt plans into separate zuul jobs
This should improve the experience by having separate clickable
links for each test matrix item and see the pass/fail more early.
Also make Testing Farm scale better as it uses separate TF requests
for testing.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2025-05-01 00:41:01 +00:00
Neal Gompa c3e509d22e config.sh: grub2: Set boot_success=1 for variants using auto-hiding menus
This ensures that the menu does not pop up for the first boot on
variants that leverage boot success tracking.
2025-04-30 17:44:33 -04:00
Janne Grunau 66b87054e8 grub2: Enable bls for all non-live images
This became necessary with 10.0.13 / after merging
https://github.com/OSInside/kiwi/pull/2535 but doesn't seem to
noticeable effects besides miisin "GRUB_ENABLE_BLSCFG=true" in
/etc/default/grub.
2025-04-29 22:36:27 +02:00
Janne Grunau 61f0794ad5 grub2: Use menu_auto_hide=1 to match anaconda
menu_auto_hide=1 is required for the boot_success provided by Fedora's
grub2 package. This will fall back to the previous kernel and show the
usually hidden grub menu when booting fails.

This makes it unnecessary to override the timeout_style and using a
reduced timeout of 1 second for disk images.
2025-04-27 22:04:22 +02:00
Neal Gompa 13c5d722ad components/liveinstall: Filter out unwanted EFI files from the ESP
This drastically reduces the content included in the embedded ESP
for live media, and avoids weird side-effects caused by extra EFI
binaries being present.
2025-04-16 19:27:24 -04:00
Neal Gompa 35ef9796e9 components/desktops/soas: Only install the livecd-iso-to-disk script on x86
This package only exists on x86 architectures.

Fixes: 06ef485a89
2025-04-16 19:27:21 -04:00
Neal Gompa 06ef485a89 components/desktops/soas: Only install the livecd-iso-to-disk script
We do not need the full livecd-tools on the SoaS image, only the
scripts needed to put the ISO on a USB stick with persistence.
2025-04-09 12:12:31 -04:00
Neal Gompa db029d864e components/desktops/soas: Add initial-setup GUI package
This ensures that the initial-setup system is present on the image,
which is required for disk image builds.
2025-04-09 12:10:19 -04:00
Philip Molloy e27c697924 kiwi-build: indent conditional body 2025-04-07 10:36:12 +02:00
Neal Gompa d3770941df README: Declare needed packages and tested environments
This is not exhaustive, but does get users into the right environment
to build images. We also indicate that this is only tested on Fedora Linux.
2025-04-02 08:20:14 -04:00
Jan Pazdziora 3589fa143a teams/cloud/container: Explicitly add shadow-utils.
Fixes https://pagure.io/fedora-kiwi-descriptions/issue/169,
https://bugzilla.redhat.com/show_bug.cgi?id=2355948.
2025-03-29 19:35:28 +01:00
Davide Cavalca e3a079f93f teams/asahi: add dbus-glib
This is needed for XUL-based applications to work (for example, Zotero).

Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
2025-03-28 15:25:45 -07:00
Simon de Vlieger 14689b3737 toolbox: include policycoreutils
It can be useful to have access to `setfiles` inside a `toolbx`
container. Especially when using them as bootstrap roots to setup
other trees.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-03-23 21:11:18 +01:00
Neal Gompa db073ec6ab config.sh: Move FEX cleanup to the finalization section
This ensures that the FEX image build does not fail.
2025-03-20 19:43:41 -04:00
Neal Gompa 6c39b23364 kiwi-build: Fix handling of kiwibuild_extra_args when undefined
When the kiwibuild_extra_args variable is not defined, we do not
want it to fail with "unbound variable" error.

Fixes: efc71e6d86
2025-03-20 18:48:12 -04:00
Neal Gompa d7316ab543 config.sh: Inhibit ldconfig cache generation unit
The ldconfig cache generator runs on first boot and attempts to
read the whole image into memory, which eats gigabytes of RAM and
slows the boot down by half a minute. This is unnecessary for
images being booted unmodified.

Thus, create the necessary dot files to inhibit their runs.
2025-03-20 18:26:00 -04:00
Neal Gompa f0a7ae8da3 Revert "components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA compression"
This did not help anything and it makes image builds slower.

This reverts commit b57a77e571.
2025-03-20 18:23:13 -04:00
Neal Gompa efc71e6d86 kiwi-build: Pass on arguments after "--" to kiwi
This simplifies supporting one-off custom actions without having to
define options in the helper script all the time.
2025-03-19 10:48:55 -04:00
Zbigniew Jędrzejewski-SzmekandSimon de Vlieger 364b0b8f62 Drop /usr/local/sbin:/usr/sbin from $PATH
If $PATH is not set, we get the default from crun [1]:
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
This is not useful, because in the image, /bin, /sbin, /usr/sbin are all
symlinks. /usr/local/sbin does not exist.

When /usr/sbin is a symlink to /usr/bin, and we use have a $PATH with
/usr/sbin before /usr/bin, various tools will discover /usr/sbin/foo when
looking for 'foo' [2], which is confusing and ugly.

[1] https://github.com/containers/crun/blob/a980c89665bb488ff206e47e9083f75b48528714/src/libcrun/container.c#L183
[2] https://src.fedoraproject.org/rpms/setup/pull-request/18#comment-253719

Co-authored-by: Simon de Vlieger <cmdr@supakeen.com>
2025-03-19 14:50:50 +01:00
Neal Gompa b57a77e571 components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA compression
It seems the larger chunk size seems to slow the start of images in
low memory environments due to the ldconfig cache generator unit
eating gigabytes of memory from mapping the chunks into memory.

Attempt to work around this by lowering the chunk size while raising
the compression level to attempt to maintain image sizes.
2025-03-18 09:46:57 -04:00
Allan 01b5342bb5 Phosh updates 2025-03-12 08:21:40 +00:00
Ryan Brue c1c5bcdf1e Update volume ID substitutions for COSMIC
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10 13:34:53 -05:00
Ryan Brue 1a2ab0023b maintainers: Add COSMIC listing and add Ryan Brue as maintainer
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10 13:33:12 -05:00
Timothée Ravier b1e2456529 maintainers: Remove PPC64LE Atomic Desktops
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-10 11:59:22 +01:00
Miro Hrončok 3fe7a48178 Block pypy3.10 from Python Classroom Lab
We have pypy3.11.
pypy3.9 was retired.

See https://bugzilla.redhat.com/2348737
2025-03-06 19:55:37 +01:00
Neal Gompa 0e959df19b config.sh: Drop unnecessary initrd rebuild logic for SoaS
The initramfs is built after config.sh is run anyway.
2025-03-01 08:30:02 -05:00
Neal Gompa 832be6c098 config.sh: Configure the Xfce polkit agent to run on SoaS
The Xfce polkit agent configuration was missed in the initial port
from the kickstarts.
2025-03-01 06:33:04 -05:00
Neal Gompa cd8fae1546 config.sh: Drop livesys scriptlets for SoaS
Some of	this was already present in livesys-scripts and	the rest
was migrated.
2025-03-01 06:33:04 -05:00
Neal Gompa 960270bb86 components/desktops/kde: Only install KDE PIM on x86_64, AArch64, and POWER
This group is currently not available for any other architectures.
2025-02-22 20:42:32 -05:00
Neal Gompa 4d0315767d components/desktops: Drop duplicate unused DesktopCommon profile entries
This is principally to avoid confusion as the DesktopCommon profile
is defined in one place and used across the board.

No functional changes.
2025-02-22 04:05:41 -05:00
Neal Gompa 914e61919e VARIANTS: Add Python Classroom Lab and reformat table
The Fedora Python Classroom Lab moved to kiwi with Fedora Linux 42.
2025-02-22 01:22:56 -05:00
Neal Gompa ecd07afee9 VARIANTS: Add all the spins officially using kiwi now 2025-02-22 01:17:14 -05:00
Neal Gompa f06dd20ad5 VARIANTS: Add Workstation Edition disk image
This was accidentally left off when it shouldn't be.
2025-02-22 01:16:24 -05:00
Neal Gompa 1cc05ef282 VARIANTS: Update names for KDE variants
Fedora KDE Plasma Desktop is now an Edition, and KDE Mobile is the
Fedora KDE Plasma Mobile Spin.
2025-02-22 01:11:44 -05:00
Neal Gompa fcdcd34d50 components/boot, teams/server: Add partitioning hack for the Raspberry Pi 3
The Raspberry Pi 3 does not recognize a FAT filesystem marked with
the 0xef type, so until we drop support for this device, hack the
partition manually to use a legacy FAT filesystem partition type.
2025-02-20 14:46:28 -05:00
Neal Gompa 5844c5c608 teams/server: Bump the ESP size to 500 MB
Now that we have a lot more stuff installed in the ESP, we need
the ESP to be bigger. This matches the size used for the desktop
disk variants.
2025-02-20 14:15:26 -05:00
Neal Gompa ada197be81 components, teams/server: Use a common profile for hardware support
It is hard to ensure that hardware support packages are pulled in
universally when it's splintered across different variant profiles.

To fix this and ensure Server benefits from this, unify everything
into a common profile and make everything require it.
2025-02-20 14:15:26 -05:00
Neal Gompa 2cb33874d1 teams/server: Use ext4 for /boot for the AArch64 host disk image
U-Boot does not support XFS and this causes significant issues
when trying to boot Fedora Server on single board computers.

Resolve this by using ext4 here, as all U-Boot variants generally
support this.
2025-02-20 07:55:35 -05:00
Neal Gompa 04baf2e19b components/desktops/lxqt: Replace enki with featherpad
Enki is nice and advanced, but it also crashes when you try to use
some basic functionality, so let's put back a simpler app that works.
2025-02-20 07:33:54 -05:00
Andrea Bolognani 7bbf6475e8 server: Remove console=ttyS0 from riscv64 images
Turns out that different boards needs different values, so
hardcoding a specific one here is not a good idea. Luckily,
Linux can usually figure things out on its own and automatically
provide a working serial console.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-02-19 19:15:14 +01:00
Neal Gompa 3d2b7b0dc4 components/liveinstall: Switch to EROFS for live media
This switches from SquashFS to EROFS using LZMA compression
with a 1M chunksize and fragement dedpulication for inodes enabled.

This attempts to match the defaults for SquashFS in kiwi and provides
a good balance for image compression and creation time.

Note that "-Ededupe" is not used because it is not multi-threaded and
is currently extremely slow.
2025-02-19 12:19:53 -05:00
Andrea Bolognani dbed27c61e users: Fix list of profiles
Of the profiles that are currently listed, only LiveInstall
actually exists. Use BootCore instead, which all profiles derive
from. In most cases we'll end up locking the root user as part
of config.sh anyway.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-02-19 01:28:19 +01:00
Simon de Vlieger 32a5d56825 naming: rename minimal -> tiny
This renames the minimal profile to "tiny", it's useful to have a
profile that builds quickly and provides a small artifact. However, the
minimal name mirrors the Fedora Minimal spin name and might confuse
people building images about what they're actually building.

The Tiny descriptions do not replicate the Fedora Minimal spin.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-02-18 13:08:03 +00:00
Neal Gompa a442d1b21e components/desktops/kde: Add x86-emulation group for AArch64 images
Reference: https://fedoraproject.org/wiki/Changes/FEX
2025-02-17 19:30:30 -05:00
Asahi Lina 737d8274e0 teams/asahi: Add libgpg-error
This is a tiny package (250kB) that seems to be a relatively common
dependency (it just provides error codes and some common helpers, used
by stuff other than gpg itself).
2025-02-09 18:50:43 +09:00
Adam Williamson c0a77191ff Drop basesystem from bootstrap (obsoleted by filesystem)
We decided we don't need two packages like this. See
https://src.fedoraproject.org/rpms/filesystem/c/3f741bf2a89c9e1bb685943c41fd298e6683dd50?branch=rawhide

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-07 09:12:30 -08:00
David Abdurachmanov b5d377d912 Initial riscv64 support
Most of the changes are self-explanatory and just follow what's
already happening for existing architectures.

Two things are worth pointing out:

  * we need to use shim-unsigned instead of shim-signed because
    riscv64 is not fully integrated into Fedora yet and so we
    can't do Secure Boot signing for the time being;

  * we use ext4 as bootfilesystem since in most cases the
    underlying firmware is going to be U-Boot, which needs to be
    able to load the board's DTB from /boot and doesn't support
    XFS.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-02-07 15:06:22 +01:00