aleluff/uktools

Change of ubuntu kernel archive structure (from v5.7.2 onward)

tomdierkes opened this issue · 4 comments

Seems that Ubuntu has changed their kernel archive structure (again?):
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.2 has now additional subdirs (amd64/, arm64/, armhf/, ...).
As a result, the checksum mechanism is not working anymore in the upgrade script since the checksums are placed into these new subdirs respectively and hence, no upgrade to any new kernels are done.
These tools have been working like a charm; it would be a great pity leaving them broken as they are ...

Right, I made the PR #15 :)

There's still the extra "echo" I'll remove.
That simple change worked for me on Ubuntu 20.04 to upgrade to latest 5.7.6 which I am running now.

BTW I have very little knowledge of the extent of this tool so that most likely breaks other distro...

Hi Ildella,

Your contribution is welcome but you have to add a condition that adapt the behavior since v5.7.2
Once done, I will be happy to accept your MR

Best

I made the change, would that be ok?

Fixed it bb8fb2b