From 4c6f0843f904e73d06bd7d60ac404f252dde85bf Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 24 Jun 2021 14:00:19 -0400 Subject: [PATCH] Remove microcode from genesis Should not be needed for genesis level activity, and consumes a large amount of storage. --- genesis/buildgenesis.sh | 2 +- genesis/confluent-genesis.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/genesis/buildgenesis.sh b/genesis/buildgenesis.sh index d058e6c0..5ec804fe 100644 --- a/genesis/buildgenesis.sh +++ b/genesis/buildgenesis.sh @@ -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 diff --git a/genesis/confluent-genesis.spec b/genesis/confluent-genesis.spec index 6b8e73ab..b100c6a1 100644 --- a/genesis/confluent-genesis.spec +++ b/genesis/confluent-genesis.spec @@ -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