meta-virtualization/recipes-extended/cloud-init/cloud-init_git.bb
Bruce Ashfield 04a41b738b cloud-init: update to 25.1.1
Bumping cloud-init to version 25.1.1, which comprises the following commits:

    8a1d73498 Release 25.1.1
    a9e405737 test: pytestify cc_chef tests, add migration test
    0d6aaeaac chef
    de77e4e6d chef: migrate files in old config directories for backups and cache
    eb5d386f7 fix: correct the path for Chef's backups (#5994)
    9456cd206 fix(Azure): don't reraise FileNotFoundError during ephemeral setup (#6113)
    b4a559a52 fix(azure): handle unexpected exceptions during obtain_lease() (#6092)
    2a26bbd0f Allow to set mac_address for VLAN subinterface (#6081)
    0042f191b fix: Remove erroneous EC2 reference from 503 warning (#6077)
    1e839355e fix: NM reload and bring up individual network conns (#6073)
    410795561 fix: stop warning on dual-stack request failure (#6044)
    04673594d fix: install_method: pip cannot find ansible-pull command path (#6021)
    648eae504 fix: Fix DataSourceAliYun exception_cb signature (#6068)
    5df6b515d fix: Update OauthUrlHelper to use readurl exception_cb signature
    fd38e428f test: add OauthUrlHelper tests
    ab80b7c4e test: Remove CiTestCase from test_url_helper.py
    4a8c8cd51 test: pytestify test_url_helper.py
    36d98c856 fix: track more removed modules (#6043)
    9dfa06835 Release 25.1 (#6039)
    02388dfb9 ci: fix post-merge packaging CI (#6038)
    39937db3e feat(azure): Fix imds-based ssh_pwauth (#6002)
    1fbdb3e65 ci: check for sorted patches (#6036)
    27adc8e59 feat: aliyun datasource support crawl metadata at once (#5942)
    d52950c1d docs: document /usr merge breaking change (#6032)
    7ddc7662d test: Add integration test for /var mounts (#6033)
    ffd49b3fd test: Ensure pre-24.2 custom modules work (#6034)
    c2778f086 doc: Update references to older keys (#6022)
    28bd0bc38 fix: untyped-defs in tests/unittests/{config, net, sources} (#6023)
    adbaf4828 fix: don't reference PR in post-merged CI (#6019)
    1a9393ee9 chore: explicitly skip broken ansible integration tests (#5996)
    60efeb07a tests(oracle): fix test_install_missing_deps apt race condition (#5996)
    12613e516 test(oracle): fix test_ubuntu_drivers_installed (#5996)
    024d66adc test(oracle): fix test_frequency_override integration test (#5996)
    fb9c6bf38 chore: add type hint to IntegrationCloud's cloud_instance field (#5996)
    8386271e3 test(oracle): fix modules/test_lxd.py::test_storage_lvm on noble (#5996)
    9e591fff2 test(oracle): fix platform 'oci' for verify_clean_boot test (#5996)
    fa331315d net/sysconfig: do not remove all existing settings of /etc/sysconfig/network (#5991)
    f62735793 fix: remove wrong return when checking if network necessary (#6013)
    2b7d9636b fix: typing for rsyslog, ubuntu_pro, power_state_change (#5985)
    b860d70fa fix: Retry on OpenStack HTTP status codes (#5943)
    b45d66a03 fix: Ensure fqdn is treated as string in get_hostname_fqdn (#5993)
    b38ab5f23 feat(vmware): Convert imc network config to v2 (#5937)
    1f58b5583 ci: add upstream post-merge test
    4800b2dd1 ci: check if upstream commit causes ubuntu patch conflicts
    0cf1ef227 ci: organize cla tests together
    6677ce2db test: eliminate obsolete cases, add non-error case
    d5793befc chore: remove redundant manual schema validation
    1d2d5c3e9 doc: clarify subiquity docs
    56ed508de chore: cleanup `len' usage (#5956)
    eb1965a43 Fix: GCE _get_data crashes if DHCP lease fails (#5998)
    a0ebb8d35 fix: correct the path for Chef's cache (#5994)
    d9df24299 fix: Run ansible with run_user instead of root for distro install_method (#5986)
    d75840bee fix: retry AWS hotplug for async IMDS (#5995)
    d43678251 feat(integration_tests): add optional INSTANCE_TYPE setting (#5988)
    4dce22a03 feat(integration-tests): set boto3 and botocore to INFO to prevent log spamming
    415c8e4fe ci: add 'tox -e integration-tests-fast' command
    5f290f516 chore: Add feature flag for manual network waiting (#5977)
    622627755 Release 24.4.1
    65e97883d fix: Ensure _should_wait_via_user_data() handles all user data types (#5976)
    4ee653914 fix: Don't log error in wait_for_url (#5972)
    054734921 fix: Use /usr/lib/ rather than /lib in packaging code (#5970)
    6cdf51ad5 fix: uninstall custom signal handlers before shutdown (#5913)
    38acce473 Use log_with_downgradable_level for user password warnings (#5927)
    1e719e3c1 doc: change to hyphenated keys (#5909)
    f97e5fbc4 fix: Don't break modules that use get_meta_doc() (#5953)
    168f821e1 refactor: Pass deprecation log args as tuple (#5953)
    1a5155320 feat(url_helper): Retry on 503 error (#5938)
    7f09102ad fix: Wait for udev on openstack (#5947)
    9bac08a99 test: disambiguate resource cleanup from test failure (#5926)
    4ba9021f8 fix: use program name of netcat as installed by upstream, "nc" (#5933) (#5933)
    0cfba0c01 ci: bump canonical/setup-lxd to version v0.1.2 (#5948)
    486795521 feat(cc_chef): Allow change of Chef configuration file (#5925)
    73ed293c6 docs: fix typo in generated file in LXD tutorial (#5941)
    1304fe947 feat: Identify Samsung Cloud Platform as OpenStack (#5924)
    bc26e15fd fix: don't deadlock when starting network service with systemctl (#5935)
    179c69886 feat: Custom keys for apt archives (#5828)
    eefd75256 test: improve test initialization error path (#5920)
    2e3d4e699 chore: improve logging when lxd detection fails (#5919)
    7104df9d0 fix: Add "manual" to allowed subnet types  (#5875)
    f6075a917 fix: remove bad ssh_svcname setting for Gentoo/OpenRC (#5918)
    3f97be6df feat(gentoo): Add compatibility for Gentoo with systemd (#5918)
    266536dab fix(ovf): no warning should be log when rpctool found no value (#5915)
    44df41b8f Move DS VMware to be in front of DS OVF (#5912)
    1a1bdca73 ci: Add proper 'Breaks: ' to integration testing simple deb (#5923)
    2a6757da1 chore: Add akhuettel to CLA signers file (#5917)
    3f821536e chore: eliminate calls at import time (#5889)
    13ffd198a test: Add pyserial to test-requirements.txt (#5907)
    cbcba9ed4 test: Allow unknown size in growpart test (#5876)
    d9633a5e8 doc: Update tutorials
    c42a92b69 fix: bump azure key size to 3072 (#5841)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-03-25 03:06:54 +00:00

74 lines
2.5 KiB
BlitzBasic

DESCRIPTION = "Init scripts for use on cloud images"
HOMEPAGE = "https://github.com/canonical/cloud-init"
SECTION = "devel/python"
LICENSE = "GPL-3.0-only | Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6dd79b6ec2130a3364f6fa9d6380408 \
file://LICENSE-GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE-Apache2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
"
SRCREV = "8a1d73498c505049cd281a1661c2750b93fb4a6f"
SRC_URI = "git://github.com/canonical/cloud-init;branch=25.1.x;protocol=https \
file://cloud-init-source-local-lsb-functions.patch \
file://0001-setup.py-check-for-install-anywhere-in-args.patch \
"
PV = "v25.1.1+git"
S = "${WORKDIR}/git"
DISTUTILS_INSTALL_ARGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '--init-system=sysvinit_deb', '', d)}"
DISTUTILS_INSTALL_ARGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--init-system=systemd', '', d)}"
do_install:append() {
ln -s ${libdir}/${BPN}/uncloud-init ${D}${sysconfdir}/cloud/uncloud-init
ln -s ${libdir}/${BPN}/write-ssh-key-fingerprints ${D}${sysconfdir}/cloud/write-ssh-key-fingerprints
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
install -m 755 -d ${D}${sysconfdir}/init.d/
install -m 755 ${S}/sysvinit/debian/* ${D}${sysconfdir}/init.d/
fi
}
inherit pkgconfig
inherit setuptools3_legacy
inherit update-rc.d
inherit systemd
# setup.py calls "pkg-config systemd --variable=systemdsystemunitdir" and needs to find our dev manager
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'udev', '', d)}"
inherit python3native
PACKAGES += "${PN}-systemd"
FILES:${PN} += "${sysconfdir}/* \
${datadir}/* \
${nonarch_libdir}/${BPN}/*"
FILES:${PN}-systemd += "${systemd_unitdir}/*"
RDEPENDS:${PN}-systemd += " ${PN}"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME:${BPN} = "cloud-init"
DEPENDS += "python3-pyyaml-native \
python3-requests-native \
python3-jinja2-native \
"
RDEPENDS:${PN} = "python3 \
python3-jinja2 \
python3-configobj \
python3-requests \
python3-jsonpatch \
python3-jsonschema \
python3-pyyaml \
python3-oauthlib \
python3-netifaces \
python3-charset-normalizer \
bash \
"