aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-07kiwi-build: indent conditional bodyGravatar Philip Molloy
2025-04-02README: Declare needed packages and tested environmentsGravatar Neal Gompa
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-03-29teams/cloud/container: Explicitly add shadow-utils.Gravatar Jan Pazdziora
Fixes https://pagure.io/fedora-kiwi-descriptions/issue/169, https://bugzilla.redhat.com/show_bug.cgi?id=2355948.
2025-03-28teams/asahi: add dbus-glibGravatar Davide Cavalca
This is needed for XUL-based applications to work (for example, Zotero). Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
2025-03-23toolbox: include `policycoreutils`Gravatar Simon de Vlieger
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-20config.sh: Move FEX cleanup to the finalization sectionGravatar Neal Gompa
This ensures that the FEX image build does not fail.
2025-03-20kiwi-build: Fix handling of kiwibuild_extra_args when undefinedGravatar Neal Gompa
When the kiwibuild_extra_args variable is not defined, we do not want it to fail with "unbound variable" error. Fixes: efc71e6d8629f0e3b5bd2541650266d632a2fe68
2025-03-20config.sh: Inhibit ldconfig cache generation unitGravatar Neal Gompa
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-20Revert "components/liveinstall: Shrink chunksize to 128KiB and raise to ↵Gravatar Neal Gompa
level 8 LZMA compression" This did not help anything and it makes image builds slower. This reverts commit b57a77e5717e31914faddf5c258d74a0db5e988f.
2025-03-19kiwi-build: Pass on arguments after "--" to kiwiGravatar Neal Gompa
This simplifies supporting one-off custom actions without having to define options in the helper script all the time.
2025-03-19Drop /usr/local/sbin:/usr/sbin from $PATHGravatar Zbigniew Jędrzejewski-Szmek
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-18components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA ↵Gravatar Neal Gompa
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-12Phosh updatesGravatar Allan
2025-03-10Update volume ID substitutions for COSMICGravatar Ryan Brue
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10maintainers: Add COSMIC listing and add Ryan Brue as maintainerGravatar Ryan Brue
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10maintainers: Remove PPC64LE Atomic DesktopsGravatar Timothée Ravier
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-06Block pypy3.10 from Python Classroom LabGravatar Miro Hrončok
We have pypy3.11. pypy3.9 was retired. See https://bugzilla.redhat.com/2348737
2025-03-01config.sh: Drop unnecessary initrd rebuild logic for SoaSGravatar Neal Gompa
The initramfs is built after config.sh is run anyway.
2025-03-01config.sh: Configure the Xfce polkit agent to run on SoaSGravatar Neal Gompa
The Xfce polkit agent configuration was missed in the initial port from the kickstarts.
2025-03-01config.sh: Drop livesys scriptlets for SoaSGravatar Neal Gompa
Some of this was already present in livesys-scripts and the rest was migrated.
2025-02-22components/desktops/kde: Only install KDE PIM on x86_64, AArch64, and POWERGravatar Neal Gompa
This group is currently not available for any other architectures.
2025-02-22components/desktops: Drop duplicate unused DesktopCommon profile entriesGravatar Neal Gompa
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-22VARIANTS: Add Python Classroom Lab and reformat tableGravatar Neal Gompa
The Fedora Python Classroom Lab moved to kiwi with Fedora Linux 42.
2025-02-22VARIANTS: Add all the spins officially using kiwi nowGravatar Neal Gompa
2025-02-22VARIANTS: Add Workstation Edition disk imageGravatar Neal Gompa
This was accidentally left off when it shouldn't be.
2025-02-22VARIANTS: Update names for KDE variantsGravatar Neal Gompa
Fedora KDE Plasma Desktop is now an Edition, and KDE Mobile is the Fedora KDE Plasma Mobile Spin.
2025-02-20components/boot, teams/server: Add partitioning hack for the Raspberry Pi 3Gravatar Neal Gompa
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-20teams/server: Bump the ESP size to 500 MBGravatar Neal Gompa
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-20components, teams/server: Use a common profile for hardware supportGravatar Neal Gompa
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-20teams/server: Use ext4 for /boot for the AArch64 host disk imageGravatar Neal Gompa
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-20components/desktops/lxqt: Replace enki with featherpadGravatar Neal Gompa
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-19server: Remove console=ttyS0 from riscv64 imagesGravatar Andrea Bolognani
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-19components/liveinstall: Switch to EROFS for live mediaGravatar Neal Gompa
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-19users: Fix list of profilesGravatar Andrea Bolognani
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-18naming: rename `minimal` -> `tiny`Gravatar Simon de Vlieger
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-17components/desktops/kde: Add x86-emulation group for AArch64 imagesGravatar Neal Gompa
Reference: https://fedoraproject.org/wiki/Changes/FEX
2025-02-09teams/asahi: Add libgpg-errorGravatar Asahi Lina
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-07Drop basesystem from bootstrap (obsoleted by filesystem)Gravatar Adam Williamson
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-07Initial riscv64 supportGravatar David Abdurachmanov
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-01-31Add a WSL definition and config snippetsGravatar Jeremy Cline
This introduces the beginnings of an image definition for Windows Subsystem for Linux (WSL). The package list is based on the core and standard grouplists. Some packages, like the kernel, dracut, and so on, are omitted as they are unnecessary. Others, like audit, don't work in the environment. Finally, many packages are omitted since I thought "people probably won't want that", so the package list is completely up for debate. This is just a reasonable starting point that works. Build/test instructions: To build the tarball: $ ./kiwi-build --image-profile=WSL-Base --image-type=tbz --output-dir=./build/ Get it to a Windows host with WSL installed. To boot it with cgroupsv2, add the following to `.wslconfig` in the Windows host home folder: [wsl2] kernelCommandLine=systemd.unified_cgroup_hierarchhy=1 cgroup_no_v1=all This assumes the latest WSL release is installed, at least version 2.4.4: $ wsl --install --from-file .\path\to\the\fedora.tar.xz Alternatively, if you're using something prior to version 2.4.4: $ wsl --import --version=2 Fedora C:\path\to\storage\Fedora\ .\path\to\the\fedora.tar.xz Finally, run it with: $ wsl -d Fedora If you are using 2.4.4+, you will be prompted for a username and then dropped into an interactive shell with that user and passwordless sudo access. If you're using an older version, you need to do: $ wsl -d Fedora -u root # /usr/libexec/wsl/oobe.sh Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-01-27Add Fedora Scientific variantsGravatar Neal Gompa
This is ported over from the kickstart definitions.
2025-01-27server: Set bootloader timeout to 3s and show menuGravatar Andrea Bolognani
While cloud images can usually be booted without any issues and for workstation installs we want a visually polished experience, in the case of server installs on real hardware it is generally expected to have convenient access to the bootloader menu for troubleshooting purposes. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-24config: Resize root partition on first bootGravatar Andrea Bolognani
Disk images are usually flashed to media which is much larger than they are, and all that additional space goes unused until the user intervenes. Configure things so that systemd-repart, which runs by default, automatically takes care of resizing the root partition. systemd-growfs, which also runs by default, will subsequently take care of resizing the filesystem to fill the newly-enlarged partition. Note that we don't do this for cloud images, since in that case cloud-init takes care of resizing the root filesystem and the underlying partition together with all the other setup tasks. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-23teams/eln/container: Install standalone sysusers for base containersGravatar Yaakov Selkowitz
This avoids a dependency on the full systemd package for non-init containers.
2025-01-22Add Minimal disk imageGravatar Neal Gompa
This is an example that can be used for creating small disk images to verify that the basics work.
2025-01-22teams/cloud/container: Install standalone sysusers for base containersGravatar Neal Gompa
This avoids a dependency on the full systemd package for non-init containers.
2025-01-14Add Python Classroom Lab variantGravatar Neal Gompa
This is a port over from the kickstart definitions.
2025-01-13teams/workstation: Use web-based Anaconda UI by default for live mediaGravatar Neal Gompa
Reference: https://fedoraproject.org/wiki/Changes/AnacondaWebUIforFedoraWorkstation
2025-01-13tmt: Add build verification for Fedora WorkstationGravatar Neal Gompa
2025-01-13teams/asahi: FEX: Switch SDL2 for sdl2-compatGravatar Neal Gompa
Reference: https://fedoraproject.org/wiki/Changes/SDL2onSDL3