Commit Graph

73 Commits

Author SHA1 Message Date
Travis Cross
430433a6d7 Improve error message 2014-12-25 04:19:05 +00:00
Travis Cross
505cd2947a Refactor distro detection and handling 2014-12-25 03:58:49 +00:00
Travis Cross
3c8dd3e4df Handle missing lsb_release
The lsb-release package isn't a stated dependency and isn't present on
a minimal Debian install.
2014-12-25 03:51:30 +00:00
Steven Ayre
0822f6a020 FS-7019 swap debian/ubuntu autodetection order 2014-11-21 18:44:20 +00:00
Steven Ayre
a6401813a1 FS-7019 detect debian explicitly, error on unknown distribution 2014-11-21 17:59:56 +00:00
Steven Ayre
de90201101 FS-7019 full list of distributions to target based on distribution autodetection 2014-11-21 17:57:09 +00:00
Travis Cross
63734bcde0 Add debian build option to include avoided modules
This is a convenience option that can be passed to either
debian/bootstrap.sh or to debian/util.sh to include a module in the
build that would normally be excluded.  This option, -p, can be passed
multiple times.
2014-10-08 20:45:20 +00:00
Travis Cross
a8b68a14bc Add debian build option to use system sources.list
If -t is passed to debian/util.sh, then we will import the
/etc/apt/sources.list mirrors and all apt keys into the
pbuilder/cowbuilder build environment.

This is useful e.g. when the FS build depends on a library not
available in Debian yet.
2014-10-08 20:43:42 +00:00
Travis Cross
33b4eef596 Add debian build option to keep pbuilder image config
Normally we override the config of each pbuilder/cowbuilder image when
we update the image before using it for the build.  Passing this
option allows for using an existing cowbuilder image (assuming it's in
the correct location) with some existing desirable configuration.
2014-10-08 20:41:37 +00:00
Brian West
573257144d FS-6689 #comment next time please attach a diff #resolve 2014-07-25 07:31:13 -05:00
Travis Cross
03c4014d0e Update bundled version of opus for debian 2014-07-23 16:10:04 +00:00
Travis Cross
4ccdc1def3 Override config on cowbuilder update
This allows new settings, e.g. new mirrors, to propagate into the
chroot images.
2014-06-11 01:05:36 +00:00
Travis Cross
afb4a20090 Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
2014-06-11 00:55:06 +00:00
Travis Cross
8a4a8f6fb8 Retry the cowbuilder create operation on failure
Sometimes while the debian repositories are updating there are
sporadic signature failures.  It's annoying to have these break the
build, and the only thing to do is to retry, so we'll retry here
automatically.  We were already retrying on the update operation that
can fail in a similar manner.
2014-06-11 00:52:12 +00:00
Travis Cross
f408dae2af Drop pinned memcached file download from debian 2014-04-19 06:29:24 +00:00
Travis Cross
83125dada5 Follow rename to configure.ac in debian/ 2014-03-19 19:12:25 +00:00
Travis Cross
9a0032e9b7 Exit non-zero from build-all on any build failure
./debian/util.sh build-all will do a number of builds in sequence or
parallel.  We now track if any of those builds fail to return a
.changes file and exit non-zero.
2014-02-18 21:05:12 +00:00
Travis Cross
3cad316804 Drop default support for squeeze 2014-02-01 15:03:52 +00:00
Travis Cross
e364450a57 Add util option to customize suite names
This lets us set the suite name in the changelog file to
e.g. sid-experimental.  This way we can share a single debian repo URL
for all versions, but make sure that incoming files are directed to
the correct distro.
2014-01-21 05:18:18 +00:00
Travis Cross
671fc3bc4e Add convenience option for building a small subset of modules 2014-01-17 19:30:49 +00:00
Travis Cross
383b77a1f0 Add option to install build-deps needed by debian/util.sh 2014-01-17 19:24:13 +00:00
Peter Olsson
b762332669 Initial commit of mod_v8 2014-01-14 15:38:41 +01:00
Travis Cross
f2f1c38fe4 Follow bump to opus lib version for debian packaging 2013-12-16 21:13:34 +00:00
Travis Cross
8099af6564 Cleanup whitespace in debian/ 2013-12-10 03:53:17 +00:00
Travis Cross
e525dc38ba Follow update of soundtouch version 2013-11-15 18:44:48 +00:00
Ken Rice
a84610b3b0 update opus tarball rev 2013-09-10 12:15:46 -05:00
Travis Cross
26d5a6eb33 Remove redundant orig file purifying step
We kill these files with .gitattributes.
2013-05-28 23:52:46 +00:00
Travis Cross
0a50536aa8 Add generic mechanism for building non-DFSG packages 2013-05-28 23:52:41 +00:00
Travis Cross
10bede7416 Fix typo 2013-05-26 04:55:36 +00:00
Travis Cross
4448d6b743 debian: wheezy is the new stable
And jessie is the new testing.

The king is dead, long live the king!
2013-05-25 19:05:35 +00:00
Travis Cross
c8df04fc4b Allow setting compression level for dpkg-source
Apparently the Raspberry Pi blows up (out of memory) if you call
dpkg-source -z9 as it implicitly calls xz -9.  Thanks to Ken Rice for
running headlong into this.

Also note that while xz takes -0, dpkg-source won't take -z0, so we
check for this and make sure we call dpkg-source correctly.
2013-03-21 21:00:27 +00:00
Travis Cross
860d2aca57 Make a note of commands that must be run as root 2013-01-17 21:02:41 +00:00
Travis Cross
6ec38f1ae5 Correct getopts invocation for build-all -m
Thanks-to: Philip Hands <phil@hands.com>
2013-01-17 20:50:35 +00:00
Travis Cross
2df9d2e478 Remove the siren and ilbc code from the debian source package
The Siren code is non-free per DFSG, and the ILBC code is under
unclear licensing until we upgrade to the WebRTC version.
2012-12-19 17:55:47 +00:00
Travis Cross
53c24a93e0 debian: Add support for humanized version string 2012-09-23 07:49:21 +00:00
Travis Cross
5fd7643ab1 debian: style 2012-09-23 07:49:20 +00:00
Travis Cross
d98bb16b3d debian: Ensure date is calculated in UTC 2012-09-23 04:13:29 +00:00
Travis Cross
9b79922a51 Retry updating base image
If updating the base image fails, retry a few times.  If that doesn't
work, simply move on; the update usually fails because Debian is
updating its mirrors; it's not important that we be absolutely up to
date.
2012-06-25 08:55:48 +00:00
Travis Cross
f840eecdb8 debian: Add mechanism to specify modules.conf 2012-06-25 07:12:56 +00:00
Travis Cross
e38f0a1b02 debian: Correct alphabetization 2012-06-23 22:34:19 +00:00
Travis Cross
f79a37a363 debian: Add option to use existing .orig.* file 2012-06-23 22:34:19 +00:00
Travis Cross
d18a7ffa26 Bundle .version file with debian nightlies
This adds the .version file to nightlies produced with debian/util.sh.
2012-06-23 22:34:18 +00:00
Travis Cross
b16821944e Harmonize debian nightly version with print_git_revision
Debian nightlies created with debian/util.sh now have the version set
in the same format as Makefile.am produces.  Unlike Makefile.am,
however, we show the orig packaging date rather than the date of the
latest commit, as the latter could legitimately regress and we need
this to always increment.
2012-06-23 22:34:18 +00:00
Travis Cross
992e05667c debian: put the build options in the right place 2012-06-02 17:30:48 +00:00
Travis Cross
ed9ff6e375 debian: don't rebuild dsc files 2012-06-02 16:18:53 +00:00
Travis Cross
c15613e065 debian: set variable outside fork 2012-06-02 16:09:39 +00:00
Travis Cross
337c9d4365 debian: output the correct name of the .changes file 2012-06-02 15:17:10 +00:00
Travis Cross
73b34cb373 debian: kill children if we exit unexpectedly 2012-06-02 05:19:19 +00:00
Travis Cross
cf68dc731a debian: only build binary-indep packages once for each distro 2012-06-02 04:20:52 +00:00
Travis Cross
f3c2180c52 add usage help to debian/util.sh 2012-06-02 01:10:11 +00:00