Commit Graph

38 Commits

Author SHA1 Message Date
Fabian Grünbichler
dd1737b12b sync scripts with unstable
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-03-11 14:25:19 +01:00
Fabian Grünbichler
9ef590e9b1 update build.sh to master version
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-05-27 11:27:57 +02:00
Fabian Grünbichler
2466318ed5 build.sh: optionally skip signing
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-07-03 14:11:59 +02:00
Sebastian Ramacher
0b6cb5c14c Revert changes to build.sh and list-rdeps.sh 2022-10-30 21:55:40 +01:00
Sebastian Ramacher
1a6d9f8698 assert_cmd: update to 2.0.5 2022-10-30 21:19:22 +01:00
Blair Noctis
3ceff7930a
build.sh: add EXTRA_DEBS env var 2022-08-29 05:49:40 +08:00
Sylvestre Ledru
ab7e5f03f6 Revert "Revert last revert"
./build.sh: line 190: syntax error: unexpected end of file

This reverts commit e313fb0ff5.
2022-08-28 23:39:46 +02:00
Blair Noctis
e313fb0ff5
Revert last revert
This reverts commit 3d05ab06cc.

Mistaken the commit tree, through I overwrote previous commits.
Sorry!
2022-08-29 05:33:30 +08:00
Blair Noctis
3d05ab06cc Revert "Merge branch 'noctis/extra-debs-env' into 'master'"
This reverts merge request !383
2022-08-28 21:24:31 +00:00
Blair Noctis
ba7cd96d2c
build.sh: add EXTRA_DEBS env var
So you needn't go back in `./build.sh something librust*.deb` to change
`something` over and over.
2022-08-29 05:22:33 +08:00
Sebastian Ramacher
07c47c7db0 Revert unintentional changes to build.sh and dev/list-rdeps.sh
This reverts parts of commit 30c39d24f2.
2022-08-18 22:35:47 +02:00
Sebastian Ramacher
30c39d24f2 trybuild: update to latest version 2022-08-17 22:19:21 +02:00
Sylvestre Ledru
8f0140873d build.sh: add an error when found a missing section FIXME 2022-06-25 00:18:40 +02:00
Ryan Gonzalez
0a25965e0f build: Ensure interrupted dumpavail runs don't require manual cleanup
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-11 17:30:58 -06:00
Ryan Gonzalez
bbaba306be build: Check build deps for the given $DISTRIBUTION
This currently checks unstable's build deps regardless of the
$DISTRIBUTION value, which breaks badly in cases where unstable isn't
available.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2022-01-11 17:30:43 -06:00
Shengjing Zhu
55305beb2c Fix passing DEBSIGN_KEYID to debsign 2021-11-20 21:29:13 +08:00
Ximin Luo
a7db8d2fc5 build: default IGNORE_MISSING_BUILD_DEPS=1 when giving extra debs 2021-10-23 19:01:00 +01:00
Michael R. Crusoe
1e19746632
build.sh: SBUILD_OPTS for passing extra options like "--arch=" to sbuild 2021-10-16 11:23:03 +02:00
Ian Jackson
38e27c2465 Some other scripts: Replace use of which with type -p
This stanza is clone-and-hacked from vars.sh.frag :-( but I can't
easily reuse it because that does quite some Other Stuff.
2021-09-03 11:49:53 +01:00
nick black
d0306da4da
build.sh: explicitly dump extra debs
Set EXTRA_DEBS earlier, to make it available for dependency
checking. Add a loop over EXTRA_DEBS, running `apt-cache show`
on each of them for the dpkg dummy directory. This was necessary
to get build.sh working with extra packages that have not yet
been uploaded into the debian archive. see mr #154 for more info.
2020-12-13 15:05:09 -05:00
Paride Legovini
f890c341a9 build.sh: reset the append-only option lists
sbuild arguments like --autopkgtest-opt (and -opts) append the specified
options to associated config file list (in this case autopkgtest_opts).
This can lead to a broken configuration. For example in ~/.sbuildrc I have:

$autopkgtest_opts = ['--', 'schroot', '%r-%a-sbuild'];

and I can't use build.sh as is as it passes (basically) the same
options to sbuild via --autopkgtest-opts, and the resulting option
list with duplicate entries doesn't work.

This change ensures that the append-only option lists build.sh
uses are reset to empty lists.
2020-11-06 09:42:29 +01:00
Ximin Luo
5e18ef4f5d Update some docs 2020-04-18 16:59:54 +01:00
Fabian Grünbichler
95bfde4347 build.sh pass extra .debs to autopkgtest
by creating and copying a temporary repository to the testbed schroot
session.

Co-developed-by: Wolfgang Silbermayr <wolfgang@silbermayr.at>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-02-03 19:26:02 +01:00
Ximin Luo
6aac734b80 Merge branch 'lintian-opt' into 'master'
Ignore Lintian error for UNRELEASED-* distribution

See merge request rust-team/debcargo-conf!89
2020-01-27 22:46:05 +00:00
Ximin Luo
18699184c5 build.sh: don't error on source-only build 2020-01-27 21:48:01 +00:00
Ximin Luo
43b8c908db build.sh: better handling of CHROOT 2020-01-27 21:21:38 +00:00
Robin Krahl
4a5c588534
Ignore Lintian error for UNRELEASED-* distribution
This patch changes build.sh to suppress the Lintian tag
bad-distribution-in-changes-file if the distribution is
UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO.  This error does not provide
any value as there is nothing the user can do to fix it.
2020-01-26 10:30:40 +01:00
Ximin Luo
9cc53ba7db automatically run autopkgtest by default, and analyze the log 2020-01-25 20:35:42 +00:00
Robin Krahl
e3985debe8
build.sh: Run autopkgtest if RUN_AUTOPKGTEST=1
This patch adds a new rule to the build.sh that instructs sbuild to also
execute autopkgtest if the environment variabe RUN_AUTOPKGTEST is set to
1.  The autopkgtest configuration is based on these instructions:
	https://wiki.debian.org/sbuild#Using_autopkgtest
2020-01-21 14:11:12 +01:00
Ximin Luo
551c3a83ab Fix logic of build.sh for REUSE_EXISTING_ORIG_TARBALL for synstructure 2019-08-16 16:04:12 -07:00
Ximin Luo
89617f5cce build.sh: check dpkg-dummy is not empty 2019-08-07 20:51:55 -07:00
Ximin Luo
a0c73b1a8c Add a note about non-deterministic tarballs 2019-05-31 23:00:29 -07:00
Ximin Luo
2f1d8dc575 Allow re-using the debian orig tarball 2019-01-21 09:03:24 -08:00
Ximin Luo
60864af1c5 When checking build-deps, use packages from unstable 2018-10-11 22:29:00 -07:00
Ximin Luo
987288b320 build.sh: Allow building with extra packages 2018-08-04 10:27:14 -07:00
Ximin Luo
581335d2b7 build.sh: allow one to ignore missing build-deps 2018-08-03 01:38:39 -07:00
Ximin Luo
c7386c9392 Fix cwd in build.sh 2018-07-30 04:18:06 -07:00
Ximin Luo
1057693c2a Improve release scripts to make it easier for non-DD contributors to build the packages 2018-07-30 01:14:19 -07:00