Skip to content

Commit

Permalink
Merge pull request #3439 from citrus-it/cloudinit
Browse files Browse the repository at this point in the history
cloud-init - update from 23.1.2 to 23.4.1
  • Loading branch information
hadfl authored Jan 5, 2024
2 parents e0cc774 + 96cad4f commit f44d7f8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 64 deletions.
17 changes: 7 additions & 10 deletions build/cloud-init/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,21 @@
. ../../lib/build.sh

PROG=cloud-init
VER=23.1.2
VER=23.4.1
DASHREV=0
PKG=system/management/cloud-init
SUMMARY="Cloud instance initialisation tools"
DESC="Cloud-init is the industry standard multi-distribution method for "
DESC+="cross-platform cloud instance initialisation"

PYMVER=${PYTHONVER%%.*} # 3
SPYVER=${PYTHONVER//./} # 39

set_builddir $PROG-illumos-$VER-$DASHREV

RUN_DEPENDS_IPS+="
library/python-$PYMVER/idna-$SPYVER
library/python-$PYMVER/jsonschema-$SPYVER
library/python-$PYMVER/pyrsistent-$SPYVER
library/python-$PYMVER/six-$SPYVER
library/python-$PYMVER/pyyaml-$SPYVER
library/python-$PYTHONMAJVER/idna-$PYTHONPKGVER
library/python-$PYTHONMAJVER/jsonschema-$PYTHONPKGVER
library/python-$PYTHONMAJVER/pyrsistent-$PYTHONPKGVER
library/python-$PYTHONMAJVER/six-$PYTHONPKGVER
library/python-$PYTHONMAJVER/pyyaml-$PYTHONPKGVER
"

# Force using the legacy setup.py backend as the PEP518 build ends up putting
Expand All @@ -53,7 +50,7 @@ function install_deps {

logmsg "--- installing python dependencies"
logcmd mkdir -p $DESTDIR/$_site || logerr "mkdir $DESTDIR/$_site"
logcmd $_pip -r $TMPDIR/$BUILDDIR/requirements.txt
logcmd $_pip -r $TMPDIR/$BUILDDIR/frozen-requirements.txt
logcmd $_pip pyserial

export PYTHONPATH=$DESTDIR/$_site
Expand Down
52 changes: 0 additions & 52 deletions build/cloud-init/patches/requirements.patch

This file was deleted.

1 change: 0 additions & 1 deletion build/cloud-init/patches/series

This file was deleted.

2 changes: 1 addition & 1 deletion doc/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
| system/library/dbus | 1.14.10 | https://dbus.freedesktop.org/releases/dbus | Odd minor versions are dev/unstable
| system/library/libdbus-glib | 0.112 | https://dbus.freedesktop.org/releases/dbus-glib/
| system/library/pcap | 1.10.4 | http://www.tcpdump.org/#latest-releases
| system/management/cloud-init | 23.1.2 | https://github.com/canonical/cloud-init/releases
| system/management/cloud-init | 23.4.1 | https://github.com/canonical/cloud-init/releases
| system/management/ipmitool | 1.8.19 | https://github.com/ipmitool/ipmitool/releases
| system/management/snmp/net-snmp | 5.9.4 | https://github.com/net-snmp/net-snmp/tags
| system/network/lldp | 0.4alpha | https://sourceforge.net/projects/openlldp/files/
Expand Down
1 change: 1 addition & 0 deletions lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2849,6 +2849,7 @@ build_dependency() {

set_python_version() {
PYTHONVER=$1
PYTHONMAJVER=${PYTHONVER%%.*}
PYTHONPKGVER=${PYTHONVER//./}
PYTHONPATH=/usr
PYTHON=$PYTHONPATH/bin/python$PYTHONVER
Expand Down

0 comments on commit f44d7f8

Please sign in to comment.