Patch "kbuild: rpm-pkg: avoid the warnings with dtb's listed twice" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    kbuild: rpm-pkg: avoid the warnings with dtb's listed twice

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     kbuild-rpm-pkg-avoid-the-warnings-with-dtb-s-listed-.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 01df6d7dda7a7e918c71beae664b2a453f492827
Author: Jose Ignacio Tornos Martinez <jtornosm@xxxxxxxxxx>
Date:   Thu Jul 11 18:49:19 2024 +0200

    kbuild: rpm-pkg: avoid the warnings with dtb's listed twice
    
    [ Upstream commit e3286434d220efb9a8b78f7241a5667974d2ec80 ]
    
    After 8d1001f7bdd0 (kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n),
    the following warning "warning: File listed twice: *.dtb" is appearing for
    every dtb file that is included.
    The reason is that the commented commit already adds the folder
    /lib/modules/%{KERNELRELEASE} in kernel.list file so the folder
    /lib/modules/%{KERNELRELEASE}/dtb is no longer necessary, just remove it.
    
    Fixes: 8d1001f7bdd0 ("kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n")
    Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@xxxxxxxxxx>
    Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>
    Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx>
    Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec
index fffc8af8deb17..c52d517b93647 100644
--- a/scripts/package/kernel.spec
+++ b/scripts/package/kernel.spec
@@ -83,7 +83,6 @@ ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEA
 	done
 
 	if [ -d "%{buildroot}/lib/modules/%{KERNELRELEASE}/dtb" ];then
-		echo "/lib/modules/%{KERNELRELEASE}/dtb"
 		find "%{buildroot}/lib/modules/%{KERNELRELEASE}/dtb" -printf "%%%ghost /boot/dtb-%{KERNELRELEASE}/%%P\n"
 	fi
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux