s390-tools: update-crate.sh is buggy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
s390-tools (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
When trying to use debian/
This should be fixed in the next upload to devel, and could also probably be lumped into a bigger SRU in mantic.
The following changes fix it nicely:
diff -Nru s390-tools-
--- s390-tools-
+++ s390-tools-
@@ -1,6 +1,6 @@
#!/bin/sh
-set -e
+set -ex
newpackage=$1
newversion=$2
@@ -8,11 +8,14 @@
export QUILT_PATCHES=
# Pop vendor-
-quilt pop vendor-
+if quilt unapplied | grep -q vendor-
+ quilt push -a
+ quilt pop debian/
+fi
quilt pop
# Prepare a new patch
-quilt new update-
+quilt new debian/
# Update the dependency in the lockfile
quilt shell cargo update -p $newpackage --precise $newversion --manifest-path rust/pvsecret/