You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to be able to use wildcards in the blocklist, i have a package where i need to do some manual work when the kernel is updated, i would like to block the kernel updates from being updated.
The problem on atleast debian is that the package for the kernel image is linux-image-[version-number]
i have thus no way currentlyt to add the kernel to the block list to be able to manually update it later.
I would like to be able to add kernel-image-* to the blocklist
The text was updated successfully, but these errors were encountered:
Due to how comparison of Array members works in the Puppet language, this is not so easy to accomplish. There's also a risk of unexpected behavior when trying to automatically construct regex comparison expressions from text-based strings with wildcard characters.
Instead, you could tell Puppet to mark this package as hold so that it will not try to update it:
package { "linux-image-${facts['kernelrelease']}":
mark => 'hold',
}
I wish that would've worked, but marking the current kernel as hold does not stop it from wanting to install newer kernels.
So the feature would still be nice to have.
I ended up with writing a script that upon reboot after patching installed kernel headers, manually compiling the extra modules i needed and modprobing them.
Another thing that i kind of need that's also related to this issue is, adding packages to some kind of wait list.
Where the package waits for a specified amount of days/weeks before being installed. and this would also need to have wildcard support because of the kernel naming.
Use Case
It would be good to be able to use wildcards in the blocklist, i have a package where i need to do some manual work when the kernel is updated, i would like to block the kernel updates from being updated.
The problem on atleast debian is that the package for the kernel image is linux-image-[version-number]
i have thus no way currentlyt to add the kernel to the block list to be able to manually update it later.
I would like to be able to add kernel-image-* to the blocklist
The text was updated successfully, but these errors were encountered: