
mirror.starlingx.cengn.ca no longer exists. CENGN is kindly forwarding requests to the new location mirror.starlingx.windriver.com for now, but that will only last a few months. We need to replace all the references with the new URL. I will also remove as many 'cengn' references as possible, replacing them with 'stx_mirror' TESTS ===== Run "stx config --upgrade" with various combinations of the old, new & missing values. Run "./stx-init-env --rebuild" and verify stx-localrc is updated as well. Partial-Bug: 2033555 Signed-off-by: Scott Little <scott.little@windriver.com> Change-Id: I18491fb5aa0087029d51bb35c236613c1dc092bc
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
$build_arch_all = undef;
|
|
$build_arch_any = 1;
|
|
$build_source = 1;
|
|
$run_autopkgtest = 0;
|
|
$run_lintian = 0;
|
|
$apt_distupgrade = 0;
|
|
$apt_upgrade = 0;
|
|
$apt_clean = 1;
|
|
$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_repository_keys = ['/opt/pubkey.rsa'];
|
|
$log_colour = 1;
|
|
$build_environment = {
|
|
'OSTREE_OSNAME' => '@OSTREE_OSNAME@'
|
|
};
|
|
$external_commands = {
|
|
"chroot-setup-commands" => [
|
|
'echo "chroot-setup-commands starts:"',
|
|
'cp /etc/apt/sources.list tmp.list',
|
|
'cat tmp.list',
|
|
'sed -i "1 i\deb [trusted=yes] http://stx-stx-repomgr:80/deb-local-binary @DEBIAN_DISTRIBUTION@ main" tmp.list',
|
|
'echo "deb @STX_MIRROR_URL@/debian/debian/deb.debian.org/debian/@DEBIAN_DISTRIBUTION@-@DEBIAN_VERSION@ @DEBIAN_DISTRIBUTION@ main" >> tmp.list',
|
|
'echo "deb-src @STX_MIRROR_URL@/debian/debian/deb.debian.org/debian/@DEBIAN_DISTRIBUTION@-@DEBIAN_VERSION@ @DEBIAN_DISTRIBUTION@ main" >> tmp.list',
|
|
'awk \'!a[$0]++\' tmp.list > new.list && mv -f new.list /etc/apt/sources.list',
|
|
'cat /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',
|
|
'echo "chroot-setup-commands ends"',
|
|
],
|
|
};
|
|
|
|
|
|
1;
|