diff options
| -rw-r--r-- | meta-oe/recipes-devtools/unattended-upgrades/files/0001-setup.py-Disable-autodection-of-modules.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/unattended-upgrades/files/0001-setup.py-Disable-autodection-of-modules.patch b/meta-oe/recipes-devtools/unattended-upgrades/files/0001-setup.py-Disable-autodection-of-modules.patch new file mode 100644 index 0000000000..ec70dd6570 --- /dev/null +++ b/meta-oe/recipes-devtools/unattended-upgrades/files/0001-setup.py-Disable-autodection-of-modules.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 8fd80ead718ffc53d7182b9df6f49974113ff8fc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 23 May 2022 11:23:58 -0700 | ||
| 4 | Subject: [PATCH] setup.py: Disable autodection of modules | ||
| 5 | |||
| 6 | This helps to fix build with latest setuptools | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | setup.py | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index 932bf01..fd5a092 100755 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -12,6 +12,7 @@ if __name__ == "__main__": | ||
| 19 | name='unattended-upgrades', | ||
| 20 | version='0.1', | ||
| 21 | scripts=['unattended-upgrade'], | ||
| 22 | + py_modules=[], | ||
| 23 | data_files=[ | ||
| 24 | ('../etc/logrotate.d/', | ||
| 25 | ["data/logrotate.d/unattended-upgrades"]), | ||
| 26 | -- | ||
| 27 | 2.36.1 | ||
| 28 | |||
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 1ec205f8b8..d4f5b8d0cb 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 | |||
| @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | |||
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/mvo5/unattended-upgrades.git;protocol=https;branch=master \ | 8 | SRC_URI = "git://github.com/mvo5/unattended-upgrades.git;protocol=https;branch=master \ |
| 9 | file://0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch \ | 9 | file://0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch \ |
| 10 | file://0001-setup.py-Disable-autodection-of-modules.patch \ | ||
| 10 | " | 11 | " |
| 11 | 12 | ||
| 12 | SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca" | 13 | SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca" |
