Fix: Python2 Paths for Legacy Kernel v5.10 with Edge Release #4818
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I encountered some python path issues when using legacy kernel with edge release.
Rock5b Legacy Kernel v5.10 & Ubuntu Lunar.
Debian Bullseye (not tested) & Ubuntu Lunar
Don't have a /usr/bin/python symlink that points to python2, due to deprecation of Python 2 (https://wiki.debian.org/Python)
This breaks some old python scripts etc in linux-headers deb
There is also a python-is-python3 that creates a /usr/bin/python symlink pointing to python3
So better to patch the legacy kernel incase cause issues later on.
The patchfile is based off radxa kernel linux-5.10-gen-rkr3.4
Note: Any legacy kernel build (version 5.10 and previous) will be effected on a edge release.
Sorry if not implemented in correct place or patchfile name, first time using armbian build system & bash scripting etc
Thanks