APPLIED Re: [Unstable][PATCH] UBUNTU: [Packaging] Build all packages for linux-unstable

Timo Aaltonen tjaalton at ubuntu.com
Thu Nov 28 14:26:22 UTC 2024


Juerg Haefliger kirjoitti 27.11.2024 klo 18.00:
> For development and testing purposes, we want the linux-unstable
> source to build the same packages as the main linux source. This should
> be safe since unstable packages should never hit the archive or any of the
> PPAs where packages are installed from.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
> ---
>   debian/rules | 12 +++++++-----
>   1 file changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/debian/rules b/debian/rules
> index 600e7bab2150..8d6cc782f160 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -47,16 +47,18 @@ do_cloud_tools=$(sort $(filter-out false,$(do_tools_hyperv)))
>   do_tools_perf_jvmti?=false
>   do_tools_perf_python?=false
>   
> -# Indep tools packages may only be built for the main linux source package
> -ifeq ($(DEB_SOURCE),linux)
> +# Indep tools packages may only be built for the main linux and
> +# linux-unstable source packages
> +ifeq ($(DEB_SOURCE),$(filter $(DEB_SOURCE),linux linux-unstable))
>   	do_tools_common = true
>   	do_tools_host = true
>   endif
>   
> -# The linux-source package may only be built for the linux source package
> +# The linux-source package may only be built for the main linux and
> +# linux-unstable source packages
>   # We need to explicitly turn this off here to override any (incorrect)
>   # statement in any of the above included makefile snippets
> -ifneq ($(DEB_SOURCE),linux)
> +ifneq ($(DEB_SOURCE),$(filter $(DEB_SOURCE),linux linux-unstable))
>   	do_source_package = false
>   endif
>   
> @@ -165,7 +167,7 @@ include debian/rules.d/3-binary-indep.mk
>   include debian/rules.d/4-checks.mk
>   
>   control_files := $(DEBIAN)/control.stub.in
> -ifeq ($(DEB_SOURCE),linux)
> +ifeq ($(DEB_SOURCE),$(filter $(DEB_SOURCE),linux linux-unstable))
>   	control_files += debian/control.d/linux-libc-dev.stub
>   	control_files += debian/control.d/linux-tools-common.stub
>   	control_files += debian/control.d/linux-cloud-tools-common.stub

makes sense, applied

-- 
t




More information about the kernel-team mailing list