Is there a better way to prevent a custom kernel update than apt hold?


Recommended Posts

I been running my own images with great success thanks to rock solid build environment but one thing that catches me by surprise every now and then is that updating the system can also overwrite my custom kernel, which is is far from ideal. Up until now I been issuing an apt hold command for the packages but I was thinking maybe there is a better way. Because even with the hold in place if I don't pay close attention and do an apt dist-upgrade for example they will still be replaced despite the hold. Is there a better way to prevent my kernels from being updated by the stock kernel?

 

Cheers!

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

On 3/9/2020 at 3:40 PM, ning said:

or just add SUBREVISION=.99999 to your build command line

 

Will try, thanks for the suggestion.

 

On 3/9/2020 at 4:13 PM, Igor said:


That will be good enough until we bump to 20.08

 

What would the best way to prevent these kernel upgrades from ever happening? If that's possible of course.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...