Various fixes (#788)
* install.sh: RPM: add install deps * install.sh: Fedora: remove fedora 32 code path too old by now * DEB: add dependencies * install.sh: do not install libc-dev package I don't remember why I had to keep it, but I just tried installing only the image and headers and nvidia-dkms installed just fine Closes: #772 #732 * prepare: disable CONFIG_LOCALVERSION_AUTO Closes: #729 * install.sh: gentoo: do not do initramfs and booloader config it's done directly by the kernel-install script called by make install, which gets changed in gentoo to do what needs to be done * patches: fix RPM patches for 6.4 and 6.5
This commit is contained in:
committed by
GitHub
parent
eff2fa5684
commit
1ac2ea0fd2
@@ -1,20 +1,24 @@
|
||||
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
|
||||
index 70392fd2f..34f98648f 100755
|
||||
index 8049f0e2c..de170760d 100755
|
||||
--- a/scripts/package/mkspec
|
||||
+++ b/scripts/package/mkspec
|
||||
@@ -63,4 +66,4 @@ $S Source: kernel-$__KERNELRELEASE.tar.gz
|
||||
@@ -53,2 +53,3 @@ $S Source2: diff.patch
|
||||
Provides: kernel-$KERNELRELEASE
|
||||
+ Provides: kernel-uname-r = %{version}
|
||||
$S BuildRequires: bc binutils bison dwarves
|
||||
@@ -69,4 +70,4 @@ $S BuildRequires: gcc make openssl openssl-devel perl python3 rsync
|
||||
Group: Development/System
|
||||
- Obsoletes: kernel-headers
|
||||
Provides: kernel-headers = %{version}
|
||||
+ Provides: installonlypkg(kernel) = %{version}
|
||||
%description headers
|
||||
@@ -75,2 +78,5 @@ $S$M Summary: Development package for building kernel modules to match the $__KE
|
||||
@@ -81,2 +82,5 @@ $S$M Summary: Development package for building kernel modules to match the $__KE
|
||||
$S$M Group: System Environment/Kernel
|
||||
+$S$M Provides: kernel-devel = %{version}
|
||||
+$S$M Provides: kernel-devel-uname-r = %{version}
|
||||
+$S$M Provides: installonlypkg(kernel) = %{version}
|
||||
$S$M AutoReqProv: no
|
||||
@@ -80,2 +86,18 @@ $S$M against the $__KERNELRELEASE kernel package.
|
||||
@@ -86,2 +90,18 @@ $S$M against the $__KERNELRELEASE kernel package.
|
||||
$S$M
|
||||
+$S # Opt out of a lot of Fedora hardening flags etc...
|
||||
+$S # See https://src.fedoraproject.org/rpms/redhat-rpm-config//blob/rawhide/f/buildflags.md
|
||||
|
Reference in New Issue
Block a user