[PATCH 2/4] UBUNTU: [Packaging] update-version -- copy over tracking-bug information
Stefan Bader
stefan.bader at canonical.com
Thu Jul 22 12:23:56 UTC 2021
On 22.07.21 00:13, Andy Whitcroft wrote:
> 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'
^why not call this thing tbfile?...
> + 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 \
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210722/d1f69152/attachment.sig>
More information about the kernel-team
mailing list