From db66072e90bb4d3186d67dd897d02156c6ae40a6 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Mon, 3 Aug 2020 08:58:53 +0200 Subject: Inherit python3native instead of using HOSTTOOLS. Signed-off-by: Patrick Vacek --- classes/image_repo_manifest.bbclass | 2 ++ conf/distro/sota.conf.inc | 2 +- recipes-test/big-update/big-update_1.0.bb | 2 ++ recipes-test/big-update/big-update_2.0.bb | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/classes/image_repo_manifest.bbclass b/classes/image_repo_manifest.bbclass index 72dc28f..47692df 100644 --- a/classes/image_repo_manifest.bbclass +++ b/classes/image_repo_manifest.bbclass @@ -9,6 +9,8 @@ # For more information, see: # https://web.archive.org/web/20161224194009/https://wiki.cyanogenmod.org/w/Doc:_Using_manifests +inherit python3native + # Write build information to target filesystem buildinfo_manifest () { if [ $(which repo) ]; then diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 1d5f8df..7a0ac66 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc @@ -17,4 +17,4 @@ export SOURCE_DATE_EPOCH ?= "0" REPRODUCIBLE_TIMESTAMP_ROOTFS ?= "0" HOSTTOOLS += "git sync sha256sum" -HOSTTOOLS_NONFATAL += "java repo python" +HOSTTOOLS_NONFATAL += "java repo" diff --git a/recipes-test/big-update/big-update_1.0.bb b/recipes-test/big-update/big-update_1.0.bb index 3b1d652..dfb3a96 100644 --- a/recipes-test/big-update/big-update_1.0.bb +++ b/recipes-test/big-update/big-update_1.0.bb @@ -7,6 +7,8 @@ FILES_${PN} = "/usr/lib/big-update" DEPENDS = "coreutils-native" +inherit python3native + do_install() { install -d ${D}/usr/lib/big-update python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 10M) diff --git a/recipes-test/big-update/big-update_2.0.bb b/recipes-test/big-update/big-update_2.0.bb index 7cb6e94..6fffbc1 100644 --- a/recipes-test/big-update/big-update_2.0.bb +++ b/recipes-test/big-update/big-update_2.0.bb @@ -7,6 +7,8 @@ FILES_${PN} = "/usr/lib/big-update" DEPENDS = "coreutils-native" +inherit python3native + do_install() { install -d ${D}/usr/lib/big-update python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 12M) -- cgit v1.2.3-54-g00ecf