summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)Author
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)
2012-07-03Add the ability to have setup.py have a CLI option that specifies the daemon ↵Joshua Harlow
type which then later affects the installation of certain config files, which then can be extracted during package creation as needed.
2012-07-021. Fixup the setup.py to not include custom startup scripts, let the ↵Joshua Harlow
packaging solutions handle these 2. Get the cloud-init specfile working for the init.d case (with the right postun and post and install sections) a. It works!!!
2012-06-29packages/bddeb: fix broken bddebScott Moser
needed to import glob, and use os.symlink, not util.symlink. Also, here made the 'tar' verbose. if '-v' option given.
2012-06-29Add in the linking of the _all.deb with a symlink 'cloud-init_all.deb'Joshua Harlow
2012-06-28Fix chopping off the wrong folers, oopsJoshua Harlow
2012-06-28Syntax error fixupJoshua Harlow
2012-06-28Remove the keep all the init directories which didn't workJoshua Harlow
2012-06-281. Match the variable names with what they are used forJoshua Harlow
2. Create a set of directories that need to be kept for the different boot modes.
2012-06-28Continue working on removing and allowing the correct files in the spec ↵Joshua Harlow
generated file