]> git.ipfire.org Git - thirdparty/mkosi.git/commit
postmarketos: implement is_kernel_package
authorClayton Craft <clayton@craftyguy.net>
Mon, 29 Sep 2025 17:57:04 +0000 (10:57 -0700)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 29 Sep 2025 19:00:33 +0000 (21:00 +0200)
commite805253447bbab0cf6b21fe2acc08082a86be16e
tree7e1f7b3f2c10bf2fba0a66feeeeed1de033b9ddf
parentdd51d2e019254071a16e85ed0853e0806df3d230
postmarketos: implement is_kernel_package

There are many many kernel packages in pmOS+Alpine and the pkg names
don't follow any specific pattern that sets them apart from some other
non-kernel packages, so the implementation tries to exclude known
pkgs that are not kernels and assume anything that doesn't match these
package names/patterns are kernel packages.
mkosi/distributions/postmarketos.py