summaryrefslogtreecommitdiff
path: root/packages/debian
AgeCommit message (Collapse)Author
2015-07-22mounts: support reliably detecting and using Azure ephemeral disksScott Moser
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
2015-07-22packages/debian/control.in: add depends on iproute2Scott Moser
tests (specifically DataSourceOpenNebula) runs 'ip' which comes from iproute2.
2015-07-21Add udev rules for Azure ephemeral disks.Daniel Watkins
And install them in the Debian packaging.
2015-06-05packages/debian/control.in: mention recommends of gdiskScott Moser
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.
2015-03-03packages/debian: move software-properties-common to recommends, add eatmydataScott Moser
2015-02-10make bddeb work with python3 or python2Scott Moser
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.
2015-02-09fix copyright messageScott Moser
2014-08-26further remove evidence of pylint.Scott Moser
This just removes comments '# pylint:' things and other code remnents of pylint.
2014-07-24test: make selinux test skipped if selinux not available.Scott Moser
Also, in debian packaging depend on it (so it wont skip there).
2014-07-24remove duplicate entry in control.inScott Moser
2014-07-24Yeah, tests pass now.Dimitri John Ledkov
2014-07-23moreDimitri John Ledkov
2014-07-23use override targetsDimitri John Ledkov
2014-07-23Use nosetests and absolute importsDimitri John Ledkov
2014-07-23Use testsDimitri John Ledkov
2014-07-23fix upDimitri John Ledkov
2014-07-23fix upsDimitri John Ledkov
2014-07-23Modernise packaging, and allow multiple init system installation (based on ↵Dimitri John Ledkov
smoser pastebins).
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-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-13add dependency for 'pkg_resources'Scott 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-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-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-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-06-28packages/debian/rules: remove unused quilt sectionScott Moser
2012-06-251. Change these to be templates where possible.Joshua Harlow
2. Rename to be a debian subdir, matching the redhat subdir.