clean up after running make_orig-stage0_tarball.sh

Without this, the build/ directory will stick around after having run
make_orig-stage0_tarball.sh. When you then run the suggested command
'dpkg-source -b .', you'll get tons of these types of errors:

dpkg-source: error: cannot represent change to build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-89bc084783fdc439.rlib: binary file contents changed
This commit is contained in:
Andres Salomon 2024-02-09 22:59:39 -05:00
parent 39ef841c01
commit c9e6dc3fec
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ rustc (1.70.0+dfsg1-6) UNRELEASED; urgency=medium
[ Andres Salomon ]
* Fix source_orig-stage0 bootstrapping process to actually include all
architectures (closes: #1021711).
* Run 'd/rules clean' after running make_orig-stage0_tarball.sh so that the
suggestion to rebuild the .dsc actually works.
-- Fabian Grünbichler <debian@fabian.gruenbichler.email> Mon, 15 Jan 2024 08:16:35 +0100

1
debian/rules vendored
View File

@ -491,6 +491,7 @@ source_orig-stage0:
QUILT_PATCHES=debian/patches quilt push -aq; $(QUILT_SPECIAL_SNOWFLAKE_RETURN_CODE)
$(MAKE) -f debian/rules clean
debian/make_orig-stage0_tarball.sh
$(MAKE) -f debian/rules clean
QUILT_PATCHES=debian/patches quilt pop -aq; $(QUILT_SPECIAL_SNOWFLAKE_RETURN_CODE)
rm -rf .pc