packaging: Remove unnecessary code and change a kernel image 32/315532/2 accepted/tizen/unified/x/20240805.104555
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 2 Aug 2024 05:58:38 +0000 (14:58 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 2 Aug 2024 06:24:21 +0000 (15:24 +0900)
Remove unnecessary directory about overlay and change a kernel image
from Image.itb to Image.
Also it doesn't need to use BuildRequires: u-boot-tools because it
doesn't use mkimage.

Change-Id: I3e1c3f3b3ab574c0fe8ac741939c90222a9110ca
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/linux-bpif3.spec

index cbec3e0ea1973089047f6a3f5fee82a9037c11a0..30df43d72c88c83ad6e787fc8ac684a461ba342f 100644 (file)
@@ -35,7 +35,6 @@ BuildRequires: binutils-devel
 BuildRequires: python3
 BuildRequires: rsync
 BuildRequires: python3-devel
-BuildRequires: u-boot-tools
 
 # kernel
 Provides: %{variant}-kernel-uname-r = %{fullVersion}
@@ -110,12 +109,11 @@ mkdir -p %{buildroot}/lib/modules
 
 # Install kernel DTB
 install -m 644 arch/%{buildarch}/boot/dts/spacemit/k1*.dtb %{buildroot}/boot/
-mkdir -p %{buildroot}/boot/overlays
 
 # Install kernel headers
 make headers_install %{?_smp_mflags} INSTALL_HDR_PATH=%{buildroot}/usr
 
-install -m 644 arch/%{buildarch}/boot/Image.itb %{buildroot}/boot/Image
+install -m 644 arch/%{buildarch}/boot/Image %{buildroot}/boot/
 
 # Install modules
 make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=%{buildroot} modules_install