mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
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>
This commit is contained in:
parent
1af9f4503b
commit
3302aa16f4
|
|
@ -13,13 +13,14 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
inherit setuptools_build_meta
|
||||
PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl"
|
||||
|
||||
DEPENDS += "apt intltool-native python3-distutils-extra-native"
|
||||
RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog"
|
||||
|
||||
do_install:prepend () {
|
||||
cp -v ${S}/data/50unattended-upgrades.Debian ${S}/data/50unattended-upgrades
|
||||
do_configure:prepend () {
|
||||
install -Dm 0644 ${S}/data/50unattended-upgrades.Debian ${S}/data/50unattended-upgrades
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user