summaryrefslogtreecommitdiff
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* mounts: support reliably detecting and using Azure ephemeral disksScott Moser2015-07-221-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Azure's ephemeral disks are not guaranteed to be assigned the same name by the kernel every boot. This causes problems on ~2% of Azure instances, and can be fixed by using udev rules to give us a deterministic path to mount; this patch introduces those udev rules and modifies the Azure data source to use them. Changes to a couple of config modules were also required. In some places, they just needed to learn to dereference symlinks. In cc_mounts this wasn't sufficient because the dereferenced device would have been put in /etc/fstab (rather defeating the point of using the udev rules in the first place). A fairly hefty refactor was required to separate "is this a valid block device?" from "what shall I put in fstab?". LP: #1411582
| * Add udev rules for Azure ephemeral disks.Daniel Watkins2015-07-211-0/+1
| | | | | | | | And install them in the Debian packaging.
* | packages/debian/control.in: add depends on iproute2Scott Moser2015-07-221-0/+1
|/ | | | | tests (specifically DataSourceOpenNebula) runs 'ip' which comes from iproute2.
* packages/debian/control.in: mention recommends of gdiskScott Moser2015-06-051-1/+1
| | | | | | some of the partitioning code in 'disk_setup' module needs sgdisk. In the future that could move to using sfdisk also but for now we do need sgdisk for this.
* packages/brpm: fix for oauth library nameScott Moser2015-05-191-2/+2
| | | | brpm was broken when change from oauth to oauthlib.
* Correcting the pkg-name to 'oauthlib' from 'oauth'Surojit Pathak2015-04-081-1/+1
| | | | | 'make rpm' for 'redhat' distro was failing, as the requirement for dependency was not found, otherwise.
* packages/debian: move software-properties-common to recommends, add eatmydataScott Moser2015-03-031-2/+1
|
* make bddeb work with python3 or python2Scott Moser2015-02-104-51/+90
| | | | | | | | | | | | painful, and not perfect, but at this point the output builds on a vivid system python2 (bddeb --python2) or python3. * remove use of cheetah by bddeb in favor of builtin renderer * add '--python2' flag to bddeb and knowledge of python 2 and python3 package names. * read-dependencies can now read test-requirements also. * differenciate from build-requirements and runtime requirements.
* fix copyright messageScott Moser2015-02-091-1/+1
|
* Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemedBarry Warsaw2015-01-212-0/+3
| | | | | | to be behind trunk. `tox -e py27` passes full test suite. Now to work on replacing mocker.
* Update with trunk and resolve conflictsJoshua Harlow2014-11-251-0/+5
|\
| * Include the systemd config filesJoshua Harlow2014-10-171-0/+5
| |
* | Use TODO.rst instead of removing itJoshua Harlow2014-10-171-1/+1
| |
* | Ensure the files/dirs are retainedJoshua Harlow2014-10-171-1/+3
| |
* | More spec file tweaksJoshua Harlow2014-10-171-7/+7
| | | | | | | | | | | | - Use _libexecdir for the helper binaries - Use _sharedstatedir instead of /var/lib - Ensure _libexecdir/${name} exists
* | Show the spec file contentJoshua Harlow2014-10-131-0/+1
| |
* | Fix the rpm building (currently broken)Joshua Harlow2014-10-131-3/+6
|/
* further remove evidence of pylint.Scott Moser2014-08-261-1/+0
| | | | | This just removes comments '# pylint:' things and other code remnents of pylint.
* test: make selinux test skipped if selinux not available.Scott Moser2014-07-241-0/+1
| | | | Also, in debian packaging depend on it (so it wont skip there).
* remove duplicate entry in control.inScott Moser2014-07-241-1/+0
|
* merge from trunkScott Moser2014-07-241-3/+11
|\
| * bddeb: do not sign by defaultScott Moser2014-07-241-3/+11
| | | | | | | | | | instead of making the common use case need to pass '-us -uc', make the less common use case pass '--sign'.
* | default bddeb to building both systemd and upstartScott Moser2014-07-241-1/+2
| |
* | Yeah, tests pass now.Dimitri John Ledkov2014-07-241-0/+2
| |
* | moreDimitri John Ledkov2014-07-231-3/+1
| |
* | use override targetsDimitri John Ledkov2014-07-231-2/+6
| |
* | Use nosetests and absolute importsDimitri John Ledkov2014-07-231-1/+1
| |
* | Use testsDimitri John Ledkov2014-07-231-0/+1
| |
* | fix upDimitri John Ledkov2014-07-231-1/+1
| |
* | fix upsDimitri John Ledkov2014-07-231-1/+1
| |
* | Modernise packaging, and allow multiple init system installation (based on ↵Dimitri John Ledkov2014-07-235-20/+18
|/ | | | smoser pastebins).
* add package info for bddeb/brpmScott Moser2014-07-212-0/+2
|
* remove the 'tools/sudo' file and references in cloud-init.spec.inScott Moser2014-02-101-2/+0
| | | | | I'm not really sure what the function of tools/sudo was, and it was definitely not required for fixing the rpm build.
* Fix sudo cfg. file mode. Require sudo >= 1.7.2p2-3 with sudoers.d support.Vlastimil Holer2014-01-311-4/+3
|
* Added config for sudo. Apply sudo config in RPM for Red Hat.Vlastimil Holer2014-01-311-0/+4
|
* Fix Requires->requirements.txt rename in RPM build.Vlastimil Holer2014-01-312-2/+2
|
* more boto removal. move httpretty from 'Requires'Scott Moser2014-01-173-25/+0
| | | | | | | | | the Requires would get that string rendered into the package's Depends/Requires (rather than BuildDepends/BuildRequires). We should have BuildDepends/BuildRequires too, but since trunk's package builds do not run 'make test', this isn't a big deal. This also adds 'test-requires' for httpretty.
* Add 'Requires' or 'Recommends' on sudo in packaging files.Vlastimil Holer2014-01-173-0/+3
|\
| * Require sudo package.Vlastimil Holer2014-01-153-0/+3
|/
* packages/debian/control.in: remove 'python:Depends'Scott Moser2013-12-141-1/+0
| | | | | | | | | remove python:Depends macro from the control.in file. This seemed to be overriding my 'python-json-patch | python-jsonpatch' with whichever one was installed. So, we're not getting automatic dependencies on trunk, which is honestly fine. We'll manage them this way.
* packages/bddeb: accept python-json-patch or python-jsonpatchScott Moser2013-12-131-1/+1
| | | | | | | debian bug 717916 renames python-json-patch to python-jsonpatch, so ubuntu cloud-images with cloud-init may not have python-json-patch. Just accept either one.
* bddeb: depend on cloud-utils or cloud-guest-utilsScott Moser2013-09-251-1/+1
| | | | | | saucy split cloud-utils into cloud-guest-utils and cloud-image-utils. The former is in the cloud image, the latter is not, and we actually need it for growpart which is in the former.
* add 'pyserial' to bddeb and bdrpmScott Moser2013-07-292-1/+4
|
* add debian init scriptsScott Moser2013-07-251-0/+8
|\ | | | | | | | | These are debian's init scripts as taken from their trunk svn as of today. Thanks Juerg.
| * add --init-sytem to ./packages/bddebScott Moser2013-07-251-0/+8
| | | | | | | | this way you can now do ./package/bddeb --init-system=sysvinit_deb
* | update dependencies for jsonpatchScott Moser2013-07-242-0/+3
| |
* | Add support for building a SLES rpm packageJuerg Haefliger2013-06-272-14/+195
|/
* fix brpm and bddeb by knowing about 'python-requests'Scott Moser2013-03-262-0/+2
|
* Added arguments to packages/bddeb:Vlastimil Holer2013-02-202-6/+14
| | | | | | | | | -d pass through '-d' to debuild --no-cloud-utils don't depend on cloud-utils package (default: False) These are essential for building on Debian 6, because there are no python-mocker (build dependency) and cloud-utils (install dependency) in squeeze and squeeze-backports.
* add debian watchScott Moser2012-11-141-0/+2
|