From b2156c282a6e727100dee25155fbc38d1532b573 Mon Sep 17 00:00:00 2001 From: Konrad Weihmann Date: Fri, 2 Jun 2023 05:26:25 +0000 Subject: [PATCH] python-is-python3: rework recipe - turn it into an allarch recipe, as there is clearly nothing specific to an architecture in it - use install instead of mkdir, as mkdir uses user specific settings - add a dummy 1.0 version to the recipe - remove setting S, as it's not used anywhere Signed-off-by: Konrad Weihmann --- .../python/{python-is-python3.bb => python-is-python3_1.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename recipes-devtools/python/{python-is-python3.bb => python-is-python3_1.0.bb} (89%) diff --git a/recipes-devtools/python/python-is-python3.bb b/recipes-devtools/python/python-is-python3_1.0.bb similarity index 89% rename from recipes-devtools/python/python-is-python3.bb rename to recipes-devtools/python/python-is-python3_1.0.bb index d2207406..f4668b1b 100644 --- a/recipes-devtools/python/python-is-python3.bb +++ b/recipes-devtools/python/python-is-python3_1.0.bb @@ -2,10 +2,10 @@ DESCRIPTION = "Convenience package which ships a symlink to point the python int LICENSE = "PSF-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/PSF-2.0;md5=76c1502273262a5ebefb50dfb20d7c4f" -S = "${WORKDIR}" +inherit allarch do_install() { - mkdir -p ${D}/${bindir} + install -d ${D}/${bindir} ln -sf python3 ${D}/${bindir}/python }