mkdir -p %{buildroot}/lib/modules
# 2-2. Install kernel binary and DTB
-install -m 644 arch/%{buildarch}/boot/zImage %{buildroot}/boot/
+install -m 644 arch/%{buildarch}/boot/zImage %{buildroot}/boot/kernel7l.img
install -m 644 arch/%{buildarch}/boot/dts/bcm*.dtb %{buildroot}/boot/
# 2-3. Install modules
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
%files -n %{variant}-linux-kernel
%license COPYING
-/boot/zImage
+/boot/kernel7l.img
/boot/bcm*.dtb
/boot/config.txt
/boot/LICENCE.broadcom
/boot/bootcode.bin
/boot/start*.elf
/boot/fixup*.dat
+/boot/cmdline.txt