Skip to content

aws-patch v1.9.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 20:58

Added

  • utils_filter_valid_kernel_lines in lib/utils.sh: a shared filter
    that every pm module now runs candidate kernel package lines through
    before picking a "latest" version with sort -V. This closes a gap
    where a package that merely looks like a kernel version string could
    win that comparison and be misreported as an installed or available
    kernel:
    • lib/apt.sh (pm_get_installed_kernels,
      pm_get_latest_available_kernel): now excludes -dbgsym, -dbg,
      and -unsigned packages (e.g. linux-image-6.8.0-31-generic-dbgsym
      ships no bootable kernel at all, but its name sorts as a valid, and
      sometimes higher, version).
    • lib/yum.sh and lib/dnf.sh (pm_get_latest_available_kernel):
      candidates are now anchored to the detected $ARCH, excluding
      kernel.src (source RPM, not installable) and any other
      architecture's build that a multilib-capable yum/dnf
      configuration might otherwise surface.
  • New test coverage in tests/run_tests.sh for all of the above
    (== invalid kernel candidate filtering ==).

Install

Debian/Ubuntu:

curl -fsSLO https://github.com/yousafkhamza/aws-patch/releases/download/v1.9.0/aws-patch_1.9.0_all.deb
sudo dpkg -i aws-patch_1.9.0_all.deb

RHEL/Amazon Linux/Rocky/AlmaLinux:

curl -fsSLO https://github.com/yousafkhamza/aws-patch/releases/download/v1.9.0/aws-patch-1.9.0-1.noarch.rpm
sudo rpm -i aws-patch-1.9.0-1.noarch.rpm

One-line installer (any supported OS):

curl -fsSL https://raw.githubusercontent.com/yousafkhamza/aws-patch/main/install.sh | sudo bash

Verify downloads against SHA256SUMS in this release.