diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-08-17 20:41:53 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-08-18 07:00:13 +0200 |
commit | 353496a7b2d983d3facb95253b0b22dd7ae224e6 (patch) | |
tree | 9a12695b4e7d71b11ad84218bdedf7214ad116d0 /testing/source/linux-5.19.x | |
parent | acedcf0daaa711f242744ca6577aeb42717a44d5 (diff) | |
download | current-353496a7b2d983d3facb95253b0b22dd7ae224e6.tar.gz current-353496a7b2d983d3facb95253b0b22dd7ae224e6.tar.xz |
Wed Aug 17 20:41:53 UTC 202220220817204153
a/aaa_glibc-solibs-2.36-x86_64-2.txz: Rebuilt.
a/kernel-generic-5.19.2-x86_64-1.txz: Upgraded.
a/kernel-huge-5.19.2-x86_64-1.txz: Upgraded.
a/kernel-modules-5.19.2-x86_64-1.txz: Upgraded.
ap/vim-9.0.0223-x86_64-1.txz: Upgraded.
Fix use after free, out-of-bounds read, and heap based buffer overflow.
Thanks to marav for the heads-up.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2816
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2817
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2819
(* Security fix *)
d/kernel-headers-5.19.2-x86-1.txz: Upgraded.
k/kernel-source-5.19.2-noarch-1.txz: Upgraded.
l/glibc-2.36-x86_64-2.txz: Rebuilt.
Rebuilt with a patch from Arch to reenable DT_HASH in shared objects since
the change broke Steam games that use EPIC's EAC. I'm not exactly 100% on
board with this approach, but since DT_GNU_HASH remains and is still used,
I guess I'll go along with it for now. Hopefully EAC will be patched and we
can back this out.
Thanks to Swaggajackin for the notice and for providing links to the glibc
bug discussion as well as the patch.
If anything else needs a rebuild after this, let me know in the LQ thread.
l/glibc-i18n-2.36-x86_64-2.txz: Rebuilt.
l/glibc-profile-2.36-x86_64-2.txz: Rebuilt.
xap/vim-gvim-9.0.0223-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to '')
22 files changed, 20 insertions, 992 deletions
diff --git a/testing/source/linux-5.19.x/kernel-configs/config-generic-5.19.1 b/source/k/kernel-configs/config-generic-5.19.2 index db15f0ce2..850d38b91 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-generic-5.19.1 +++ b/source/k/kernel-configs/config-generic-5.19.2 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -708,6 +708,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8240,6 +8241,7 @@ CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_VIRT_DRIVERS=y CONFIG_VMGENID=y CONFIG_VBOXGUEST=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=m CONFIG_VIRTIO_PCI_LIB_LEGACY=m @@ -9936,7 +9938,6 @@ CONFIG_CRYPTO_CRC32=m CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=m CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRC64_ROCKSOFT=y CONFIG_CRYPTO_GHASH=y @@ -10482,7 +10483,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/kernel-configs/config-generic-5.19.1.x64 b/source/k/kernel-configs/config-generic-5.19.2.x64 index 14938d1b1..7a8a5abf0 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-generic-5.19.1.x64 +++ b/source/k/kernel-configs/config-generic-5.19.2.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -739,6 +739,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8232,6 +8233,7 @@ CONFIG_NITRO_ENCLAVES=m CONFIG_ACRN_HSM=m CONFIG_EFI_SECRET=m CONFIG_SEV_GUEST=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=m CONFIG_VIRTIO_PCI_LIB_LEGACY=m @@ -9991,8 +9993,7 @@ CONFIG_CRYPTO_CRC32=m CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=m CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m -CONFIG_CRYPTO_BLAKE2S_X86=m +CONFIG_CRYPTO_BLAKE2S_X86=y CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRCT10DIF_PCLMUL=m CONFIG_CRYPTO_CRC64_ROCKSOFT=y @@ -10582,7 +10583,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/kernel-configs/config-generic-smp-5.19.1-smp b/source/k/kernel-configs/config-generic-smp-5.19.2-smp index 0f6dab399..1616cf1c1 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-generic-smp-5.19.1-smp +++ b/source/k/kernel-configs/config-generic-smp-5.19.2-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -736,6 +736,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8285,6 +8286,7 @@ CONFIG_VIRT_DRIVERS=y CONFIG_VMGENID=y CONFIG_VBOXGUEST=m CONFIG_NITRO_ENCLAVES=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=m CONFIG_VIRTIO_PCI_LIB_LEGACY=m @@ -9991,7 +9993,6 @@ CONFIG_CRYPTO_CRC32=m CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=m CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRC64_ROCKSOFT=y CONFIG_CRYPTO_GHASH=y @@ -10537,7 +10538,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/kernel-configs/config-huge-5.19.1 b/source/k/kernel-configs/config-huge-5.19.2 index 4bd702d82..b043c3c17 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-huge-5.19.1 +++ b/source/k/kernel-configs/config-huge-5.19.2 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -708,6 +708,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8240,6 +8241,7 @@ CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_VIRT_DRIVERS=y CONFIG_VMGENID=y CONFIG_VBOXGUEST=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=y CONFIG_VIRTIO_PCI_LIB_LEGACY=y @@ -9935,7 +9937,6 @@ CONFIG_CRYPTO_CRC32=y CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=y CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRC64_ROCKSOFT=y CONFIG_CRYPTO_GHASH=y @@ -10481,7 +10482,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/kernel-configs/config-huge-5.19.1.x64 b/source/k/kernel-configs/config-huge-5.19.2.x64 index ec8729db5..57aee7272 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-huge-5.19.1.x64 +++ b/source/k/kernel-configs/config-huge-5.19.2.x64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -739,6 +739,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8232,6 +8233,7 @@ CONFIG_NITRO_ENCLAVES=m CONFIG_ACRN_HSM=m CONFIG_EFI_SECRET=m CONFIG_SEV_GUEST=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=y CONFIG_VIRTIO_PCI_LIB_LEGACY=y @@ -9990,8 +9992,7 @@ CONFIG_CRYPTO_CRC32=y CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=y CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m -CONFIG_CRYPTO_BLAKE2S_X86=m +CONFIG_CRYPTO_BLAKE2S_X86=y CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRCT10DIF_PCLMUL=m CONFIG_CRYPTO_CRC64_ROCKSOFT=y @@ -10581,7 +10582,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/kernel-configs/config-huge-smp-5.19.1-smp b/source/k/kernel-configs/config-huge-smp-5.19.2-smp index ee6e2a5df..b456ab85d 100644 --- a/testing/source/linux-5.19.x/kernel-configs/config-huge-smp-5.19.1-smp +++ b/source/k/kernel-configs/config-huge-smp-5.19.2-smp @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.19.1 Kernel Configuration +# Linux/x86 5.19.2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -736,6 +736,7 @@ CONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=y CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y CONFIG_HAVE_NMI=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_CONTIGUOUS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y @@ -8285,6 +8286,7 @@ CONFIG_VIRT_DRIVERS=y CONFIG_VMGENID=y CONFIG_VBOXGUEST=m CONFIG_NITRO_ENCLAVES=m +CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=y CONFIG_VIRTIO_PCI_LIB_LEGACY=y @@ -9990,7 +9992,6 @@ CONFIG_CRYPTO_CRC32=y CONFIG_CRYPTO_CRC32_PCLMUL=m CONFIG_CRYPTO_XXHASH=y CONFIG_CRYPTO_BLAKE2B=y -CONFIG_CRYPTO_BLAKE2S=m CONFIG_CRYPTO_CRCT10DIF=y CONFIG_CRYPTO_CRC64_ROCKSOFT=y CONFIG_CRYPTO_GHASH=y @@ -10536,7 +10537,6 @@ CONFIG_STRICT_DEVMEM=y # # x86 Debugging # -CONFIG_TRACE_IRQFLAGS_NMI_SUPPORT=y CONFIG_EARLY_PRINTK_USB=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y diff --git a/testing/source/linux-5.19.x/build-all-kernels.sh b/testing/source/linux-5.19.x/build-all-kernels.sh deleted file mode 100755 index 09e684b17..000000000 --- a/testing/source/linux-5.19.x/build-all-kernels.sh +++ /dev/null @@ -1,175 +0,0 @@ -#!/bin/sh - -# Copyright 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# This script uses the SlackBuild scripts present here to build a -# complete set of kernel packages for the currently running architecture. -# It needs to be run once on 64-bit (uname -m = x86_64) and once on IA32 -# (uname -m = i586 or i686). - -cd $(dirname $0) ; CWD=$(pwd) - -BUILD=${BUILD:-1} -if [ -z "$VERSION" ]; then - # Get the filename of the newest kernel tarball: - KERNEL_SOURCE_FILE="$(/bin/ls -t linux-*.tar.?z | head -n 1 )" - if echo $KERNEL_SOURCE_FILE | grep -q rc ; then # need to get rc versions a bit differently - VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev) - else # normal release version - VERSION=$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev) - fi -fi -TMP=${TMP:-/tmp} - -# By default, install the packages as we build them and update the initrd. -INSTALL_PACKAGES=${INSTALL_PACKAGES:-YES} - -# Clean kernels before building them. Not doing so quit working some time -# after 4.19.x. -export KERNEL_CLEAN=YES - -# A list of recipes for build may be passed in the $RECIPES variable, otherwise -# we have defaults based on uname -m: -if [ -z "$RECIPES" ]; then - if uname -m | grep -wq x86_64 ; then - RECIPES="x86_64" - elif uname -m | grep -wq i.86 ; then - RECIPES="IA32_NO_SMP IA32_SMP" - else - echo "Error: no build recipes available for $(uname -m)" - exit 1 - fi -fi - -# Main build loop: -for recipe in $RECIPES ; do - - # Build recipes are defined here. These will select the appropriate .config - # files and package naming scheme, and define the output location. - if [ "$recipe" = "x86_64" ]; then - # Recipe for x86_64: - CONFIG_SUFFIX=".x64" - unset LOCALVERSION - OUTPUT=${OUTPUT:-${TMP}/output-x86_64-${VERSION}} - elif [ "$recipe" = "IA32_SMP" ]; then - # Recipe for IA32_SMP: - unset CONFIG_SUFFIX - LOCALVERSION="-smp" - OUTPUT=${OUTPUT:-${TMP}/output-ia32-${VERSION}} - elif [ "$recipe" = "IA32_NO_SMP" ]; then - # Recipe for IA32_NO_SMP: - unset CONFIG_SUFFIX - unset LOCALVERSION - OUTPUT=${OUTPUT:-${TMP}/output-ia32-${VERSION}} - else - echo "Error: recipe ${recipe} not implemented" - exit 1 - fi - - echo - echo "*************************************************" - echo "* Building kernels for recipe ${recipe}..." - echo "*************************************************" - echo - - # Build kernel-source package: - KERNEL_SOURCE_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild) - KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" VERSION=$VERSION BUILD=$BUILD ./kernel-source.SlackBuild - mkdir -p $OUTPUT - mv ${TMP}/${KERNEL_SOURCE_PACKAGE_NAME} $OUTPUT || exit 1 - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - installpkg ${OUTPUT}/${KERNEL_SOURCE_PACKAGE_NAME} || exit 1 - fi - - # Build kernel-huge package: - # We will build in the just-built kernel tree. First, let's put back the - # symlinks: - ( cd $TMP/package-kernel-source - sh install/doinst.sh - ) - KERNEL_HUGE_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_NAME=huge KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/huge$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild) - KERNEL_NAME=huge KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/huge$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild - if [ -r ${TMP}/${KERNEL_HUGE_PACKAGE_NAME} ]; then - mv ${TMP}/${KERNEL_HUGE_PACKAGE_NAME} $OUTPUT - else - echo "kernel-source build failed." - exit 1 - fi - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - installpkg ${OUTPUT}/${KERNEL_HUGE_PACKAGE_NAME} || exit 1 - fi - - # Build kernel-generic package: - KERNEL_GENERIC_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_NAME=generic KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/generic$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild) - KERNEL_NAME=generic KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} CONFIG_SUFFIX=${CONFIG_SUFFIX} KERNEL_OUTPUT_DIRECTORY=$OUTPUT/kernels/generic$(echo ${LOCALVERSION} | tr -d -).s BUILD=$BUILD ./kernel-generic.SlackBuild - if [ -r ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} ]; then - mv ${TMP}/${KERNEL_GENERIC_PACKAGE_NAME} $OUTPUT - else - echo "kernel-generic build failed." - exit 1 - fi - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - installpkg ${OUTPUT}/${KERNEL_GENERIC_PACKAGE_NAME} || exit 1 - fi - - # Build kernel-modules (for the just built generic kernel, but most of them - # will also work with the huge kernel): - KERNEL_MODULES_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$TMP/package-kernel-source/usr/src/linux/.config BUILD=$BUILD ./kernel-modules.SlackBuild) - KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux KERNEL_CONFIG=$TMP/package-kernel-source/usr/src/linux/.config BUILD=$BUILD ./kernel-modules.SlackBuild - if [ -r ${TMP}/${KERNEL_MODULES_PACKAGE_NAME} ]; then - mv ${TMP}/${KERNEL_MODULES_PACKAGE_NAME} $OUTPUT - else - echo "kernel-modules build failed." - exit 1 - fi - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - installpkg ${OUTPUT}/${KERNEL_MODULES_PACKAGE_NAME} || exit 1 - fi - - # Build kernel-headers: - KERNEL_HEADERS_PACKAGE_NAME=$(PRINT_PACKAGE_NAME=YES KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild) - KERNEL_SOURCE=$TMP/package-kernel-source/usr/src/linux BUILD=$BUILD ./kernel-headers.SlackBuild - if [ -r ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} ]; then - mv ${TMP}/${KERNEL_HEADERS_PACKAGE_NAME} $OUTPUT - else - echo "kernel-headers build failed." - exit 1 - fi - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - upgradepkg --reinstall --install-new ${OUTPUT}/${KERNEL_HEADERS_PACKAGE_NAME} || exit 1 - fi - - # Update initrd: - if [ "${INSTALL_PACKAGES}" = "YES" ]; then - INITRD_VERSION="$(grep "Kernel Configuration" $TMP/package-kernel-source/usr/src/linux/.config | cut -f 3 -d ' ')" - INITRD_LOCALVERSION="$(cat $TMP/package-kernel-source/usr/src/linux/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")" - if [ -r /etc/mkinitrd.conf ]; then - mkinitrd -F /etc/mkinitrd.conf -k ${INITRD_VERSION}${INITRD_LOCALVERSION} - else # try this? - sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k ${INITRD_VERSION}${INITRD_LOCALVERSION} | sed "s/-c -k/-k/g" | bash - fi - fi - - echo - echo "${recipe} kernel packages done!" - echo - -done diff --git a/testing/source/linux-5.19.x/kernel-generic.SlackBuild b/testing/source/linux-5.19.x/kernel-generic.SlackBuild deleted file mode 100755 index 1f2fb66f1..000000000 --- a/testing/source/linux-5.19.x/kernel-generic.SlackBuild +++ /dev/null @@ -1,158 +0,0 @@ -#!/bin/sh - -# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# To use this script, point it to a Linux kernel source tree and a .config -# file by setting the appropriate environment variables: -# -# KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-generic.SlackBuild -# -# It can also build the huge (or any other) kernel: -# -# KERNEL_NAME=huge KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-huge-4.14.23 ./kernel-generic.SlackBuild -# -# By default, it will call the package "kernel-generic" and use the source and -# .config already in /usr/src/linux (if possible). - -cd $(dirname $0) ; CWD=$(pwd) - -KERNEL_NAME=${KERNEL_NAME:-generic} -KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux} -KERNEL_CONFIG=${KERNEL_CONFIG:-/usr/src/linux/.config} -CONFIG_SUFFIX=${CONFIG_SUFFIX:-} -BUILD=${BUILD:-1} -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 this kernel. Example:" - echo "KERNEL_NAME=generic KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-generic.SlackBuild" - exit 1 -fi -if [ ! -d "${KERNEL_SOURCE}" ]; then - echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist." - exit 1 -fi -# Get the kernel version from the kernel Makefile: -VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev) -# Set LOCALVERSION to the value found inside the .config: -LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")" -# The default kernel arch is x86 for all 32-bit and 64-bit x86: -if [ -z "${KERNEL_ARCH}" ]; then - case "$(uname -m)" in - i?86) KERNEL_ARCH=x86 ;; - x86_64) KERNEL_ARCH=x86 ;; - # Use uname -m for all other archs: - *) KERNEL_ARCH=$(uname -m) ;; - esac -fi -# If this variable is set to an output directory, we will also put copies of -# System.map.gz, bzImage, and config in there: -KERNEL_OUTPUT_DIRECTORY=${KERNEL_OUTPUT_DIRECTORY:-} - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - # We will need to copy the config and run make oldconfig and make - # prepare in order to generate kernel/bounds.s, where we can find - # the true $PACKAGE_ARCH. - if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then - cp -a ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config - fi - cd ${KERNEL_SOURCE} - make oldconfig 1> /dev/null 2> /dev/null - make prepare 1> /dev/null 2> /dev/null - PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _) - echo "kernel-${KERNEL_NAME}${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz" - exit 0 -fi - -NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} -TMP=${TMP:-/tmp} -PKG=$TMP/package-kernel-${KERNEL_NAME} - -rm -rf $PKG -mkdir -p $TMP $PKG - -# Set the variable $KERNEL_CLEAN to anything to run "make clean" before the -# build. Default is to start compiling in the tree as we found it. -if [ ! -z "${KERNEL_CLEAN}" ]; then - ( cd ${KERNEL_SOURCE} - echo "Cleaning kernel source (make clean)..." - make clean - # Make sure header files aren't missing... - make prepare - # Don't package the kernel in the sources: - find . -name "*Image" -exec rm "{}" \+ - # No need for these: - rm -f .config.old .version - find . -name "*.cmd" -exec rm -f "{}" \+ - rm .*.d - ) -fi - -# Copy the .config into the kernel source directory (unless it's there already) -if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then - echo "Copying the .config file to the kernel source tree:" - cp -a --verbose ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config -fi - -( cd ${KERNEL_SOURCE} - echo "Running make oldconfig..." - make oldconfig - echo "Building kernel..." - make $NUMJOBS bzImage || make bzImage || exit 1 - # Output files to a directory, if requested: - if [ ! -z "${KERNEL_OUTPUT_DIRECTORY}" ]; then - echo "Copying files to ${KERNEL_OUTPUT_DIRECTORY}..." - mkdir -p ${KERNEL_OUTPUT_DIRECTORY} - rm -f ${KERNEL_OUTPUT_DIRECTORY}/* - cp -a --verbose System.map ${KERNEL_OUTPUT_DIRECTORY} - cp -a --verbose .config ${KERNEL_OUTPUT_DIRECTORY}/config - cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage ${KERNEL_OUTPUT_DIRECTORY} - gzip -9 ${KERNEL_OUTPUT_DIRECTORY}/System.map - fi - echo "Preparing the package in $PKG..." - mkdir -p $PKG/boot - cp -a --verbose System.map $PKG/boot/System.map-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} - cp -a --verbose .config $PKG/boot/config-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} - cp -a --verbose arch/${KERNEL_ARCH}/boot/bzImage $PKG/boot/vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} - # Make symlinks: - ln -sf System.map-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/System.map - ln -sf config-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} $PKG/boot/config - ln -sf vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz - ln -sf vmlinuz-${KERNEL_NAME}${LOCALVERSION}-${VERSION}${LOCALVERSION} $PKG/boot/vmlinuz-${KERNEL_NAME}${LOCALVERSION} -) || exit 1 - -# Fetch the kernel architecture from the source tree: -cd ${KERNEL_SOURCE} -PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _) - -mkdir $PKG/install -if [ -r $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME}${LOCALVERSION}.${PACKAGE_ARCH} ]; then - cat $CWD/slack-desc/slack-desc.kernel-${KERNEL_NAME}${LOCALVERSION}.${PACKAGE_ARCH} > $PKG/install/slack-desc -else - cat $CWD/slack-desc/slack-desc.kernel-template | sed "s/%PACKAGE_NAME%/kernel-${KERNEL_NAME}${LOCALVERSION}/g" > $PKG/install/slack-desc -fi - -# Make the package: -cd $PKG -/sbin/makepkg -l y -c n $TMP/kernel-${KERNEL_NAME}${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz - diff --git a/testing/source/linux-5.19.x/kernel-headers.SlackBuild b/testing/source/linux-5.19.x/kernel-headers.SlackBuild deleted file mode 100755 index 2721350a1..000000000 --- a/testing/source/linux-5.19.x/kernel-headers.SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# Copyright 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# To use this script, point it to a Linux kernel source tree, and it will make -# the kernel-headers package using the .config to get all needed package -# version information: -# -# KERNEL_SOURCE=/usr/src/linux ./kernel-headers.SlackBuild - -cd $(dirname $0) ; CWD=$(pwd) - -PKGNAM=${PKGNAM:-kernel-headers} -BUILD=${BUILD:-1} -KERNEL_SOURCE=${KERNEL_SOURCE:-/usr/src/linux} -if [ -z "${HEADERS_ARCH}" ]; then - case "$(uname -m)" in - i?86) HEADERS_ARCH=x86 ;; - x86_64) HEADERS_ARCH=x86 ;; - # Use uname -m for all other archs: - *) HEADERS_ARCH=$(uname -m) ;; - esac -fi -if [ ! -d "${KERNEL_SOURCE}" ]; then - echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist." - exit 1 -elif [ ! -r ${KERNEL_SOURCE}/.config ]; then - echo "Error: a .config was not found in ${KERNEL_SOURCE}." - exit 1 -fi -# Get the kernel version from the kernel Makefile: -VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev) -# Set LOCALVERSION to the value found inside the .config: -LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")" - -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "kernel-headers-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz" - exit 0 -fi - -rm -rf $PKG -mkdir -p $TMP $PKG -mkdir -p $PKG/usr - -# Generate the kernel headers and clean them up: -( cd ${KERNEL_SOURCE} - echo "Generating headers from the Linux kernel source tree in ${KERNEL_SOURCE}:" - make headers_install ARCH=${HEADERS_ARCH} INSTALL_HDR_PATH=$PKG/usr - cd $PKG/usr/include - # You won't want these files. The ones in libdrm work better. - rm -rf drm - # This next part seems pretty much cosmetic, but since we've been doing this - # for a long time (and others also do), we'll stick with it: - mv asm asm-${HEADERS_ARCH} - ln -sf asm-${HEADERS_ARCH} asm - # Remove unneeded dotfiles: - find . -name ".??*" -exec rm -f {} \+ -) - -mkdir -p $PKG/install -cat $CWD/slack-desc/slack-desc.kernel-headers > $PKG/install/slack-desc - -# Make the package: -cd $PKG -/sbin/makepkg -l y -c n $TMP/kernel-headers-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${HEADERS_ARCH}-$BUILD.txz - diff --git a/testing/source/linux-5.19.x/kernel-modules.SlackBuild b/testing/source/linux-5.19.x/kernel-modules.SlackBuild deleted file mode 100755 index ff083c16a..000000000 --- a/testing/source/linux-5.19.x/kernel-modules.SlackBuild +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh - -# Copyright 2018, 2020, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# To use this script, point it to a Linux kernel source tree and a .config -# file by setting the appropriate environment variables: -# -# KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-modules.SlackBuild -# -# By default, it will use the source and .config already in /usr/src/linux (if possible). - -# KERNEL_NAME is optional, and we don't use it. Define it to "-name" if -# you'd like an extra string after "kernel" in the package name -# (i.e. "kernel-name-modules"). - -cd $(dirname $0) ; CWD=$(pwd) - -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:" - echo "KERNEL_SOURCE=/usr/src/linux KERNEL_CONFIG=./kernel-configs/config-generic-4.14.23 ./kernel-modules.SlackBuild" - exit 1 -fi -if [ ! -d "${KERNEL_SOURCE}" ]; then - echo "Error: kernel source directory ${KERNEL_SOURCE} does not exist." - exit 1 -fi -# Get the kernel version from the kernel Makefile: -VERSION=$(grep "^VERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " ${KERNEL_SOURCE}/Makefile | rev | cut -f 1 -d ' ' | rev) -# Set LOCALVERSION to the value found inside the .config: -LOCALVERSION="$(cat ${KERNEL_SOURCE}/.config 2> /dev/null | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")" - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - # We will need to copy the config and run make oldconfig and make - # prepare in order to generate kernel/bounds.s, where we can find - # the true $PACKAGE_ARCH. - if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then - cp -a ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config - fi - cd ${KERNEL_SOURCE} - make oldconfig 1> /dev/null 2> /dev/null - make prepare 1> /dev/null 2> /dev/null - PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _) - echo "kernel${KERNEL_NAME}-modules${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz" - exit 0 -fi - -NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} -TMP=${TMP:-/tmp} -PKG=$TMP/package-kernel${KERNEL_NAME}-modules - -rm -rf $PKG -mkdir -p $TMP $PKG - -# Set the variable $KERNEL_CLEAN to anything to run "make clean" before the -# build. Default is to start compiling in the tree as we found it. -if [ ! -z "${KERNEL_CLEAN}" ]; then - ( cd ${KERNEL_SOURCE} - echo "Cleaning kernel source (make clean)..." - make clean - # Make sure header files aren't missing... - make prepare - # Don't package the kernel in the sources: - find . -name "*Image" -exec rm "{}" \+ - # No need for these: - rm -f .config.old .version - find . -name "*.cmd" -exec rm -f "{}" \+ - rm .*.d - ) -fi - -# Copy the .config into the kernel source directory (unless it's there already) -if [ ! "${KERNEL_CONFIG}" = "${KERNEL_SOURCE}/.config" ]; then - echo "Copying the .config file to the kernel source tree:" - cp -a --verbose ${KERNEL_CONFIG} ${KERNEL_SOURCE}/.config -fi - -( cd ${KERNEL_SOURCE} - echo "Running make oldconfig..." - make oldconfig - echo "Running a preliminary make (needed to create modules.builtin.modinfo)..." - make $NUMJOBS || exit 1 - echo "Building kernel modules..." - make $NUMJOBS modules || exit 1 - echo "Installing kernel modules to $PKG..." - make INSTALL_MOD_PATH=$PKG modules_install || exit 1 - 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 - rm -f $symlink - ln -sf $(echo $target | sed "s|/tmp/package-kernel-source/|/|g") $symlink - fi - done - ) - depmod -b $PKG -a ${VERSION}${LOCALVERSION} -) || exit 1 - -mkdir $PKG/install -cat $CWD/slack-desc/slack-desc.kernel-modules-template | sed "s/%PACKAGE_NAME%/kernel${KERNEL_NAME}-modules${LOCALVERSION}/g" > $PKG/install/slack-desc - -# Fetch the kernel architecture from the source tree: -cd ${KERNEL_SOURCE} -PACKAGE_ARCH=$(cat kernel/bounds.s | grep -w "\-march=.*" | tr " " "\n" | grep -w "\-march=.*" | cut -f 2 -d = | tr - _) - -# Make the package: -cd $PKG -/sbin/makepkg -l y -c n $TMP/kernel${KERNEL_NAME}-modules${LOCALVERSION}-$(echo ${VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-${PACKAGE_ARCH}-$BUILD.txz - diff --git a/testing/source/linux-5.19.x/kernel-source.SlackBuild b/testing/source/linux-5.19.x/kernel-source.SlackBuild deleted file mode 100755 index 3e5f7c9dd..000000000 --- a/testing/source/linux-5.19.x/kernel-source.SlackBuild +++ /dev/null @@ -1,194 +0,0 @@ -#!/bin/sh - -# Copyright 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PKGNAM=${PKGNAM:-kernel-source} -BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM -# If CONFIG_PREEMPT=y and CONFIG_PREEMPT_DYNAMIC=y, then set a default preempt -# mode (none, voluntary, or full): -CONFIG_PREEMPT_DEFAULT_MODE=${CONFIG_PREEMPT_DEFAULT_MODE:-voluntary} - -# If a $VERSION is not passed to this script, use the newest linux-*.tar.xz -# found in this directory: -VERSION=${VERSION:-$(/bin/ls -t linux-*.tar.?z | head -n 1 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -if ! /bin/ls linux-*.tar.?z 1> /dev/null 2> /dev/null ; then - echo "Error: kernel source not found. (/bin/ls linux-*.tar.?z)" -fi - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - # Use uname -m for all archs: - *) ARCH=$(uname -m) ;; - esac -fi - -# Kernel extraversion, such as "-smp" on 32-bit. There's usually no need to set -# this unless you're using something unusual. We use it to find which .config -# file to use, but we'll then use whatever CONFIG_LOCALVERSION is set to -# inside the .config. -LOCALVERSION=${LOCALVERSION:-""} - -# If KERNEL_CONFIG (name of kernel .config file in ./kernel-configs to use) -# has not been passed to this script, then we will select one. We will prefer -# to use a generic, SMP-supporting .config with a version number exactly -# matching the kernel sources. But if there's no exact version match, we will -# start with the newest .config we can find that's of the appropriate type. -if [ -z "${KERNEL_CONFIG}" ]; then # figure out the best matching .config - if [ "$ARCH" = "x86_64" ]; then - CONFIG_SUFFIX=".x64" - fi - if [ -z "${LOCALVERSION}" ]; then - if echo $ARCH | grep -q -E "i?86$" ; then - # Default to SMP extraversion on 32-bit: - LOCALVERSION="-smp" - fi - fi - if [ -r "$CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}$LOCALVERSION${CONFIG_SUFFIX}" ]; then - # Exact match! - KERNEL_CONFIG="config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" - else # no exact match, so find newest with the same name: - FIND_MATCH="$(/bin/ls -t $CWD/kernel-configs/config-generic${LOCALVERSION}-*${LOCALVERSION}${CONFIG_SUFFIX} 2> /dev/null | head -n 1)" - if [ -r "${FIND_MATCH}" ]; then - KERNEL_CONFIG="$(basename ${FIND_MATCH})" - unset FIND_MATCH - else - echo "Error: no matching .config file could be found for this kernel. Tried:" - echo " $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} (not found)" - exit 1 - fi - fi -else # We were given a name to use: - if [ ! -r "$CWD/kernel-configs/${KERNEL_CONFIG}" ]; then - echo "Error: specified kernel .config $CWD/kernel-configs/${KERNEL_CONFIG} was not found." - exit 1 - fi -fi -# Set LOCALVERSION to the value found inside the .config: -LOCALVERSION="$(cat $CWD/kernel-configs/${KERNEL_CONFIG} | grep CONFIG_LOCALVERSION= | cut -f 2 -d = | tr -d \")" - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - # We will have to extract and patch the kernel sources to find out the kernel version: - TEMPDIR=$(mktemp -d) - cd $TEMPDIR - tar xf $CWD/linux-${VERSION}.tar.?z || exit 1 - cd linux* - if [ -d $CWD/patches-${VERSION} ]; then - zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --backup --suffix=.orig 1> /dev/null 2> /dev/null || exit 1 - fi - PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev) - cd $CWD - rm -rf $TEMPDIR - echo "kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-noarch-$BUILD.txz" - exit 0 -fi - -echo "Using kernel config: $CWD/kernel-configs/${KERNEL_CONFIG}" - -rm -rf $PKG -mkdir -p $TMP $PKG -mkdir -p $PKG/usr/src - -echo "Untarring $CWD/linux-${VERSION}.tar.?z in $PKG/usr/src..." -( cd $PKG/usr/src - tar xf $CWD/linux-${VERSION}.tar.?z || exit 1 - echo "Making /usr/src/linux symlink..." - ln -sf linux-* linux - cd linux-* - if [ -d $CWD/patches-${VERSION} ]; then - echo "Applying kernel patches in $CWD/patches-${VERSION} and copying patches to $PKG/usr/src/linux-${VERSION}..." - zcat $CWD/patches-${VERSION}/*.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1 - cp -a $CWD/patches-${VERSION}/*.gz . - fi - echo "Copying $CWD/kernel-configs/${KERNEL_CONFIG} to .config..." - cp -a $CWD/kernel-configs/${KERNEL_CONFIG} .config - echo "Fixing permissions/ownership..." - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \+ -) || exit 1 - -# Kernel is now ready to configure. We will also build this kernel so that -# the installed kernel source package is fully configured, and building an -# out-of-tree module (such as the NVIDIA driver) won't require the user -# to build the kernel sources first. -( cd $PKG/usr/src/linux-${VERSION} - echo "Making oldconfig..." - make oldconfig - if [ ! -r $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} ]; then - echo "Saving new .config as: $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX}" - cp -a .config $CWD/kernel-configs/config-generic${LOCALVERSION}-${VERSION}${LOCALVERSION}${CONFIG_SUFFIX} - fi - - # If CONFIG_PREEMPT=y and CONFIG_PREEMPT_DYNAMIC=y, then set a default preempt - # mode (none, voluntary, or full): - if grep -wq CONFIG_PREEMPT=y .config ; then - if grep -wq CONFIG_PREEMPT_DYNAMIC=y .config ; then - # Sanity check: - if ! echo $CONFIG_PREEMPT_DEFAULT_MODE | grep -wq -e none -e voluntary -e full ; then - echo "ERROR: Invalid mode for CONFIG_PREEMPT_DEFAULT_MODE: $CONFIG_PREEMPT_DEFAULT_MODE" - exit 1 - fi - echo "Setting default PREEMPT mode: $CONFIG_PREEMPT_DEFAULT_MODE" - sed -i "s/^int preempt_dynamic_mode = preempt_dynamic_full;$/int preempt_dynamic_mode = preempt_dynamic_$CONFIG_PREEMPT_DEFAULT_MODE;/g" kernel/sched/core.c - fi - fi - - echo "Building kernel and modules (needed before clean for building NVIDIA to work)..." - make ${NUMJOBS} || exit 1 - make ${NUMJOBS} modules || exit 1 - echo "Cleaning up..." - make clean - # Make sure header files aren't missing... - make prepare - # Don't package the kernel in the sources: - find . -name "*Image" -exec rm "{}" \+ - # No need for these: - rm -f .config.old .version - find . -name "*.cmd" -exec rm -f "{}" \+ - rm .*.d - # Still some dotfiles laying around... probably fine though -) || exit 1 - -cd $PKG/usr/src/linux-${VERSION} -# Use the version number found in the Makefile in the package name. This is not -# always the same as the version in the source tarball's filename. For example, -# linux-4.14.tar.xz will have 4.14.0 as the version in the Makefile: -PACKAGE_VERSION=$(grep "^VERSION = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^PATCHLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev).$(grep "^SUBLEVEL = " Makefile | rev | cut -f 1 -d ' ' | rev)$(grep "^EXTRAVERSION = " Makefile | rev | cut -f 1 -d ' ' | rev) - -mkdir $PKG/install -cat $CWD/slack-desc/slack-desc.kernel-source > $PKG/install/slack-desc - -# Make the package: -cd $PKG -/sbin/makepkg -l y -c n $TMP/kernel-source-$(echo ${PACKAGE_VERSION} | tr - _)$(echo ${LOCALVERSION} | tr - _)-noarch-$BUILD.txz - diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic-smp.i686 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic-smp.i686 deleted file mode 100644 index a6abc7703..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic-smp.i686 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-generic-smp: kernel-generic-smp (a general purpose SMP Linux kernel) -kernel-generic-smp: -kernel-generic-smp: This is a Linux kernel with built-in support for most disk -kernel-generic-smp: controllers. To use filesystems, or to load support for a SCSI or -kernel-generic-smp: other controller, then you'll need to load one or more kernel -kernel-generic-smp: modules using an initial ramdisk, or initrd. For more information -kernel-generic-smp: about creating an initrd, see the README.initrd file in the /boot -kernel-generic-smp: directory. -kernel-generic-smp: -kernel-generic-smp: SMP is "Symmetric multiprocessing", or multiple CPU/core support. -kernel-generic-smp: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.i586 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.i586 deleted file mode 100644 index 1054d54ca..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.i586 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-generic: kernel-generic (a general purpose single processor Linux kernel) -kernel-generic: -kernel-generic: A Linux kernel with built-in support for most disk controllers. -kernel-generic: For filesystem support, or if you need to load support for a SCSI or -kernel-generic: other controller, then you'll need to load one or more kernel modules -kernel-generic: using an initial ramdisk, or initrd. For more information about -kernel-generic: creating an initrd, see the README.initrd file in the /boot directory. -kernel-generic: -kernel-generic: -kernel-generic: -kernel-generic: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.x86_64 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.x86_64 deleted file mode 100644 index b1410c979..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-generic.x86_64 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-generic: kernel-generic (a general purpose SMP Linux kernel) -kernel-generic: -kernel-generic: This is a Linux kernel with built-in support for most disk -kernel-generic: controllers. To use filesystems, or to load support for a SCSI or -kernel-generic: other controller, then you'll need to load one or more kernel -kernel-generic: modules using an initial ramdisk, or initrd. For more information -kernel-generic: about creating an initrd, see the README.initrd file in the /boot -kernel-generic: directory. -kernel-generic: -kernel-generic: SMP is "Symmetric multiprocessing", or multiple CPU/core support. -kernel-generic: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-headers b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-headers deleted file mode 100644 index 511d5fdc7..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-headers +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-headers: kernel-headers (Linux kernel include files) -kernel-headers: -kernel-headers: These are the include files from the Linux kernel. -kernel-headers: -kernel-headers: You'll need these to compile most system software for Linux. -kernel-headers: -kernel-headers: -kernel-headers: -kernel-headers: -kernel-headers: -kernel-headers: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge-smp.i686 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge-smp.i686 deleted file mode 100644 index 0757cea35..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge-smp.i686 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-huge-smp: kernel-huge-smp (a fully-loaded SMP Linux kernel) -kernel-huge-smp: -kernel-huge-smp: This is a Linux kernel with built-in support for most disk -kernel-huge-smp: controllers. If you're looking for a more stripped down kernel -kernel-huge-smp: (this one contains everything but the kitchen sink ;-), then install -kernel-huge-smp: the kernel-generic-smp in the /boot directory along with an initrd to -kernel-huge-smp: load support for your boot device and filesystem. For instructions -kernel-huge-smp: on the initrd, see README.initrd in the /boot directory. -kernel-huge-smp: -kernel-huge-smp: SMP is "Symmetric multiprocessing", or multiple CPU/core support. -kernel-huge-smp: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.i586 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.i586 deleted file mode 100644 index 1a5afb09a..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.i586 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-huge: kernel-huge (a fully-loaded single processor Linux kernel) -kernel-huge: -kernel-huge: This is a Linux kernel with built-in support for most disk controllers -kernel-huge: and filesystems. If you're looking for a more stripped down kernel -kernel-huge: (this one contains everything but the kitchen sink ;-), then install -kernel-huge: the kernel-generic from the /boot directory along with an initrd to -kernel-huge: load support for your boot device and filesystem. For instructions -kernel-huge: on the initrd, see README.initrd in the /boot directory. -kernel-huge: -kernel-huge: -kernel-huge: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.x86_64 b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.x86_64 deleted file mode 100644 index c15947b1d..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-huge.x86_64 +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-huge: kernel-huge (a fully-loaded SMP Linux kernel) -kernel-huge: -kernel-huge: This is a Linux kernel with built-in support for most disk -kernel-huge: controllers. If you're looking for a more stripped down kernel -kernel-huge: (this one contains everything but the kitchen sink ;-), then install -kernel-huge: the kernel-generic in the /boot directory along with an initrd to -kernel-huge: load support for your boot device and filesystem. For instructions -kernel-huge: on the initrd, see README.initrd in the /boot directory. -kernel-huge: -kernel-huge: SMP is "Symmetric multiprocessing", or multiple CPU/core support. -kernel-huge: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-modules-template b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-modules-template deleted file mode 100644 index 1338eb2ca..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-modules-template +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -%PACKAGE_NAME%: %PACKAGE_NAME% (Linux kernel modules) -%PACKAGE_NAME%: -%PACKAGE_NAME%: Kernel modules are pieces of code that can be loaded and unloaded into -%PACKAGE_NAME%: the kernel upon demand. They extend the functionality of the kernel -%PACKAGE_NAME%: without the need to reboot the system. These modules provide support -%PACKAGE_NAME%: for hardware such as USB devices, RAID controllers, network -%PACKAGE_NAME%: interfaces, and display devices, or add other additional capabilities -%PACKAGE_NAME%: to the kernel. -%PACKAGE_NAME%: -%PACKAGE_NAME%: -%PACKAGE_NAME%: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source deleted file mode 100644 index cf254e748..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-source: kernel-source (Linux kernel source) -kernel-source: -kernel-source: Source code for Linus Torvalds' Linux kernel. -kernel-source: -kernel-source: This is the complete and unmodified source code for the Linux kernel. -kernel-source: -kernel-source: -kernel-source: -kernel-source: -kernel-source: -kernel-source: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source.vanilla b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source.vanilla deleted file mode 100644 index cf254e748..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-source.vanilla +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -kernel-source: kernel-source (Linux kernel source) -kernel-source: -kernel-source: Source code for Linus Torvalds' Linux kernel. -kernel-source: -kernel-source: This is the complete and unmodified source code for the Linux kernel. -kernel-source: -kernel-source: -kernel-source: -kernel-source: -kernel-source: -kernel-source: diff --git a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-template b/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-template deleted file mode 100644 index a2880bb2f..000000000 --- a/testing/source/linux-5.19.x/slack-desc/slack-desc.kernel-template +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -%PACKAGE_NAME%: %PACKAGE_NAME% (a Linux kernel) -%PACKAGE_NAME%: -%PACKAGE_NAME%: This is a Linux kernel with built-in support for most disk -%PACKAGE_NAME%: controllers. To use filesystems, or to load support for a SCSI or -%PACKAGE_NAME%: other controller, then you'll need to load one or more kernel -%PACKAGE_NAME%: modules using an initial ramdisk, or initrd. For more information -%PACKAGE_NAME%: about creating an initrd, see the README.initrd file in the /boot -%PACKAGE_NAME%: directory. -%PACKAGE_NAME%: -%PACKAGE_NAME%: -%PACKAGE_NAME%: |