Message ID | 20230421091536.620590-1-juerg.haefliger@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,Unstable/Lunar,v2] UBUNTU: [Packaging] debian/rules: Add DKMS info to 'printenv' output | expand |
On 23/04/21 11:15AM, Juerg Haefliger wrote: > Show DKMS info and build flags when running 'debian/rules printenv': > > $ ./debian/rules printenv | tail > do_tools_x86 = true > do_cloud_tools = true > do_tools_hyperv = true > > all_dkms_modules = zfs ipu6 ivsc iwlwifi v4l2loopback > do_zfs = true > do_ipu6 = true > do_ivsc = true > do_iwlwifi = true > do_v4l2loopback = true > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> Acked-by: Andrei Gherzan <andrei.gherzan@canonical.com> > --- > debian/rules.d/1-maintainer.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk > index fff4b8506fa0..6eded3eb4626 100644 > --- a/debian/rules.d/1-maintainer.mk > +++ b/debian/rules.d/1-maintainer.mk > @@ -117,6 +117,10 @@ printenv: > @echo " do_tools_x86 = $(do_tools_x86)" > @echo "do_cloud_tools = $(do_cloud_tools)" > @echo " do_tools_hyperv = $(do_tools_hyperv)" > + @echo > + @echo "all_dkms_modules = $(all_dkms_modules)" > + @$(foreach mod,$(all_dkms_modules),$(foreach var,$(do_$(mod)),\ > + printf " %-24s = %s\n" "do_$(mod)" "$(var)";)) > > .PHONY: printchanges > printchanges: > -- > 2.37.2 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team
On 4/21/23 3:15 AM, Juerg Haefliger wrote: > Show DKMS info and build flags when running 'debian/rules printenv': > > $ ./debian/rules printenv | tail > do_tools_x86 = true > do_cloud_tools = true > do_tools_hyperv = true > > all_dkms_modules = zfs ipu6 ivsc iwlwifi v4l2loopback > do_zfs = true > do_ipu6 = true > do_ivsc = true > do_iwlwifi = true > do_v4l2loopback = true > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > --- > debian/rules.d/1-maintainer.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk > index fff4b8506fa0..6eded3eb4626 100644 > --- a/debian/rules.d/1-maintainer.mk > +++ b/debian/rules.d/1-maintainer.mk > @@ -117,6 +117,10 @@ printenv: > @echo " do_tools_x86 = $(do_tools_x86)" > @echo "do_cloud_tools = $(do_cloud_tools)" > @echo " do_tools_hyperv = $(do_tools_hyperv)" > + @echo > + @echo "all_dkms_modules = $(all_dkms_modules)" > + @$(foreach mod,$(all_dkms_modules),$(foreach var,$(do_$(mod)),\ > + printf " %-24s = %s\n" "do_$(mod)" "$(var)";)) > > .PHONY: printchanges > printchanges: Acked-by: Tim Gardner <tim.gardner@canonical.com>
On Fri, Apr 21, 2023 at 11:15:36AM +0200, Juerg Haefliger wrote: > Show DKMS info and build flags when running 'debian/rules printenv': > > $ ./debian/rules printenv | tail > do_tools_x86 = true > do_cloud_tools = true > do_tools_hyperv = true > > all_dkms_modules = zfs ipu6 ivsc iwlwifi v4l2loopback > do_zfs = true > do_ipu6 = true > do_ivsc = true > do_iwlwifi = true > do_v4l2loopback = true > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> Applied to lunar/linux. Thanks, -Andrea
diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk index fff4b8506fa0..6eded3eb4626 100644 --- a/debian/rules.d/1-maintainer.mk +++ b/debian/rules.d/1-maintainer.mk @@ -117,6 +117,10 @@ printenv: @echo " do_tools_x86 = $(do_tools_x86)" @echo "do_cloud_tools = $(do_cloud_tools)" @echo " do_tools_hyperv = $(do_tools_hyperv)" + @echo + @echo "all_dkms_modules = $(all_dkms_modules)" + @$(foreach mod,$(all_dkms_modules),$(foreach var,$(do_$(mod)),\ + printf " %-24s = %s\n" "do_$(mod)" "$(var)";)) .PHONY: printchanges printchanges:
Show DKMS info and build flags when running 'debian/rules printenv': $ ./debian/rules printenv | tail do_tools_x86 = true do_cloud_tools = true do_tools_hyperv = true all_dkms_modules = zfs ipu6 ivsc iwlwifi v4l2loopback do_zfs = true do_ipu6 = true do_ivsc = true do_iwlwifi = true do_v4l2loopback = true Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> --- debian/rules.d/1-maintainer.mk | 4 ++++ 1 file changed, 4 insertions(+)