mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
cloud-init: update to 23.1
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
d74219e96b
commit
22c2783546
|
@ -22,11 +22,11 @@ Index: git/setup.py
|
|||
===================================================================
|
||||
--- git.orig/setup.py
|
||||
+++ git/setup.py
|
||||
@@ -87,7 +87,7 @@
|
||||
@@ -98,7 +98,7 @@
|
||||
that files are different outside of the debian directory."""
|
||||
|
||||
# older versions of tox use bdist (xenial), and then install from there.
|
||||
# newer versions just use install.
|
||||
- if not (sys.argv[1] == "install" or sys.argv[1].startswith("bdist*")):
|
||||
- if not (sys.argv[1] == "install"):
|
||||
+ if not ('install' in sys.argv or sys.argv[1].startswith('bdist*')):
|
||||
return template
|
||||
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
From d7a6b8f765e9a08a8811331298e76ebd7a0c7076 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Sat, 7 Nov 2020 15:55:23 +0000
|
||||
Subject: [PATCH] setup.py respect udevdir variable
|
||||
|
||||
* with usrmerge cloud-init triggers QA error:
|
||||
ERROR: cloud-init-20.3-r0 do_package_qa: QA Issue: cloud-init package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
|
||||
ERROR: cloud-init-20.3-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
|
||||
because of:
|
||||
/lib/udev/rules.d/66-azure-ephemeral.rules
|
||||
|
||||
Upstream-Status: [Pending]
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
setup.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: git/setup.py
|
||||
===================================================================
|
||||
--- git.orig/setup.py
|
||||
+++ git/setup.py
|
||||
@@ -159,6 +159,7 @@
|
||||
"sysvinit_deb": "etc/init.d",
|
||||
"sysvinit_openrc": "etc/init.d",
|
||||
"sysvinit_suse": "etc/init.d",
|
||||
+ 'udevdir': pkg_config_read('udev', 'udevdir'),
|
||||
"systemd": pkg_config_read("systemd", "systemdsystemunitdir"),
|
||||
"systemd.generators": pkg_config_read(
|
||||
"systemd", "systemdsystemgeneratordir"
|
||||
@@ -307,7 +308,7 @@
|
||||
["tools/hook-network-manager"],
|
||||
),
|
||||
(ETC + "/dhcp/dhclient-exit-hooks.d/", ["tools/hook-dhclient"]),
|
||||
- (LIB + "/udev/rules.d", [f for f in glob("udev/*.rules")]),
|
||||
+ ('udevdir' + "/rules.d", [f for f in glob("udev/*.rules")]),
|
||||
(
|
||||
ETC + "/systemd/system/sshd-keygen@.service.d/",
|
||||
["systemd/disable-sshd-keygen-if-cloud-init-active.conf"],
|
|
@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c6dd79b6ec2130a3364f6fa9d6380408 \
|
|||
file://LICENSE-Apache2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
"
|
||||
|
||||
SRCREV = "a97fd062f7dbd4b824fd006edd08927ef9dbf24a"
|
||||
SRCREV = "e02c4607923af64311c70ae9a06d6794355e9a61"
|
||||
SRC_URI = "git://github.com/canonical/cloud-init;branch=main;protocol=https \
|
||||
file://cloud-init-source-local-lsb-functions.patch \
|
||||
file://0001-setup.py-check-for-install-anywhere-in-args.patch \
|
||||
file://0001-setup.py-respect-udevdir-variable.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
Loading…
Reference in New Issue
Block a user