On Mon, 15 Jul 2024 at 08:31, Song, Jiaying (CN) via lists.openembedded.org <[email protected]> wrote: > 2) Add the symbolic link directly to the python3-core package, so this > modification will take effect as long as python3 is used. > Reference attachment: [PATCH] Add Python symbolic links into the Python3-core > package > > A similar issue was resolved this way in Ubuntu 20.04: > https://askubuntu.com/questions/1296790/python-is-python3-package-in-ubuntu-20-04-what-is-it-and-what-does-it-actually
Fedora and Debian take option one for now, but I do think we should just go ahead and provide /usr/bin/python from the core package. If someone is *still* using python 2.x (the public layer is not supporting anything after kirkstone but people can do private hacks), they can undo that provision with a .bbappend easily. Meanwhile we'll be able to drop a whole lot of patches that tweak #! in scripts. Can you send the second patch as an email with 'git send-email'? Please adjust the title to say: 'python3: provide /usr/bin/python as a symlink to python3'. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201922): https://lists.openembedded.org/g/openembedded-core/message/201922 Mute This Topic: https://lists.openembedded.org/mt/107227111/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
