[PATCH 2/4] UBUNTU: [Packaging] update-version -- copy over tracking-bug information
Andy Whitcroft
apw at canonical.com
Wed Jul 21 22:13:36 UTC 2021
Copy over the debian/tracking-bug information as this (will) contain the
SRU cycle number.
BugLink: https://bugs.launchpad.net/bugs/1928921
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
update-version | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/update-version b/update-version
index 2e8130c..21d35c6 100755
--- a/update-version
+++ b/update-version
@@ -53,8 +53,14 @@ fi
# Update things from the primary package.
if [ "$no_update" = 'false' ]; then
+ thing='debian/tracking-bug'
+ cp -p "$master_dir/$branch/tracking-bug" "$thing" || exit 1
+ if ! git diff --exit-code -- "$thing" >/dev/null; then
+ git commit -m "UBUNTU: $thing -- update from master" -s -- "$thing"
+ else
+ echo "$thing: no changes from master"
+ fi
for thing in \
- debian/dkms-versions \
debian/scripts/misc/git-ubuntu-log \
debian/scripts/dkms-build \
debian/scripts/dkms-build--nvidia-N \
--
2.31.1
More information about the kernel-team
mailing list