envkernel build currently not working on linux-postmarketos-grate
Describe your issue
What's the expected behaviour?
On building the kernel package with the envkernel flag it should succeed without errors.
What's the current behaviour?
$ pmbootstrap build --envkernel linux-postmarketos-grate
[17:36:29] ERROR: Couldn't find a kbuild out directory. Is your APKBUILD messed up? If not, then consider adjusting the patterns in pmb/build/envkernel.py to work with your APKBUILD, or submit an issue.
Envkernel was active and a kernel was succesfully built
How to reproduce your issue?
Try building a kernel through the envkernel helper script and try building the package.
What device are you using?
asus-tf700t on a local repo asus-tf201t should show the same behaviour
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
Additional information
Fixing this is as simple as adding
and
add the end of package(). But there was a suggestion in !1883 (merged) to remove these lines. I am not sure if this is proper or not.