Hello community, here is the log from the commit of package cloud-init for openSUSE:Factory checked in at 2015-04-13 20:31:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cloud-init (Old) and /work/SRC/openSUSE:Factory/.cloud-init.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cloud-init" Changes: -------- --- /work/SRC/openSUSE:Factory/cloud-init/cloud-init.changes 2015-02-27 10:59:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cloud-init.new/cloud-init.changes 2015-04-13 20:31:48.000000000 +0200 @@ -1,0 +2,51 @@ +Mon Apr 13 08:46:40 UTC 2015 - tbecht...@suse.com + +- update to 0.7.6: + - open 0.7.6 + - Enable vendordata on CloudSigma datasource (LP: #1303986) + - Poll on /dev/ttyS1 in CloudSigma datasource only if dmidecode says + we're running on cloudsigma (LP: #1316475) [Kiril Vladimiroff] + - SmartOS test: do not require existance of /dev/ttyS1. [LP: #1316597] + - doc: fix user-groups doc to reference plural ssh-authorized-keys + (LP: #1327065) [Joern Heissler] + - fix 'make test' in python 2.6 + - support jinja2 as a templating engine. Drop the hard requirement on + cheetah. This helps in python3 effort. (LP: #1219223) + - change install path for systemd files to /lib/systemd/system + [Dimitri John Ledkov] + - change trunk debian packaging to use pybuild and drop cdbs. + [Dimitri John Ledkov] + - SeLinuxGuard: remove invalid check that looked for stat.st_mode in os.lstat. + - do not write comments in /etc/timezone (LP: #1341710) + - ubuntu: provide 'ubuntu-init-switch' module to aid in systemd testing. + - status/result json: remove 'end' entry which was always null + - systemd: make cloud-init block ssh service startup to guarantee keys + are generated. [Jordan Evans] (LP: #1333920) + - default settings: fix typo resulting in OpenStack and GCE not working + unless config explicitly provided (LP: #1329583) [Garrett Holmstrom]) + - fix rendering resolv.conf if no 'options' are provided (LP: #1328953) + - docs: fix disk-setup to reference 'table_type' [Rail Aliiev] (LP: #1313114) + - ssh_authkey_fingerprints: fix bug that prevented disabling the module. + (LP: #1340903) [Patrick Lucas] + - no longer use pylint as a checker, fix pep8 [Jay Faulkner]. + - Openstack: do not load some urls twice. + - FreeBsd: fix initscripts and add working config file [Harm Weites] + - Datasource: fix broken logic to provide hostname if datasource does not + provide one + - Improved and less verbose logging. + - resizefs: first check that device is writable. + - configdrive: fix reading of vendor data to be like metadata service reader. + [Jay Faulkner] + - resizefs: fix broken background resizing [Jay Faulkner] (LP: #1338614) + - cc_grub_dpkg: fix EC2 hvm instances to avoid prompt on grub update. + (LP: #1336855) + - FreeBsd: support config drive datasource [Joseph bajin] + - cc_mounts: support creating a swap file +- Refresh addopenSUSEBase.patch +- Refresh setupSUSEsysVInit.diff +- Removed cloudinit-datasources.patch. Applied upstream +- BuildRequires pkg-config. Needed to find correct systemd unit dir. +- Add fix-default-systemd-unit-dir.patch . Use better default for + systemd system unit dir. + +------------------------------------------------------------------- Old: ---- cloud-init-0.7.5.tar.gz cloudinit-datasources.patch New: ---- cloud-init-0.7.6.tar.gz fix-default-systemd-unit-dir.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloud-init.spec ++++++ --- /var/tmp/diff_new_pack.BxgEs5/_old 2015-04-13 20:31:49.000000000 +0200 +++ /var/tmp/diff_new_pack.BxgEs5/_new 2015-04-13 20:31:49.000000000 +0200 @@ -16,7 +16,7 @@ # Name: cloud-init -Version: 0.7.5 +Version: 0.7.6 Release: 0 License: GPL-3.0 Summary: Cloud node initialization tool @@ -37,14 +37,16 @@ Patch6: dynamicInitCmd.diff # FIXME suseSetInitCmd.patch send upstream once the SUSE handlers are accepted Patch7: suseSetInitCmd.patch -Patch8: cloudinit-datasources.patch Patch9: cloud-init-no-dmidecode-on-ppc64.patch Patch10: cloud-init-no-user-lock-if-already-locked.patch Patch11: dataSourceOpenNebula.patch +Patch12: fix-default-systemd-unit-dir.patch BuildRequires: fdupes BuildRequires: filesystem BuildRequires: python-devel BuildRequires: python-setuptools +# pkg-config is needed to find correct systemd unit dir +BuildRequires: pkg-config Requires: bash Requires: file Requires: growpart @@ -131,17 +133,15 @@ %patch5 %patch6 %patch7 -%patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p2 +%patch12 %if 0%{?suse_version} <= 1130 # disable ecdsa for SLE 11 (not available) echo "ssh_genkeytypes: ['rsa', 'dsa']" >> %{SOURCE1} %endif -# Install service files into correct location -sed -i "s|/etc/systemd/system|%{systemd_prefix}/systemd/system|" setup.py %build python setup.py build ++++++ addopenSUSEBase.patch ++++++ --- /var/tmp/diff_new_pack.BxgEs5/_old 2015-04-13 20:31:49.000000000 +0200 +++ /var/tmp/diff_new_pack.BxgEs5/_new 2015-04-13 20:31:49.000000000 +0200 @@ -1,8 +1,8 @@ -Index: cloud-init-0.7.5/cloudinit/config/cc_resolv_conf.py +Index: cloud-init-0.7.6/cloudinit/config/cc_resolv_conf.py =================================================================== ---- cloud-init-0.7.5.orig/cloudinit/config/cc_resolv_conf.py -+++ cloud-init-0.7.5/cloudinit/config/cc_resolv_conf.py -@@ -55,7 +55,7 @@ from cloudinit import util +--- cloud-init-0.7.6.orig/cloudinit/config/cc_resolv_conf.py ++++ cloud-init-0.7.6/cloudinit/config/cc_resolv_conf.py +@@ -58,7 +58,7 @@ LOG = logging.getLogger(__name__) frequency = PER_INSTANCE @@ -10,11 +10,11 @@ +distros = ['fedora', 'opensuse', 'rhel', 'sles'] - def generate_resolv_conf(cloud, log, params): -Index: cloud-init-0.7.5/cloudinit/distros/__init__.py + def generate_resolv_conf(template_fn, params, target_fname="/etc/resolv.conf"): +Index: cloud-init-0.7.6/cloudinit/distros/__init__.py =================================================================== ---- cloud-init-0.7.5.orig/cloudinit/distros/__init__.py -+++ cloud-init-0.7.5/cloudinit/distros/__init__.py +--- cloud-init-0.7.6.orig/cloudinit/distros/__init__.py ++++ cloud-init-0.7.6/cloudinit/distros/__init__.py @@ -41,7 +41,7 @@ OSFAMILIES = { 'redhat': ['fedora', 'rhel'], 'gentoo': ['gentoo'], ++++++ cloud-init-0.7.5.tar.gz -> cloud-init-0.7.6.tar.gz ++++++ ++++ 5587 lines of diff (skipped) ++++++ fix-default-systemd-unit-dir.patch ++++++ === modified file 'setup.py' --- setup.py 2015-01-21 20:28:32 +0000 +++ setup.py 2015-04-13 09:20:40 +0000 @@ -60,7 +60,7 @@ try: (path, err) = tiny_p(cmd) except: - return '/lib/systemd/system' + return '/usr/lib/systemd/system' return str(path).strip() INITSYS_FILES = { ++++++ setupSUSEsysVInit.diff ++++++ --- /var/tmp/diff_new_pack.BxgEs5/_old 2015-04-13 20:31:49.000000000 +0200 +++ /var/tmp/diff_new_pack.BxgEs5/_new 2015-04-13 20:31:49.000000000 +0200 @@ -1,18 +1,20 @@ -diff -uNr cloud-init-0.7.4.orig/setup.py cloud-init-0.7.4/setup.py ---- cloud-init-0.7.4.orig/setup.py 2014-01-04 12:26:55.704357892 -0500 -+++ cloud-init-0.7.4/setup.py 2014-01-04 12:31:24.023166380 -0500 -@@ -39,12 +39,14 @@ - INITSYS_FILES = { +Index: cloud-init-0.7.6/setup.py +=================================================================== +--- cloud-init-0.7.6.orig/setup.py ++++ cloud-init-0.7.6/setup.py +@@ -65,6 +65,7 @@ INITSYS_FILES = { 'sysvinit': [f for f in glob('sysvinit/redhat/*') if is_f(f)], + 'sysvinit_freebsd': [f for f in glob('sysvinit/freebsd/*') if is_f(f)], 'sysvinit_deb': [f for f in glob('sysvinit/debian/*') if is_f(f)], + 'sysvinit_suse': [f for f in glob('sysvinit/suse/*') if is_f(f)], 'systemd': [f for f in glob('systemd/*') if is_f(f)], 'upstart': [f for f in glob('upstart/*') if is_f(f)], } - INITSYS_ROOTS = { +@@ -72,6 +73,7 @@ INITSYS_ROOTS = { 'sysvinit': '/etc/rc.d/init.d', + 'sysvinit_freebsd': '/usr/local/etc/rc.d', 'sysvinit_deb': '/etc/init.d', + 'sysvinit_suse': '/etc/init.d', - 'systemd': '/etc/systemd/system/', + 'systemd': systemd_unitdir(), 'upstart': '/etc/init/', }