mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-04 12:07:58 +00:00
cfc4490fe1
`unsquashfs` can use multiple CPU cores during image extraction, significantly reducing boot time. For example the whole boot time from PXE to shell on a 8-core VM, from approximately 45 seconds to 20 seconds. This PR adds `squashfs-tools` as a dependency. Since the package is smaller than 1 MB, the additional image size is justified by the performance improvement. For backward compatibility, the existing `cp`-based extraction method is used when `unsquashfs` is unavailable, such as with images built before this change. The extraction logic has also been moved into the common functions and is now shared between EL9, EL10, and Ubuntu. Both untethered `squashfs` images and `confluent_multisquash` images are supported. Images must be rebuilt to include `unsquashfs` and benefit from the faster extraction path.
26 lines
500 B
Plaintext
26 lines
500 B
Plaintext
system-release
|
|
dnf
|
|
hostname
|
|
irqbalance
|
|
less
|
|
sssd-client
|
|
NetworkManager
|
|
nfs-utils
|
|
numactl-libs
|
|
passwd
|
|
rootfiles
|
|
sudo
|
|
tuned
|
|
yum
|
|
initscripts
|
|
tpm2-tools
|
|
xfsprogs
|
|
e2fsprogs
|
|
fuse-libs
|
|
libnl3
|
|
chrony kernel net-tools nfs-utils openssh-server rsync tar util-linux python3 tar dracut dracut-network ethtool parted openssl dhclient openssh-clients bash vim-minimal rpm iputils lvm2 efibootmgr attr squashfs-tools
|
|
%onlyarch x86_64
|
|
shim-x64.x86_64 grub2-efi-x64
|
|
%onlyarch aarch64
|
|
shim-aa64.aarch64 grub2-efi-aa64
|