diff mbox series

[Unstable,K] UBUNTU: [Packaging] getabis: Add modules.builtin to the ABI

Message ID 20220824110906.266679-1-juerg.haefliger@canonical.com
State New
Headers show
Series [Unstable,K] UBUNTU: [Packaging] getabis: Add modules.builtin to the ABI | expand

Commit Message

Juerg Haefliger Aug. 24, 2022, 11:09 a.m. UTC
Newer buildinfo packages provide a modules.builtin file. Process that file
when downloading the ABIs.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 debian/scripts/misc/getabis | 3 +++
 1 file changed, 3 insertions(+)

Comments

Andrea Righi Aug. 24, 2022, 1:10 p.m. UTC | #1
On Wed, Aug 24, 2022 at 01:09:06PM +0200, Juerg Haefliger wrote:
> Newer buildinfo packages provide a modules.builtin file. Process that file
> when downloading the ABIs.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>

Applied to kinetic/linux-unstable.

Thanks,
-Andrea

> ---
>  debian/scripts/misc/getabis | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis
> index 8bb7188956a6..4d79ddf945f4 100755
> --- a/debian/scripts/misc/getabis
> +++ b/debian/scripts/misc/getabis
> @@ -161,6 +161,9 @@ getall_set()
>  			do
>  				mv "$base/$comp" "$abidir/$arch/$sub.$comp"
>  			done
> +			if [ -e "${base}"/modules.builtin ] ; then
> +				mv "${base}"/modules.builtin "${abidir}/${arch}/${sub}".modules.builtin
> +			fi
>  			cat "$base/fwinfo" >>"$fwinfo"
>  			if [ -e "${base}"/fwinfo.builtin ] ; then
>  				cat "${base}"/fwinfo.builtin >> "${fwinfo}".builtin
> -- 
> 2.34.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis
index 8bb7188956a6..4d79ddf945f4 100755
--- a/debian/scripts/misc/getabis
+++ b/debian/scripts/misc/getabis
@@ -161,6 +161,9 @@  getall_set()
 			do
 				mv "$base/$comp" "$abidir/$arch/$sub.$comp"
 			done
+			if [ -e "${base}"/modules.builtin ] ; then
+				mv "${base}"/modules.builtin "${abidir}/${arch}/${sub}".modules.builtin
+			fi
 			cat "$base/fwinfo" >>"$fwinfo"
 			if [ -e "${base}"/fwinfo.builtin ] ; then
 				cat "${base}"/fwinfo.builtin >> "${fwinfo}".builtin