Revert "packaging/rpi4: Add cmdline.txt, kernel image to spec file"
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 11 Sep 2019 00:06:00 +0000 (09:06 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 4 Nov 2019 09:00:55 +0000 (18:00 +0900)
This reverts commit e0d9fb53f6a30d29dad6bd965fa10b3753f8697b.

It doesn't need to use kernel.img. Tizen doesn't use as like kernel.
Just keep zImage as kernel image name.
Instead, add "kernel=zImage" config.txt file.
- Local build script is only generating zImage.

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

index a7723a4..a2fc13f 100644 (file)
@@ -88,7 +88,7 @@ mkdir -p %{buildroot}/boot
 mkdir -p %{buildroot}/lib/modules
 
 # 2-2. Install kernel binary and DTB
-install -m 644 arch/%{buildarch}/boot/zImage %{buildroot}/boot/kernel7l.img
+install -m 644 arch/%{buildarch}/boot/zImage %{buildroot}/boot/
 install -m 644 arch/%{buildarch}/boot/dts/bcm*.dtb %{buildroot}/boot/
 
 # 2-3. Install modules
@@ -100,7 +100,6 @@ install -m 644 rpi4/boot/LICENCE.broadcom %{buildroot}/boot/
 install -m 644 rpi4/boot/bootcode.bin %{buildroot}/boot/
 install -m 644 rpi4/boot/start*.elf %{buildroot}/boot/
 install -m 644 rpi4/boot/fixup*.dat %{buildroot}/boot/
-install -m 644 rpi4/boot/cmdline.txt %{buildroot}/boot/
 
 # 3-1. remove unnecessary files to prepare for devel package
 find %{_builddir}/linux-kernel-%{version} -name ".tmp_vmlinux*" -delete
@@ -138,11 +137,10 @@ rm -rf %{buildroot}
 
 %files -n %{variant}-linux-kernel
 %license COPYING
-/boot/kernel7l.img
+/boot/zImage
 /boot/bcm*.dtb
 /boot/config.txt
 /boot/LICENCE.broadcom
 /boot/bootcode.bin
 /boot/start*.elf
 /boot/fixup*.dat
-/boot/cmdline.txt