Jump to content

Minor Legacy Linux Headers Build Issue (Lunar)


Torndeco

Recommended Posts

Main Makefile references python2 as python.
PYTHON        = python
PYTHON3        = python3

ideally change this to 
PYTHON        = python2
PYTHON3        = python3


I quickly just made symlink and force a re-install via and removed the symlink afterwards

apt-get --reinstall install <package name>


Not an issue with later version of kernel header package (looks like only uses later python3 scripts.)

-----------------

Sorry haven't had time to check if issue upstream or best way to patch it and submit to repo etc...

Link to comment
Share on other sites

13 hours ago, Torndeco said:

Not an issue with later version of kernel header package

 

Kernel headers on this particular kernel are not in good shape as kernel is not in good shape :( RK3588 is using changed Linux kernel fork used by Rockchip to bring the hardware up - focus is their hardware functions only. More or less only they maintain it without general purpose fixes. Many standard functions are broken or unmaintained. Volunteers and people at board vendors can only try to fix most critical things to make hardware usable ... until this is not working decently (1Y+), there will be many strange problems to find. 

 

14 hours ago, Torndeco said:

Sorry haven't had time to check if issue upstream or best way to patch it and submit to repo etc...


Both is good I guess, but can't say how vendor takes care on PR. With Armbian - if its clear what it is about, tested, came from trustful author, ... its merged pretty fast https://github.com/armbian/build/pulls

Link to comment
Share on other sites

Just been going through the build system

https://github.com/armbian/build/blob/master/lib/functions/compilation/patch/kernel-bootsplash-and-drivers.sh

Noticed that https://github.com/armbian/build/blob/master/patch/misc/general-packaging-5.10.y.patch, doesn't seem to be used
Is this on purpose or did i miss something

-----------------------
Anyway i submitted a pull request at https://github.com/armbian/build/pull/4818

Was afew places where
python needed tobe changed to python2
Symlink was not the ideal solution, considering there is a separate package to symlink python3 to python.


 

Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines