diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-02-26 23:57:12 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-02-28 08:39:26 -0800 |
| commit | 3302aa16f4a24282a6f4541ef06bdbdfddf88f95 (patch) | |
| tree | 358983240d5cb6859f32c0e5eb53c8d3e5b9e814 | |
| parent | 1af9f4503bce8780bb7cc179287f96e51c969e39 (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb | 7 |
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 629d2b43d1..85e5f59c7a 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 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | inherit setuptools3 | 16 | inherit setuptools_build_meta |
| 17 | PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl" | ||
| 17 | 18 | ||
| 18 | DEPENDS += "apt intltool-native python3-distutils-extra-native" | 19 | DEPENDS += "apt intltool-native python3-distutils-extra-native" |
| 19 | RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog" | 20 | RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog" |
| 20 | 21 | ||
| 21 | do_install:prepend () { | 22 | do_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 | ||
| 25 | do_install:append () { | 26 | do_install:append () { |
