mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-04-24 09:46:45 +02:00
python3: move python link to its own python3-as-python package
the FILES is overriden in the python anonymous function for dynamic packages (python3-core) causing the following error: ```log ERROR: python3-3.12.8-r0 do_package: QA Issue: python3: Files/directories were installed but not shipped in any package: /usr/bin/python Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. python3: 1 installed and not shipped files. [installed-vs-shipped] ERROR: python3-3.12.8-r0 do_package: Fatal QA errors were found, failing task. ``` it is safer to make a new package split and add a RRECOMMENDS to python-core on it fixes: https://codeberg.org/flk/meta-wayland/issues/14 Signed-off-by: Ludovic Jozeau <ludovic.jozeau@scle.fr>
This commit is contained in:
parent
702a586260
commit
d7cbcfb9eb
@ -2,5 +2,7 @@ do_install:append:class-target() {
|
||||
ln -sf ${bindir}/python3 ${D}${bindir}/python
|
||||
}
|
||||
|
||||
FILES:${PN}-core:class-target += "${bindir}/python"
|
||||
PACKAGES:prepend:class-target = "${PN}-as-python "
|
||||
FILES:${PN}-as-python = "${bindir}/python"
|
||||
RRECOMMENDS:${PN}-core:append:class-target = " ${PN}-as-python"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user