rebuilt after configuration fixes [release 4.14.79.20181112-2mamba;Mon Dec 10 2018]
This commit is contained in:
parent
7b8f37b548
commit
18b85c542a
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@
|
||||
#
|
||||
|
||||
#% define kernel_ver %(echo %version | cut -d. -f1-3)
|
||||
%define kernel_ver 4.4.38
|
||||
%define kernel_ver %(echo %version | cut -d. -f1-3)
|
||||
%define kernel_majver %(echo %version | cut -d. -f1-2)
|
||||
%define gitdirver 1.%(echo %version | cut -d. -f4)
|
||||
|
||||
@ -63,8 +63,8 @@
|
||||
%define _use_internal_dependency_generator 1
|
||||
|
||||
Name: kernel-rpi
|
||||
Version: 4.4.38.20161215
|
||||
Release: 1mamba
|
||||
Version: 4.14.79.20181112
|
||||
Release: 2mamba
|
||||
Summary: The Linux Kernel, the operating system core itself for the RaspberryPI
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -88,6 +88,7 @@ BuildRequires: mkbootimg
|
||||
Provides: kernel
|
||||
Requires(post): dracut
|
||||
Requires: linux_firmware
|
||||
Requires: raspberrypi-firmware
|
||||
BuildRoot: %{_tmppath}/%{name}-build
|
||||
|
||||
%description
|
||||
@ -199,7 +200,7 @@ Firmware files used by the Linux Kernel.
|
||||
%prep
|
||||
%setup -q -n linux-%{version}
|
||||
#-D -T
|
||||
#:<< ___EOF
|
||||
#:<< _EOF
|
||||
%if "%{?KERNEL_TARGET}" == ""
|
||||
echo "No target specified, aborting."
|
||||
exit 1
|
||||
@ -231,7 +232,7 @@ sed -i "s/\(EXTRAVERSION =.*\)/\1-%{?KERNEL_TARGET}/" Makefile
|
||||
pngtopnm %{SOURCE20} | ppmquant -plain 224 > drivers/video/logo/logo_linux_clut224.ppm
|
||||
|
||||
%build
|
||||
#:<< ___EOF
|
||||
#:<< _EOF
|
||||
#
|
||||
# build kernel for given target
|
||||
#
|
||||
@ -258,9 +259,9 @@ cp %{KIMAGE} %{buildroot}/boot/%{KIMAGE_DEST}-%{kernel_ver}-%{?KERNEL_TARGET}
|
||||
cp System.map %{buildroot}/boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET}
|
||||
|
||||
# install dtbs
|
||||
cp arch/arm/boot/dts/*.dtb %{buildroot}/boot/
|
||||
install -d -m0755 %{buildroot}/boot/overlays/
|
||||
cp arch/arm/boot/dts/overlays/*.dtb* %{buildroot}/boot/overlays/
|
||||
#cp arch/arm/boot/dts/*.dtb %{buildroot}/boot/
|
||||
#install -d -m0755 %{buildroot}/boot/overlays/
|
||||
#cp arch/arm/boot/dts/overlays/*.dtb* %{buildroot}/boot/overlays/
|
||||
#cp arch/arm/boot/dts/overlays/README %{buildroot}/boot/overlays/
|
||||
|
||||
# recreate kernel sources
|
||||
@ -356,6 +357,9 @@ if [ "%{_build}" != "%{_target_platform}" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
rm -f %{buildroot}%{_prefix}/src/linux-%{kernel_ver}-%{KERNEL_TARGET}/{.cocciconfig,.gitattributes}
|
||||
rm -rf %{buildroot}%{_prefix}/src/linux-%{kernel_ver}-%{KERNEL_TARGET}/.github
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -405,8 +409,8 @@ exit 0
|
||||
%defattr (-, root, root)
|
||||
/boot/System.map-%{kernel_ver}-%{?KERNEL_TARGET}
|
||||
/boot/%{KIMAGE_DEST}-%{kernel_ver}-%{?KERNEL_TARGET}
|
||||
/boot/*.dtb*
|
||||
/boot/overlays/*.dtb*
|
||||
#/boot/*.dtb*
|
||||
#/boot/overlays/*.dtb*
|
||||
|
||||
%files -n kernel-%{KERNEL_TARGET}-source -f kernel-source.files
|
||||
%defattr(-,root,root)
|
||||
@ -414,7 +418,6 @@ exit 0
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/Documentation
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/certs
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/init
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/REPORTING-BUGS
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/gen_init_cpio.c
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/initramfs_data*.S
|
||||
/usr/src/linux-%{kernel_ver}-%{?KERNEL_TARGET}/usr/Kconfig
|
||||
@ -461,12 +464,18 @@ exit 0
|
||||
%dir /lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel
|
||||
/lib/modules/%{kernel_ver}-%{?KERNEL_TARGET}/kernel/*
|
||||
|
||||
%files -n kernel-%{KERNEL_TARGET}-firmware
|
||||
%defattr (-, root, root)
|
||||
%dir /lib/firmware
|
||||
/lib/firmware/*
|
||||
#%files -n kernel-%{KERNEL_TARGET}-firmware
|
||||
#%defattr (-, root, root)
|
||||
#%dir /lib/firmware
|
||||
#/lib/firmware/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.79.20181112-2mamba
|
||||
- rebuilt after configuration fixes
|
||||
|
||||
* Sun Dec 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.79.20181112-1mamba
|
||||
- update to 4.14.79.20181112
|
||||
|
||||
* Fri Feb 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.38.20161215-1mamba
|
||||
- update to 4.4.38.20161215
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user