Linux 6.18 added debug version

This commit is contained in:
2025-12-06 21:57:17 +01:00
parent e1b06b3776
commit a4d95f2289
9 changed files with 40 additions and 32 deletions

View File

@@ -38,8 +38,7 @@ makedepends=(
#texlive-mathscience
)
options=(
!debug
!strip
zipkmod
)
_srcname=linux-${pkgver%.*}
_srctag=v${pkgver%.*}-${pkgver##*.}
@@ -155,8 +154,8 @@ _package() {
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
ZSTD_CLEVEL=19 make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
DEPMOD=/doesnt/exist modules_install # Suppress depmod
# Suppress depmod
make INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/doesnt/exist modules_install
# remove build link
rm "$modulesdir"/build
@@ -230,24 +229,6 @@ _package-headers() {
echo "Removing loose objects..."
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
echo "Stripping build tools..."
local file
while read -rd '' file; do
case "$(file -Sib "$file")" in
application/x-sharedlib\;*) # Libraries (.so)
strip -v $STRIP_SHARED "$file" ;;
application/x-archive\;*) # Libraries (.a)
strip -v $STRIP_STATIC "$file" ;;
application/x-executable\;*) # Binaries
strip -v $STRIP_BINARIES "$file" ;;
application/x-pie-executable\;*) # Relocatable binaries
strip -v $STRIP_SHARED "$file" ;;
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
echo "Stripping vmlinux..."
strip -v $STRIP_STATIC "$builddir/vmlinux"
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"

View File

@@ -8,8 +8,23 @@ Afterwards, you can clone this repository.
## Troubleshooting
### GPG keys
If you have problems with GPG keys,
try to import keyID with
gpg --recv-keys 38DBBDC86092693E
B8AC08600F108CDF
### zipkmod
==> ERROR: options array contains unknown option 'zipkmod'
If this appears, you have to copy the file `50-zipkmod.sh` found in folder `/tidy/` at https://gitlab.archlinux.org/pacman/libmakepkg-dropins
to the folder `/usr/share/makepkg/tidy/`:
```
cd ~
wget https://gitlab.archlinux.org/pacman/libmakepkg-dropins/tidy/50-zipkmod.sh
mkdir -p /usr/share/makepkg/tidy
sudo install --compare --verbose --mode=644 50-zipkmod -t /usr/share/makepkg/tidy/.
```

2
config
View File

@@ -1070,7 +1070,7 @@ CONFIG_MODULE_COMPRESS=y
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
CONFIG_MODULE_COMPRESS_ZSTD=y
CONFIG_MODULE_COMPRESS_ALL=y
# CONFIG_MODULE_COMPRESS_ALL is not set
CONFIG_MODULE_DECOMPRESS=y
CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y
CONFIG_MODPROBE_PATH="/sbin/modprobe"

View File

@@ -972,7 +972,7 @@ CONFIG_MODULE_COMPRESS=y
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
CONFIG_MODULE_COMPRESS_ZSTD=y
CONFIG_MODULE_COMPRESS_ALL=y
# CONFIG_MODULE_COMPRESS_ALL is not set
CONFIG_MODULE_DECOMPRESS=y
CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y
CONFIG_MODPROBE_PATH="/sbin/modprobe"

View File

@@ -1,5 +1,5 @@
--- ../config 2025-12-02 01:58:44.113410551 +0100
+++ .config 2025-12-02 02:06:07.544466809 +0100
--- ../config 2025-12-06 21:07:59.404193765 +0100
+++ .config 2025-12-06 21:14:43.516778527 +0100
@@ -58,13 +58,12 @@
# CONFIG_KERNEL_LZ4 is not set
CONFIG_KERNEL_ZSTD=y
@@ -650,6 +650,15 @@
CONFIG_MODULE_UNLOAD_TAINT_TRACKING=y
# CONFIG_MODVERSIONS is not set
CONFIG_MODULE_SRCVERSION_ALL=y
@@ -1070,7 +985,7 @@
# CONFIG_MODULE_COMPRESS_GZIP is not set
# CONFIG_MODULE_COMPRESS_XZ is not set
CONFIG_MODULE_COMPRESS_ZSTD=y
-# CONFIG_MODULE_COMPRESS_ALL is not set
+CONFIG_MODULE_COMPRESS_ALL=y
CONFIG_MODULE_DECOMPRESS=y
CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y
CONFIG_MODPROBE_PATH="/sbin/modprobe"
@@ -1160,7 +1075,6 @@
# Executable file formats
#

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a692717160b11cc24e83d08457c35fdaa0c104c093ae7427db8591060de2b7dc
size 133431407
oid sha256:2088038602f817644f35ae502b8322ce6d35a5369eb0faa9988e5c74123109fa
size 2039779448

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e0f9a108377b60545d31f630ee1717eca727e886a5496fbfe0a542975bfab8e
size 187154494

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9b84c0762d37ebe6cfc5c53edf166b207100ee4f8e724743cbf895fb6df44a4
size 46260881
oid sha256:9d86dba5f60c8c93f43796e4b163537c978075d5d5b1f00d08a95ef176a780b5
size 46104978

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c9520bbf50a1c3b35550da0a0477c3e75ca17b9ea7ec2a4056a1da8454a4ffc
size 72410175
oid sha256:98691c612a91ab74ca1c512ffdedea53d3321360fce019db0aeb125d236b6170
size 72394515