forked from rpms/kernel
		
	Fix 3.19-rc6 builds with patch-2.7.3
Upstream patch decided that relative symlinks are dangerous to create via patch, so it refuses to do so. To get the kernel to build, we remove the hunk in patch-3.19-rc6.xz that was attempting to create one, and do it manually in the spec file. The spec change should go away when 3.19 final is out.
This commit is contained in:
		
							parent
							
								
									f4123407df
								
							
						
					
					
						commit
						41e8ae3627
					
				| @ -1141,6 +1141,13 @@ cp -al vanilla-%{vanillaversion} linux-%{KVERREL} | ||||
| 
 | ||||
| cd linux-%{KVERREL} | ||||
| 
 | ||||
| #HACK for 3.19-rc6+patch-2.7.3 rbhz 1185928 | ||||
| # make the symlink for arm64 dt-bindings.  sigh. | ||||
| mkdir -p arch/arm64/boot/dts/include | ||||
| pushd arch/arm64/boot/dts/include/ | ||||
| ln -s ../../../../../include/dt-bindings | ||||
| popd | ||||
| 
 | ||||
| # released_kernel with possible stable updates | ||||
| %if 0%{?stable_base} | ||||
| ApplyPatch %{stable_patch_00} | ||||
| @ -2205,6 +2212,7 @@ fi | ||||
| %changelog | ||||
| * Mon Jan 26 2015 Josh Boyer <jwboyer@fedoraproject.org> - 3.19.0-0.rc6.git0.1 | ||||
| - Linux v3.19-rc6 | ||||
| - Remove symbolic link hunk from patch-3.19-rc6 (rbhz 1185928) | ||||
| - Disable debugging options. | ||||
| 
 | ||||
| * Thu Jan 22 2015 Josh Boyer <jwboyer@fedoraproject.org> - 3.19.0-0.rc5.git2.1 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user