projg2 / eclean-kernel

Installed kernel cleanup tool
GNU General Public License v2.0
31 stars 10 forks source link

the blspec layout doesn't consider /etc/kernel/entry-token #35

Closed MeisterP closed 1 year ago

MeisterP commented 1 year ago

I recently installed gentoo and it comes with /etc/kernel/entry-token set to gentoo. In this case, machine-id is replaced by gentoo and kernels end up in directories like /boot/gentoo/6.1.8-gentoo-dist/{linux, initrd}

mgorny commented 1 year ago

Feel like making a pull request?

MeisterP commented 1 year ago

Feel like making a pull request?

My python knowledge is very basic. I don't think I can find a suitable solution.

mgorny commented 1 year ago

Yeah, don't worry, I'll try to take a look at it in a few days.

mgorny commented 1 year ago

I'm sorry it took this long but I've finally enabled it on my system and implemented it. I think it works correctly, please let me know if you have any further issues (unfortunately, EK is currently broken on my system since I used EFI stub kernels).