pve-kernel-meta/efiboot
Thomas Lamprecht 6a3c4acefd fix #2595: less false positives when filtering out meta packages
This fixes selecting kernels for manual inclusion in the ESP which do
not come with a "-pve" in name.
It fixes listing, by just printing out the whole list as is. refresh
complains already if there's a kernel selected but no respective
vmlinuz got found. Additionally, we already plainly add the "manual
kernel list" in kernel_keep_versions, but filter then out any kernel
not containing a "-pve" in boot_kernel_list.

But boot_kernel_list should actually only filter out the kernel meta
packages.

So, use a inverse match and check for a /\d+\.\d+/ pattern, this
seems to work well enough.

Note that kernel_keep_versions doesn't picks up non-pve kernels
anyway, so this only really alters manual selection.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-15 17:17:39 +01:00
..
functions fix #2595: less false positives when filtering out meta packages 2020-02-15 17:17:39 +01:00
Makefile Add efiboot refresh hook to update-initramfs 2019-08-05 13:26:08 +02:00
pve-auto-removal efiboot: guard against grep returning non-zero 2019-07-15 14:28:21 +02:00
pve-efiboot-sync Add efiboot refresh hook to update-initramfs 2019-08-05 13:26:08 +02:00
zz-pve-efiboot zz-pve-efiboot: improve loader title detection 2020-01-31 14:14:47 +01:00