summaryrefslogtreecommitdiff
path: root/.sbuildrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-05-16 21:06:20 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-05-16 21:06:20 -0700
commit48ef7aa97f1c4b57def7c6ff8e037e35e9031f28 (patch)
tree0c70bab20f2e316ed3bf2e46c5b95cacb99411aa /.sbuildrc
parent503067ae6c8376fd684d5a2672ddf2469eeb5cfe (diff)
downloaddotfiles-48ef7aa97f1c4b57def7c6ff8e037e35e9031f28.tar.gz
short and sweet sbuild user config
Diffstat (limited to '.sbuildrc')
-rw-r--r--.sbuildrc127
1 files changed, 7 insertions, 120 deletions
diff --git a/.sbuildrc b/.sbuildrc
index 4d87e141..938319f0 100644
--- a/.sbuildrc
+++ b/.sbuildrc
@@ -1,127 +1,16 @@
-# example for ~/.sbuildrc. (Also see /etc/sbuild/sbuild.conf.) -*- Perl -*-
-#
-# Default settings are commented out.
-# Additional options found in /etc/sbuild/sbuild.conf may be
-# overridden here.
+# -*- Perl -*-
-
-##
-## DPKG-BUILDPACKAGE OPTIONS
-##
-
-# Name to use as override in .changes files for the Maintainer: field
-# Defaults to the DEBEMAIL environment variable, if set, or else the
-# Maintainer: field will not be overridden unless set here.
-#$maintainer_name='Francesco Paolo Lovergine <frankie@debian.org>';
-
-# Name to use as override in .changes file for the Changed-By: field.
-#$uploader_name='Francesco Paolo Lovergine <frankie@debian.org>';
-
-# Key ID to use in .changes for the current upload.
-# It overrides both $maintainer_name and $uploader_name
-#$key_id='Francesco Paolo Lovergine <frankie@debian.org>';
-
-# PGP-related option to pass to dpkg-buildpackage. Usually neither .dsc
-# nor .changes files shall be signed automatically.
-#$pgp_options = ['-us', '-uc'];
-
-# By default, do not build a source package (binary only build).
-# Set to 1 to force creation of a source package, but note that
-# this is inappropriate for binary NMUs, where the option will
-# always be disabled.
-#$build_source = 0;
-
-# By default, the -s option only includes the .orig.tar.gz when needed
-# (i.e. when the Debian revision is 0 or 1). By setting this option
-# to 1, the .orig.tar.gz will always be included when -s is used.
-# This is equivalent to --force-orig-source.
-#$force_orig_source = 0;
-
-# PATH to set when running dpkg-buildpackage.
-#$path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/games";
-
-# This command is run with the dpkg-buildpackage command line passed to it
-# (in the chroot, if doing a chrooted build). It is used by the sparc buildd
-# (which is sparc64) to call the wrapper script that sets the environment to
-# sparc (32-bit). It could be used for other build environment setup scripts
-#
-#$build_env_cmnd = "";
-
-
-##
-## SBUILD BEHAVIOUR
-##
-
-# Default distribution. By default, no distribution is defined, and
-# the user must specify it with the -d option. However, a default may
-# be configured here if desired. Users must take care not to upload
-# to the wrong distribution when this option is set, for example
-# experimental packages will be built for upload to unstable when this
-# is not what is required.
+$pgp_options = ['-us', '-uc'];
+$build_source = 1;
+$build_arch_all = 1;
#$distribution = 'unstable';
-# Default chroot (defaults to distribution[-arch][-sbuild])
-#$chroot = 'unstable-powerpc-sbuild';
-
-# When to purge the build directory afterwards; possible values are "never",
-# "successful", and "always"
-#$purge_build_directory="successful";
-
-# sbuild behaviour; possible values are "user" (exit status reports
-# build failures) and "buildd" (exit status does not report build
-# failures) for use in a buildd setup.
-#$sbuild_mode = "user";
+$run_lintian = 1;
+$lintian_opts = ['--allow-root', '--color=always']; # might also pass: +EIL +pedantic
-
-##
-## TIMEOUTS
-##
-
-# Time to wait for a source dependency lock. The default is 1 minute.
-#$srcdep_lock_wait = 1; # 1 minute
-
-# Time (in minutes) of inactivity after which a build is terminated. Activity
-# is measured by output to the log file.
-#$stalled_pkg_timeout = 150;
-
-# Some packages may exceed the general timeout (e.g. redirecting output to
-# a file) and need a different timeout. Below are some examples.
-#%individual_stalled_pkg_timeout = (smalleiffel => 300,
-# jade => 300,
-# atlas => 300,
-# glibc => 1000,
-# 'gcc-3.3' => 300,
-# kwave => 600);
-#
-
-##
-## FILE AND DIRECTORY LOCATIONS
-##
-
-# This option is deprecated. Directory for chroot symlinks and sbuild
-# logs. Defaults to the current directory if unspecified. It is used
-# as the location of chroot symlinks (obsolete) and for current build
-# log symlinks and some build logs. There is no default; if unset, it
-# defaults to the current working directory. $HOME/build is another
-# common configuration.
-#$build_dir = undef;
-
-# Directory for writing build logs to
-#$log_dir = "$HOME/logs";
-
-# Directory for writing build statistics to
-#$stats_dir = "$HOME/stats";
-
-# the following are also added
-
-#>$build_source = 1;
-$build_arch_all = 1;
-
-# the following are from wiki.d.o/sbuild
# TODO detect or specify in a var at top of file the architecture in the following
-
$run_piuparts = 1;
-$piuparts_opts = ['-b', '/srv/chroot/unstable-i386.tar.gz'];
+$piuparts_opts = ['--schroot', '/srv/chroot/unstable-i386'];
$external_commands = {
'post-build-commands' => [
@@ -134,6 +23,4 @@ $external_commands = {
],
};
-# don't remove this, Perl needs it:
1;
-