Correct dtb copying

This commit is contained in:
Josh Boyer 2015-05-11 14:35:02 -04:00
parent f1d3aa7cbb
commit a962393de3

View File

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