One should be able to install kernel updates as part of a dnf update operation.
Actual behavior
Due to Oracle Linux 8 having a much fatter kernel than RHEL 8 or CentOS Stream 8, the /boot partition on Oracle Linux 8 images ends up being too small when using the default partition-sizes. This prevents any dnf update operations that involve updating the kernel RPMs.
Steps to reproduce behavior
Launch a system from an Oracle Linux 8 AMI that is a couple months old
Attempt to patch up the resulting EC2 (e.g., dnf update -y)
Operation fails due to insufficient space in /boot
Suggestions for fix
Either:
Update the amigen8-build.sh script to pass a "suitable for all distros" size-override flag-option (-b/--bootprt-size) to the AMIgen8 DiskSetup.sh script
Update the amigen8-build.sh script to pass a "suitable for Oracle Linux 8" size-override flag-option (-b/--bootprt-size) to the AMIgen8 DiskSetup.sh script for just OL8 builds
Expected behavior
One should be able to install kernel updates as part of a
dnf update
operation.Actual behavior
Due to Oracle Linux 8 having a much fatter kernel than RHEL 8 or CentOS Stream 8, the
/boot
partition on Oracle Linux 8 images ends up being too small when using the default partition-sizes. This prevents anydnf update
operations that involve updating thekernel
RPMs.Steps to reproduce behavior
dnf update -y
)/boot
Suggestions for fix
Either:
amigen8-build.sh
script to pass a "suitable for all distros" size-override flag-option (-b
/--bootprt-size
) to the AMIgen8DiskSetup.sh
scriptamigen8-build.sh
script to pass a "suitable for Oracle Linux 8" size-override flag-option (-b
/--bootprt-size
) to the AMIgen8DiskSetup.sh
script for just OL8 builds