summaryrefslogtreecommitdiffstats
path: root/patches/source
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source')
-rwxr-xr-xpatches/source/linux-5.15.80/build-all-kernels.sh (renamed from patches/source/linux-5.15.63/build-all-kernels.sh)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80 (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64 (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp (renamed from patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80 (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64 (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64)4
-rw-r--r--patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp (renamed from patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp)4
-rwxr-xr-xpatches/source/linux-5.15.80/kernel-generic.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-generic.SlackBuild)0
-rwxr-xr-xpatches/source/linux-5.15.80/kernel-headers.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-headers.SlackBuild)0
-rwxr-xr-xpatches/source/linux-5.15.80/kernel-modules.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-modules.SlackBuild)19
-rwxr-xr-xpatches/source/linux-5.15.80/kernel-source.SlackBuild (renamed from patches/source/linux-5.15.63/kernel-source.SlackBuild)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64 (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla)0
-rw-r--r--patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template (renamed from patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template)0
-rwxr-xr-xpatches/source/openssl/openssl.SlackBuild3
23 files changed, 38 insertions, 12 deletions
diff --git a/patches/source/linux-5.15.63/build-all-kernels.sh b/patches/source/linux-5.15.80/build-all-kernels.sh
index 09e684b17..0ac96bdf6 100755
--- a/patches/source/linux-5.15.63/build-all-kernels.sh
+++ b/patches/source/linux-5.15.80/build-all-kernels.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2018, 2021, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -66,7 +66,7 @@ for recipe in $RECIPES ; do
# files and package naming scheme, and define the output location.
if [ "$recipe" = "x86_64" ]; then
# Recipe for x86_64:
- CONFIG_SUFFIX=".x64"
+ export CONFIG_SUFFIX=".x64"
unset LOCALVERSION
OUTPUT=${OUTPUT:-${TMP}/output-x86_64-${VERSION}}
elif [ "$recipe" = "IA32_SMP" ]; then
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63 b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80
index 0e414dc12..0f7026f65 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63
+++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9866,6 +9866,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64 b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64
index ae5d0987a..242390591 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-generic-5.15.63.x64
+++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-5.15.80.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9933,6 +9933,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp b/patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp
index ffc7e143d..c82e57c40 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-generic-smp-5.15.63-smp
+++ b/patches/source/linux-5.15.80/kernel-configs/config-generic-smp-5.15.80-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9936,6 +9936,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63 b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80
index 16082678b..cb5e2e143 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63
+++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9865,6 +9865,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64 b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64
index b77d2a747..f87834405 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-huge-5.15.63.x64
+++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-5.15.80.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9932,6 +9932,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp b/patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp
index 943c07f23..d88be25a8 100644
--- a/patches/source/linux-5.15.63/kernel-configs/config-huge-smp-5.15.63-smp
+++ b/patches/source/linux-5.15.80/kernel-configs/config-huge-smp-5.15.80-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.15.63 Kernel Configuration
+# Linux/x86 5.15.80 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -9935,6 +9935,8 @@ CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options
+CONFIG_AS_HAS_NON_CONST_LEB128=y
+
#
# Compile-time checks and compiler options
#
diff --git a/patches/source/linux-5.15.63/kernel-generic.SlackBuild b/patches/source/linux-5.15.80/kernel-generic.SlackBuild
index 1f2fb66f1..1f2fb66f1 100755
--- a/patches/source/linux-5.15.63/kernel-generic.SlackBuild
+++ b/patches/source/linux-5.15.80/kernel-generic.SlackBuild
diff --git a/patches/source/linux-5.15.63/kernel-headers.SlackBuild b/patches/source/linux-5.15.80/kernel-headers.SlackBuild
index 2721350a1..2721350a1 100755
--- a/patches/source/linux-5.15.63/kernel-headers.SlackBuild
+++ b/patches/source/linux-5.15.80/kernel-headers.SlackBuild
diff --git a/patches/source/linux-5.15.63/kernel-modules.SlackBuild b/patches/source/linux-5.15.80/kernel-modules.SlackBuild
index 8d0d48c4d..d7df6d3c4 100755
--- a/patches/source/linux-5.15.63/kernel-modules.SlackBuild
+++ b/patches/source/linux-5.15.80/kernel-modules.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2018, 2020, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -37,6 +37,13 @@ KERNEL_NAME=${KERNEL_NAME:-}
KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux}
KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config}
BUILD=${BUILD:-1}
+
+# The CONFIG_DEBUG_INFO_BTF_MODULES option adds a huge amount of debugging
+# data to the modules which we don't actually need. We'll strip debugging
+# information from kernel modules by default. If you are building a debug
+# kernel and wish to retain this data, export the variable below set to "NO".
+STRIP_DEBUG=${STRIP_DEBUG:-YES}
+
if [ ! -r "${KERNEL_CONFIG}" ]; then
echo "Error: the KERNEL_CONFIG environment variable needs to be set to the"
echo ".config file to be used to build these modules. Example:"
@@ -109,13 +116,17 @@ fi
make $NUMJOBS modules || exit 1
echo "Installing kernel modules to $PKG..."
make INSTALL_MOD_PATH=$PKG modules_install || exit 1
- # Fix build and source symlinks if they are pointing into /tmp:
+ if [ "$STRIP_DEBUG" = "YES" ]; then
+ echo "Stripping debug info from kernel modules..."
+ find $PKG -name "*.ko" -exec strip --strip-debug "{}" \;
+ fi
+ # Fix build and source symlinks if they are pointing into $TMP:
( cd $PKG/lib/modules/${VERSION}${LOCALVERSION}
for symlink in build source ; do
target=$(readlink $symlink)
- if echo $target | grep -q "^/tmp/package-kernel-source/" ; then
+ if echo $target | grep -q "^$TMP/package-kernel-source/" ; then
rm -f $symlink
- ln -sf $(echo $target | sed "s|/tmp/package-kernel-source/|/|g") $symlink
+ ln -sf $(echo $target | sed "s|$TMP/package-kernel-source/|/|g") $symlink
fi
done
)
diff --git a/patches/source/linux-5.15.63/kernel-source.SlackBuild b/patches/source/linux-5.15.80/kernel-source.SlackBuild
index 3e5f7c9dd..3e5f7c9dd 100755
--- a/patches/source/linux-5.15.63/kernel-source.SlackBuild
+++ b/patches/source/linux-5.15.80/kernel-source.SlackBuild
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686
index a6abc7703..a6abc7703 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic-smp.i686
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic-smp.i686
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586
index 1054d54ca..1054d54ca 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.i586
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.i586
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64
index b1410c979..b1410c979 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-generic.x86_64
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-generic.x86_64
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers
index 511d5fdc7..511d5fdc7 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-headers
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-headers
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686
index 0757cea35..0757cea35 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge-smp.i686
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge-smp.i686
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586
index 1a5afb09a..1a5afb09a 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.i586
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.i586
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64 b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64
index c15947b1d..c15947b1d 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-huge.x86_64
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-huge.x86_64
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template
index 1338eb2ca..1338eb2ca 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-modules-template
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-modules-template
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source
index cf254e748..cf254e748 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla
index cf254e748..cf254e748 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-source.vanilla
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-source.vanilla
diff --git a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template
index a2880bb2f..a2880bb2f 100644
--- a/patches/source/linux-5.15.63/slack-desc/slack-desc.kernel-template
+++ b/patches/source/linux-5.15.80/slack-desc/slack-desc.kernel-template
diff --git a/patches/source/openssl/openssl.SlackBuild b/patches/source/openssl/openssl.SlackBuild
index e10aad5ce..3d0e89454 100755
--- a/patches/source/openssl/openssl.SlackBuild
+++ b/patches/source/openssl/openssl.SlackBuild
@@ -150,6 +150,9 @@ rm -f $PKG1/usr/lib${LIBDIRSUFFIX}/*.a
# No thanks on manpages duplicated as html:
rm -rf $PKG1/usr/share/doc
+# Also no thanks on .pod versions of the already shipped manpages:
+rm -rf $PKG1/usr/doc/openssl-*/doc/man*
+
# Make the .so.? library symlinks:
( cd $PKG1/usr/lib${LIBDIRSUFFIX} ; ldconfig -l lib*.so.* )