diff options
-rw-r--r-- | classes/image_repo_manifest.bbclass | 2 | ||||
-rw-r--r-- | conf/distro/sota.conf.inc | 2 | ||||
-rw-r--r-- | recipes-test/big-update/big-update_1.0.bb | 2 | ||||
-rw-r--r-- | recipes-test/big-update/big-update_2.0.bb | 2 |
4 files changed, 7 insertions, 1 deletions
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 @@ | |||
9 | # For more information, see: | 9 | # For more information, see: |
10 | # https://web.archive.org/web/20161224194009/https://wiki.cyanogenmod.org/w/Doc:_Using_manifests | 10 | # https://web.archive.org/web/20161224194009/https://wiki.cyanogenmod.org/w/Doc:_Using_manifests |
11 | 11 | ||
12 | inherit python3native | ||
13 | |||
12 | # Write build information to target filesystem | 14 | # Write build information to target filesystem |
13 | buildinfo_manifest () { | 15 | buildinfo_manifest () { |
14 | if [ $(which repo) ]; then | 16 | if [ $(which repo) ]; then |
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 9804694..99035de 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
@@ -18,4 +18,4 @@ export SOURCE_DATE_EPOCH = "0" | |||
18 | REPRODUCIBLE_TIMESTAMP_ROOTFS = "0" | 18 | REPRODUCIBLE_TIMESTAMP_ROOTFS = "0" |
19 | 19 | ||
20 | HOSTTOOLS += "git sync sha256sum" | 20 | HOSTTOOLS += "git sync sha256sum" |
21 | HOSTTOOLS_NONFATAL += "java repo python" | 21 | 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" | |||
7 | 7 | ||
8 | DEPENDS = "coreutils-native" | 8 | DEPENDS = "coreutils-native" |
9 | 9 | ||
10 | inherit python3native | ||
11 | |||
10 | do_install() { | 12 | do_install() { |
11 | install -d ${D}/usr/lib/big-update | 13 | install -d ${D}/usr/lib/big-update |
12 | python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 10M) | 14 | 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" | |||
7 | 7 | ||
8 | DEPENDS = "coreutils-native" | 8 | DEPENDS = "coreutils-native" |
9 | 9 | ||
10 | inherit python3native | ||
11 | |||
10 | do_install() { | 12 | do_install() { |
11 | install -d ${D}/usr/lib/big-update | 13 | install -d ${D}/usr/lib/big-update |
12 | python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 12M) | 14 | python ${S}/../rand_file.py ${D}/usr/lib/big-update/a-big-file $(numfmt --from=iec 12M) |