summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)Author
2014-02-10remove the 'tools/sudo' file and references in cloud-init.spec.inScott Moser
I'm not really sure what the function of tools/sudo was, and it was definitely not required for fixing the rpm build.
2014-01-31Fix sudo cfg. file mode. Require sudo >= 1.7.2p2-3 with sudoers.d support.Vlastimil Holer
2014-01-31Added config for sudo. Apply sudo config in RPM for Red Hat.Vlastimil Holer
2014-01-31Fix Requires->requirements.txt rename in RPM build.Vlastimil Holer
2014-01-17more boto removal. move httpretty from 'Requires'Scott Moser
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.
2014-01-17Add 'Requires' or 'Recommends' on sudo in packaging files.Vlastimil Holer
2014-01-15Require sudo package.Vlastimil Holer
2013-12-14packages/debian/control.in: remove 'python:Depends'Scott Moser
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.
2013-12-13packages/bddeb: accept python-json-patch or python-jsonpatchScott Moser
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.
2013-09-25bddeb: depend on cloud-utils or cloud-guest-utilsScott Moser
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.
2013-07-29add 'pyserial' to bddeb and bdrpmScott Moser
2013-07-25add debian init scriptsScott Moser
These are debian's init scripts as taken from their trunk svn as of today. Thanks Juerg.
2013-07-25add --init-sytem to ./packages/bddebScott Moser
this way you can now do ./package/bddeb --init-system=sysvinit_deb
2013-07-24update dependencies for jsonpatchScott Moser
2013-06-27Add support for building a SLES rpm packageJuerg Haefliger
2013-03-26fix brpm and bddeb by knowing about 'python-requests'Scott Moser
2013-02-20Added arguments to packages/bddeb:Vlastimil Holer
-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.
2012-11-14add debian watchScott Moser
2012-11-13Even when using boto < 2.6 force the unlazying to occurScott Moser
It seems like its possible that boto 2.5.2 and below have the lazy loading metadata dictionary so as a precaution we will always take the hit of unlazying the metadata dictionary by traversing it which in the non-lazy dictionary case has no effect (its marginal). This also removes the need to check the boto version and the dependency on setup tools just for this case.
2012-11-13add dependency for 'pkg_resources'Scott Moser
2012-11-13sort PKG_MP entriesScott Moser
2012-11-12wrap boto.utils.get_instance_metadata to ensure non-lazy loadingScott Moser
newer versions of boto lazily load the metadata from the ec2 metadata service. Here, we: 1. Add a ec2_utils module that checks which version of boto is being used and under the right versions the metadata dictionary will be expanded. 2. Use this new ec2_utils module in the cloudstack and ec2 datasources as there entrypoints into boto. 3. Add a dependency on python-pkg-resources (from pkg_resources import parse_version) to determine the boto version. LP: #1068801
2012-10-08Make the subrelease a new k/v entry that is handledJoshua Harlow
differently in the rpm spec file template instead of being joined with the release.
2012-10-08Add the ability to have a 'private'Joshua Harlow
release number which can be to increment cloud-init while still maintaining the 'major' cloud-init version number from bzr.
2012-10-05Ensure stderr newline.Joshua Harlow
2012-10-05Only allow the first missing version toJoshua Harlow
use the datetime.now(), the others get a warning message.
2012-10-05Leave off creating fake headers for unknown versionsJoshua Harlow
since this causes rpmbuild to croak with errors like 'changelog not in descending chronological order'.
2012-09-26Add a nice '-p1'Joshua Harlow
2012-09-26Ensure the patches get activated.Joshua Harlow
2012-09-25Clean doesn't seem needed.Joshua Harlow
2012-09-25Add a top_dir define.Joshua Harlow
2012-09-25Fix cheetah syntax error.Joshua Harlow
2012-09-25Fix syntax error.Joshua Harlow
2012-09-25Add the ability to pass patches to theJoshua Harlow
rpm builder utility.
2012-07-16packages/bddeb: support building source packageScott Moser
This does a few things: * changes bddeb to copying out all files created during builddeb. * link to .dsc file * remove the '--no-sign' flag, replace that by '-us -uc' command line args * also know about debuild flag '-S'.
2012-07-16packages/bddeb: fix pep8 warnings. no other changes.Scott Moser
2012-07-10debian packaging: use X.Y.Z~bzrREVNO rather than X.Y.Z~REVNOScott Moser
The ubuntu packaging uses ~bzrREVNO, just be more like that.
2012-07-10debian/control.in: accept software-properties-common (LP: #1021418)Scott Moser
use python-software-properties or software-properties-common to fullfill the need for 'apt-add-repository'.
2012-07-09fix bddeb and brpm: by renaming packaging files that are templatesScott Moser
In cherry picking the cheetah commit, I missed the rename of these files. packages/debian/changelog => packages/debian/changelog.in packages/debian/control => packages/debian/control.in packages/redhat/cloud-init.spec => packages/redhat/cloud-init.spec.in
2012-07-09Revert back to using cheetah + adjust resultant code + templatesJoshua Harlow
At this point there is a mixture of "double hash" cheetah comments and '#*' cheetah comments.
2012-07-09add python-setuptools to debian build-dependsScott Moser
LP: #1022101
2012-07-09brpm: Add printouts which match the 'bddeb' package builder.Joshua Harlow
2012-07-09Get the debian package building working again.Joshua Harlow
Also, remove the pre-processing of debian/rules. instead use an environment variable. To build with sysvinit: $ INIT_SYSTEM=sysvinit ./packages/bddeb Note, debuild does complain with several errors on sysvinit building at the moment. Primarily about package installing into /etc/init.d.
2012-07-09include ~bzr in make-tarball output tarball and top level dirJoshua Harlow
output of 'make-tarball' now is tarball with name formatted as: cloud-init-$VERSION~bzr$REVNO.tar.gz Instead of cloud-init-$VERSION-$REVNO.tar.gz The former is desireable for apt at least as the '~' is understood to mean less than. This merges revno 569 and 570 from lp:~harlowja/cloud-init/rework
2012-07-09get 'brpm' working again. update make-tarball to have a top level dir.Joshua Harlow
2012-07-09rework packaging tools to find the right cloud-init topdirJoshua Harlow
This also fixes 'brpm' to address --init-system change that smoser made to setup.py before the large 'rework' merge.
2012-07-06Got this working for 'brpm' again.Joshua Harlow
2012-07-06Reworking these to look attempt to find the right parent directory, as well Joshua Harlow
as adjustments due to sysvinit rename.
2012-07-06setup.py: rename "daemon type" to "init system"Scott Moser
This brings with it other changes, and also makes an install install all of the requisite init files. (ie, cloud-init needs the -local and the non-local)
2012-07-041. Make the debian rules file a template (and pass in the daemon-type)Joshua Harlow
2. Adjust the bddeb to pass this in (as well as other output statement being added) 3. Adjust make-tarball to only archive the bzr versioned files (using --recursive)