[PATCH 5/9] UBUNTU: [Packaging] parameterise ancillary packages
Cory Todd
cory.todd at canonical.com
Tue Sep 27 14:18:26 UTC 2022
On Wed, Sep 14, 2022 at 02:54:51PM +0100, Andy Whitcroft wrote:
> Now that our ancillaries are "direct" ancillaries we need to ensure they
> are full source packages at our version. Copy in anything common at
> clean time. Generate an appropriate changelog with matching versions.
>
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
> debian/rules.in | 1 +
> debian/scripts/gen-rules.lrm | 4 ++
> debian/scripts/parameterise-ancillaries | 54 +++++++++++++++++++++++++
> 3 files changed, 59 insertions(+)
> create mode 100755 debian/scripts/parameterise-ancillaries
>
> diff --git a/debian/rules.in b/debian/rules.in
> index ef03657..7888a14 100755
> --- a/debian/rules.in
> +++ b/debian/rules.in
> @@ -67,6 +67,7 @@ debian/scripts/fix-filenames: debian/scripts/fix-filenames.c
> clean:: pre-clean
> rm -f debian/scripts/fix-filenames
> rm -rf $(dkms_dir)
> + ./debian/scripts/parameterise-ancillaries $(src_genr_package) $(src_sigs_package)
> dh_clean
Generating files during a clean stage feels unusual to me. I understand
that we want them be fully formed and intact packages but maybe I'm not
grasping why that must be done at this specific step. Would
dh_auto_configure or dh_auto_build be too late in the process to useful?
- corytodd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220927/5350d29c/attachment.sig>
More information about the kernel-team
mailing list