Skip to content

Commit 1399b72

Browse files
committed
Revert "aarch64: remove duplicate dtb in kernel rpm"
This reverts commit e7eafab. The aarch64 build breaks with this change so it seems the duplicate is necessary for some reason. Signed-off-by: Jack Vogel <[email protected]>
1 parent 4a5bf01 commit 1399b72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uek-rpm/ol7/kernel-uek.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,7 @@ BuildKernel() {
12141214
mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
12151215
mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
12161216
make -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
1217+
cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb
12171218
find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f
12181219
%endif
12191220

0 commit comments

Comments
 (0)