Correct dtb copying

This commit is contained in:
Josh Boyer 2015-05-11 14:35:02 -04:00
parent f1d3aa7cbb
commit a962393de3
1 changed files with 1 additions and 1 deletions

View File

@ -1491,7 +1491,7 @@ BuildKernel() {
%ifarch %{arm} aarch64
%{make} -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
cp $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb
find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f
%endif