mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	kbuild: fix kernel-devel RPM package and linux-headers Deb package
Since commitfe66b5d2ae("kbuild: refactor kernel-devel RPM package and linux-headers Deb package"), the kernel-devel RPM package and linux-headers Deb package are broken. I double-quoted the $(find ... -type d), which resulted in newlines being included in the argument to the outer find comment. find: 'arch/arm64/include\narch/arm64/kvm/hyp/include': No such file or directory The outer find command is unneeded. Fixes:fe66b5d2ae("kbuild: refactor kernel-devel RPM package and linux-headers Deb package") Reported-by: Karolis M <k4rolis@protonmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
This commit is contained in:
		
							parent
							
								
									0bb80ecc33
								
							
						
					
					
						commit
						c86e9ae5e3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ mkdir -p "${destdir}"
 | 
				
			||||||
	find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
 | 
						find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*'
 | 
				
			||||||
	find include scripts -type f -o -type l
 | 
						find include scripts -type f -o -type l
 | 
				
			||||||
	find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
 | 
						find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform
 | 
				
			||||||
	find "$(find "arch/${SRCARCH}" -name include -o -name scripts -type d)" -type f
 | 
						find "arch/${SRCARCH}" -name include -o -name scripts -type d
 | 
				
			||||||
) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
 | 
					) | tar -c -f - -C "${srctree}" -T - | tar -xf - -C "${destdir}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue