From 9200f2a8011b5360e01ea567cdb39a6779388241 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 3 Apr 2021 10:51:59 +0200 Subject: big-update: use python3 * the recipe was changed to inherit python3native, but the do_install still calls python(2) not python3 Signed-off-by: Martin Jansa --- recipes-test/big-update/big-update_2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-test/big-update/big-update_2.0.bb b/recipes-test/big-update/big-update_2.0.bb index 6fffbc1..e667a4c 100644 --- a/recipes-test/big-update/big-update_2.0.bb +++ b/recipes-test/big-update/big-update_2.0.bb @@ -11,5 +11,5 @@ 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) + python3 ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 12M) } -- cgit v1.2.3-54-g00ecf From ed8af4957ffd1b1a1be189ec1b6c330f4229a34a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 3 Apr 2021 10:52:58 +0200 Subject: big-update: respect libdir variable Signed-off-by: Martin Jansa --- recipes-test/big-update/big-update_2.0.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-test/big-update/big-update_2.0.bb b/recipes-test/big-update/big-update_2.0.bb index e667a4c..e545b72 100644 --- a/recipes-test/big-update/big-update_2.0.bb +++ b/recipes-test/big-update/big-update_2.0.bb @@ -3,13 +3,13 @@ LICENSE = "MPL-2.0" SRC_URI = "file://rand_file.py" -FILES_${PN} = "/usr/lib/big-update" +FILES_${PN} = "${libdir}/big-update" DEPENDS = "coreutils-native" inherit python3native do_install() { - install -d ${D}/usr/lib/big-update - python3 ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 12M) + install -d ${D}${libdir}/big-update + python3 ${S}/../rand_file.py ${D}${libdir}/big-update/a-big-file $(numfmt --from=iec 12M) } -- cgit v1.2.3-54-g00ecf From 76ab8b04f25ad20a89fb28b4608ce78a8a271495 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 3 Apr 2021 10:55:08 +0200 Subject: big-update: add LIC_FILES_CHKSUM * fixes: ERROR: big-update-2.0-r0 do_populate_lic: QA Issue: big-update: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum] Signed-off-by: Martin Jansa --- recipes-test/big-update/big-update_2.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-test/big-update/big-update_2.0.bb b/recipes-test/big-update/big-update_2.0.bb index e545b72..690e62c 100644 --- a/recipes-test/big-update/big-update_2.0.bb +++ b/recipes-test/big-update/big-update_2.0.bb @@ -1,5 +1,6 @@ DESCRIPTION = "Example Package with 12MB of random, seeded content" LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" SRC_URI = "file://rand_file.py" -- cgit v1.2.3-54-g00ecf