### -*-perl-*- ### ### Configuration for sbuild ### ### (c) 2018 Mark Wooding ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of the distorted.org.uk chroot maintenance tools. ### ### distorted-chroot is free software: you can redistribute it and/or ### modify it under the terms of the GNU General Public License as ### published by the Free Software Foundation; either version 2 of the ### License, or (at your option) any later version. ### ### distorted-chroot is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ### General Public License for more details. ### ### You should have received a copy of the GNU General Public License ### along with distorted-chroot. If not, write to the Free Software ### Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ### USA. my $hackdir = "/usr/local.schroot/hacks"; ## Default distribution. $distribution = "@primary-dist@"; ## Force an update before trying the build so that we get just-now built ## versions of our dependencies. $apt_update = 1; ## Wrap the build command up. $build_env_cmnd = "$hackdir/buildwrap"; ## Use hacked versions of some tools. $aptitude = "$hackdir/aptitude"; $apt_get = "$hackdir/apt-get"; ## We don't actually need to mess with this here, but there's no way to ## augment it, so include a copy to provide a more useful baseline. $environment_filter = [ '^PATH$', '^DEB(IAN|SIGN)?_[A-Z_]+$', '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$', '^USER(NAME)?$', '^LOGNAME$', '^HOME$', '^TERM$', '^SHELL$' ]; ## Use the `/private' space constructed by the `sbuild' profile. $build_environment = { "TMPDIR" => "/private", }; ## Actually resolve alternatives properly. $resolve_alternatives = 1; ## Other things to do. $run_autopkgtest = 0; $run_lintian = 0; $run_piuparts = 0; ## Leave debris for diagnostics. $purge_build_deps = "successful"; $purge_build_directory = "successful"; $purge_session = "successful"; ## Don't do anything clever if the build dependencies fail. The clever thing ## doesn't work on older distributions. Also, it takes extra time, and ## that's not desirable. $bd_uninstallable_explainer = "apt"; ###----- That's all, folks -------------------------------------------------- 1;