this file is now a (generated) json file that doesn't have a 'dev' flag
anymore.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
test -f Cargo.lock.orig || cp Cargo.lock Cargo.lock.orig
rm -f Cargo.lock
find vendor -name .cargo-checksum.json -execdir "$scriptdir/debian/prune-checksums" "{}" +
-sed -i -e 's/dev: 1/#dev: 1/g' src/stage0.txt # allow beta builds
./x.py build nonexistent/path/to/trigger/cargo/metadata src/bootstrap
needed_crates() {
# work around #842634
if test $$(grep "127.0.0.1\s*localhost" /etc/hosts | wc -l) -gt 1; then \
debian/ensure-patch -N debian/patches/d-test-host-duplicates.patch; fi
- # allow beta builds
- sed -i -e 's/dev: 1/#dev: 1/g' src/stage0.txt
# don't care about lock changes
rm -f Cargo.lock
# We patched some crates so have to rm the checksums