47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
$build_arch_all = undef;
|
|
$build_arch_any = 1;
|
|
$build_source = 1;
|
|
$run_autopkgtest = 0;
|
|
$run_lintian = 0;
|
|
$lintian_opts = ['--fail-on','error,warning', '--profile', 'debian', '-X',
|
|
'debian/changelog,' .
|
|
'documentation/manual,' .
|
|
'fields/distribution,' .
|
|
'fields/version,' .
|
|
'files/hierarchy/standard,' .
|
|
'files/init,' .
|
|
'files/permissions,' .
|
|
'files/scripts,' .
|
|
'init.d,' .
|
|
'nmu,' .
|
|
'scripts,' .
|
|
'systemd,' .
|
|
''
|
|
];
|
|
$lintian_require_success = 0;
|
|
$run_piuparts = 0;
|
|
$purge_build_deps = 'always';
|
|
$purge_build_directory = 'always';
|
|
$extra_repositories = ['deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-build bullseye main',
|
|
'deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-binary bullseye main'];
|
|
$log_colour = 1;
|
|
$build_environment = {
|
|
'OSTREE_OSNAME' => '@OSTREE_OSNAME@'
|
|
};
|
|
$external_commands = {
|
|
"chroot-setup-commands" => [
|
|
'cp /etc/apt/sources.list tmp.list',
|
|
'sed -i "1 i\deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-binary bullseye main" tmp.list',
|
|
'sed -i "1 i\deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-build bullseye main" tmp.list',
|
|
'echo "deb http://deb.debian.org/debian bullseye main" >> tmp.list',
|
|
'echo "deb-src http://deb.debian.org/debian bullseye main" >> tmp.list',
|
|
'awk \'!a[$0]++\' tmp.list > new.list && mv -f new.list /etc/apt/sources.list',
|
|
'echo "Package: *" > /etc/apt/preferences.d/local_repos',
|
|
'echo "Pin: origin stx-stx-repomgr" >> /etc/apt/preferences.d/local_repos',
|
|
'echo "Pin-Priority: 900" >> /etc/apt/preferences.d/local_repos',
|
|
],
|
|
};
|
|
|
|
|
|
1;
|