mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-04-24 09:46:45 +02:00
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>
9 lines
244 B
Plaintext
9 lines
244 B
Plaintext
do_install:append:class-target() {
|
|
ln -sf ${bindir}/python3 ${D}${bindir}/python
|
|
}
|
|
|
|
PACKAGES:prepend:class-target = "${PN}-as-python "
|
|
FILES:${PN}-as-python = "${bindir}/python"
|
|
RRECOMMENDS:${PN}-core:append:class-target = " ${PN}-as-python"
|
|
|