summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-02-26 23:57:12 -0800
committerKhem Raj <raj.khem@gmail.com>2022-02-28 08:39:26 -0800
commit3302aa16f4a24282a6f4541ef06bdbdfddf88f95 (patch)
tree358983240d5cb6859f32c0e5eb53c8d3e5b9e814 /meta-oe
parent1af9f4503bce8780bb7cc179287f96e51c969e39 (diff)
downloadmeta-openembedded-3302aa16f4a24282a6f4541ef06bdbdfddf88f95.tar.gz
unattended-upgrades: Migrate to use wheels
It still fails with | pip._internal.exceptions.InstallationError: For req: unattended-upgrades==0.1. Unknown scheme key used in /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/unattended-upgrades/2.6-r0/git/dist/unattended_upgrades-0.1-py3-none-any.whl: etc (for file 'unattended_upgrades-0.1.data/etc/kernel/postinst.d/unattended-upgrades'). .data directory contents should be in subdirectories named with a valid scheme key (data, headers, platlib, purelib, scripts) Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
index 629d2b43d..85e5f59c7 100644
--- a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
+++ b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb
@@ -13,13 +13,14 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit setuptools3 16inherit setuptools_build_meta
17PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl"
17 18
18DEPENDS += "apt intltool-native python3-distutils-extra-native" 19DEPENDS += "apt intltool-native python3-distutils-extra-native"
19RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog" 20RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog"
20 21
21do_install:prepend () { 22do_configure:prepend () {
22 cp -v ${S}/data/50unattended-upgrades.Debian ${S}/data/50unattended-upgrades 23 install -Dm 0644 ${S}/data/50unattended-upgrades.Debian ${S}/data/50unattended-upgrades
23} 24}
24 25
25do_install:append () { 26do_install:append () {