linux 6.12.60
This commit is contained in:
commit
c20d98f922
1 changed files with 41 additions and 0 deletions
41
kernel.spec
Normal file
41
kernel.spec
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
Name: kernel
|
||||||
|
Version: 6.12.60
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Linux kernel as is
|
||||||
|
|
||||||
|
License: GPL
|
||||||
|
URL: https://www.kernel.org
|
||||||
|
Source0: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc make flex bc bison elfutils-libelf-devel openssl-devel perl
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n linux-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
make defconfig
|
||||||
|
make all %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make modules_install INSTALL_MOD_PATH=%{buildroot}
|
||||||
|
rm %{buildroot}/lib/modules/%{version}/build
|
||||||
|
mkdir -p %{buildroot}/boot/
|
||||||
|
install -m 644 arch/x86/boot/bzImage %{buildroot}/boot/vmlinuz-%{version}
|
||||||
|
install -m 644 System.map %{buildroot}/boot/System.map-%{version}
|
||||||
|
install -m 644 .config %{buildroot}/boot/config-%{version}
|
||||||
|
|
||||||
|
%files
|
||||||
|
/boot/
|
||||||
|
/lib/
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Dec 02 2025 Dmitrii Tochanskii <tochanskiy@tochlab.ru>
|
||||||
|
-
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue