Commit Graph
18 Commits
Author SHA1 Message Date
Adam Williamson 18e0d7498f LiveInstall: drop 'anaconda' package
The package called 'anaconda' is empty and only depends on two
things, anaconda-gui and anaconda-tui. Since anaconda 43.32,
anaconda runs the GTK UI if it's installed; it will only run the
web UI if anaconda-gui is not installed. So by including anaconda
we are forcing lives to run GTK UI and not really gaining
anything - we don't want anaconda-tui on lives anyway, I don't
think.

The anaconda-live package will pull in anaconda-webui, so all we
need to do is stop including anaconda. This will cause all live
images to use web UI, which was the intent of
https://github.com/rhinstaller/anaconda/pull/6530 . I guess if
any lives really want/need to use GTK UI, they can put
anaconda-gui into their profiles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 18:19:31 -07:00
Neal Gompa a400e6e5db components/liveinstall: Use -Efragments instead of all-fragments with inode dedupe
Per erofs upstream, this results in faster and more efficient build times
with improved runtime performance.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
2025-06-23 10:49:27 +00: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 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 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
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
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
Neal Gompa a10cb63d95 components/liveinstall: Use GPT for UEFI-enabled ISO images
This mimics the previous state with Lorax-based images.
2024-12-16 06:03:28 -05:00
Neal Gompa 1f496fc743 components: Introduce a BaseCommon profile
This is where the lowest level common denominator configuration
goes for most images go.
2024-12-13 10:18:06 -05:00
Neal Gompa 93220f3c23 components/liveinstall: Exclude uncommon and unneeded storage tools
This saves some space and brings us closer to the old Lorax-based
live media.
2024-11-23 12:50:14 -05:00
Neal Gompa 5486849837 components/liveinstall: Use plain squashfs instead of ext4-in-squashfs
It results in higher compression ratios.
2024-11-23 07:54:54 -05:00
Neal Gompa 244874c5e3 Revert "components/liveinstall: Switch to EROFS for live media"
As it currently stands, this doubles the size of the live ISOs,
which is completely unacceptable.

We will need to make the switch eventually, but we need to figure
out how to compress better first.

This reverts commit 1457e97008.
2024-11-22 18:11:22 -05:00
Neal Gompa 1457e97008 components/liveinstall: Switch to EROFS for live media
EROFS is newer, more performant filesystem that emphasizes speed
and integrity over SquashFS. It is also much better maintained and
friendlier for flash-based storage that live media is typically
run from these days.
2024-11-17 12:32:31 -05:00
Neal Gompa f9fbfc24e0 components/liveinstall: Enable mediacheck for live ISOs
This brings us to full parity with official Fedora ISOs produced
by Lorax.
2024-08-27 15:53:33 -04:00
Adam Williamson 5717cc3604 application_id: no spaces
We discovered Neal got the regex for this wrong in the Kiwi
schema upstream. While he fixes that up, let's just ditch the
spaces here for now so it passes validation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 18:29:36 -07:00
Neal Gompa 70edf9c301 components/liveinstall: Set a default application ID
This way we do not get an incomprehensible value here.
2024-08-22 17:36:49 -04:00
Neal Gompa 316fb431ce components/liveinstall: Support all expected architectures properly
We want to be able to produce live ISOs for AArch64 and POWER with
the correct GRUB configuration. This also sets us up to handle any
quirks for each architecture platform as needed later.

This also includes a change to bump the EFI partition size for ISOs
to 30MB so everything fits.
2024-07-24 08:28:25 -04:00
Neal Gompa 838cd9b2ee Initial import of descriptions 2023-10-14 15:21:23 -04:00