2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Remove microcode from genesis

Should not be needed for genesis level activity, and consumes a large
amount of storage.
This commit is contained in:
Jarrod Johnson 2021-06-24 14:00:19 -04:00
parent c19ae8a451
commit 4c6f0843f9
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ cat /usr/lib/dracut/modules.d/97genesis/install-* > /usr/lib/dracut/modules.d/97
chmod +x /usr/lib/dracut/modules.d/97genesis/install /usr/lib/dracut/modules.d/97genesis/installkernel
mkdir -p boot/initramfs
mkdir -p boot/efi/boot
dracut --xz -N -m "genesis base" -f boot/initramfs/distribution $(uname -r)
dracut --no-early-microcode --xz -N -m "genesis base" -f boot/initramfs/distribution $(uname -r)
cp -f /boot/vmlinuz-$(uname -r) boot/kernel
cp /boot/efi/EFI/BOOT/BOOTX64.EFI boot/efi/boot
cp /boot/efi/EFI/centos/grubx64.efi boot/efi/boot/grubx64.efi

View File

@ -1,6 +1,6 @@
%define arch x86_64
Version: 3.2.0
Release: 5
Version: 3.3.0
Release: 2
Name: confluent-genesis-%{arch}
BuildArch: noarch
Summary: Genesis servicing image for confluent