generated from archlinux/template
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
27
.SRCINFO
27
.SRCINFO
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = linux
|
pkgbase = linux
|
||||||
pkgdesc = Linux
|
pkgdesc = Linux
|
||||||
pkgver = 6.18.7.arch1
|
pkgver = 6.18.9.arch1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/archlinux/linux
|
url = https://github.com/archlinux/linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL-2.0-only
|
license = GPL-2.0-only
|
||||||
@@ -24,30 +24,30 @@ pkgbase = linux
|
|||||||
makedepends = texlive-latexextra
|
makedepends = texlive-latexextra
|
||||||
options = !debug
|
options = !debug
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.7.tar.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.9.tar.xz
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.7.tar.sign
|
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.9.tar.sign
|
||||||
source = https://github.com/archlinux/linux/releases/download/v6.18.7-arch1/linux-v6.18.7-arch1.patch.zst
|
source = https://github.com/archlinux/linux/releases/download/v6.18.9-arch1/linux-v6.18.9-arch1.patch.zst
|
||||||
source = https://github.com/archlinux/linux/releases/download/v6.18.7-arch1/linux-v6.18.7-arch1.patch.zst.sig
|
source = https://github.com/archlinux/linux/releases/download/v6.18.9-arch1/linux-v6.18.9-arch1.patch.zst.sig
|
||||||
source = config
|
|
||||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||||
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
||||||
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
|
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
|
||||||
sha256sums = b726a4d15cf9ae06219b56d87820776e34d89fbc137e55fb54a9b9c3015b8f1e
|
sha256sums = 030115ff8fb4cb536d8449dc40ebc3e314e86ba1b316a6ae21091a11cc930578
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 57c22879f2228398564091db2ec9b186acbd56dfb0e1072f83418bfdd3829aae
|
sha256sums = 4815407239a6df15f8e0362ff652f9faf2e558fd774b08645e80ca664128e390
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 505d823490e964e66ebe5889a3701347b4e4e2faf1772b3964f0360a176eadf8
|
b2sums = 9aed902e41583597cb7595efe77504630a621993d20f89365a93cf2ea4d9790a6361d93cbb7fd7603881a4f82b76394b7e12fb4e4a88c9fedb2d63d64a9d49d3
|
||||||
b2sums = 3ad31b9b36ea2c8f865c87e63c97a4e7b6684abee35ae71d5838026de9f476edb4c847adab315235293c5f37f8f3b90799ae2b3d41915716710eae63acbf6863
|
|
||||||
b2sums = SKIP
|
b2sums = SKIP
|
||||||
b2sums = 8ece2f1b2fc6530cdd65e597141550c184089a206b9aa49cb9e46d61d2e7cf9c3f07f35ed523670d892aa7e62626644a5b1e98dd9c6acd824cb7ad3254c17665
|
b2sums = 0e9a6bbc9baf4e6706699257e811dcdb7d7e6c946a45f660ee56c564d907efaaac53387b29668ca3fc3082c5badc30ee082dac9d8de2bde72c79365af4050b47
|
||||||
b2sums = SKIP
|
b2sums = SKIP
|
||||||
b2sums = f31d83e1e10bb901d0d25c1db0ad2844584ff1014c8bf36f342fcf1999f41e5e2d5ddfa20a5a23d4626c6b35005c7e01ebe8ae7f3de3d4b61a189a49add3a158
|
source_x86_64 = config.x86_64
|
||||||
|
b2sums_x86_64 = bef3377ad86440af76e9dde4c29c9f4aaad42f5fe343f7d31f5eb537d6d358602f996f5d63986af275f2e92f94e71dc28c320edc8c03d05bd64dbd8ed23d75dc
|
||||||
|
|
||||||
pkgname = linux
|
pkgname = linux
|
||||||
pkgdesc = The Linux kernel and modules
|
pkgdesc = The Linux kernel and modules
|
||||||
depends = coreutils
|
depends = coreutils
|
||||||
depends = initramfs
|
depends = initramfs
|
||||||
depends = kmod
|
depends = kmod
|
||||||
|
optdepends = linux-headers: headers and scripts for building modules
|
||||||
optdepends = linux-firmware: firmware images needed for some devices
|
optdepends = linux-firmware: firmware images needed for some devices
|
||||||
optdepends = scx-scheds: to use sched-ext schedulers
|
optdepends = scx-scheds: to use sched-ext schedulers
|
||||||
optdepends = wireless-regdb: to set the correct wireless channels of your country
|
optdepends = wireless-regdb: to set the correct wireless channels of your country
|
||||||
@@ -61,6 +61,7 @@ pkgname = linux
|
|||||||
pkgname = linux-headers
|
pkgname = linux-headers
|
||||||
pkgdesc = Headers and scripts for building modules for the Linux kernel
|
pkgdesc = Headers and scripts for building modules for the Linux kernel
|
||||||
depends = pahole
|
depends = pahole
|
||||||
|
provides = LINUX-HEADERS
|
||||||
|
|
||||||
pkgname = linux-docs
|
pkgname = linux-docs
|
||||||
pkgdesc = Documentation for the Linux kernel
|
pkgdesc = Documentation for the Linux kernel
|
||||||
|
|||||||
64
PKGBUILD
64
PKGBUILD
@@ -1,11 +1,13 @@
|
|||||||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
|
||||||
pkgbase=linux
|
pkgbase=linux
|
||||||
pkgver=6.18.7.arch1
|
pkgver=6.18.9.arch1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Linux'
|
pkgdesc='Linux'
|
||||||
url='https://github.com/archlinux/linux'
|
url='https://github.com/archlinux/linux'
|
||||||
arch=(x86_64)
|
arch=(
|
||||||
|
x86_64
|
||||||
|
)
|
||||||
license=(GPL-2.0-only)
|
license=(GPL-2.0-only)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
bc
|
bc
|
||||||
@@ -37,24 +39,24 @@ _srctag=v${pkgver%.*}-${pkgver##*.}
|
|||||||
source=(
|
source=(
|
||||||
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
|
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
|
||||||
$url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
|
$url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
|
||||||
config # the main kernel config file
|
|
||||||
)
|
)
|
||||||
|
source_x86_64=(config.x86_64)
|
||||||
validpgpkeys=(
|
validpgpkeys=(
|
||||||
ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
|
ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
|
||||||
647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman
|
647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman
|
||||||
83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig)
|
83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig)
|
||||||
)
|
)
|
||||||
|
b2sums=('9aed902e41583597cb7595efe77504630a621993d20f89365a93cf2ea4d9790a6361d93cbb7fd7603881a4f82b76394b7e12fb4e4a88c9fedb2d63d64a9d49d3'
|
||||||
|
'SKIP'
|
||||||
|
'0e9a6bbc9baf4e6706699257e811dcdb7d7e6c946a45f660ee56c564d907efaaac53387b29668ca3fc3082c5badc30ee082dac9d8de2bde72c79365af4050b47'
|
||||||
|
'SKIP')
|
||||||
|
b2sums_x86_64=('bef3377ad86440af76e9dde4c29c9f4aaad42f5fe343f7d31f5eb537d6d358602f996f5d63986af275f2e92f94e71dc28c320edc8c03d05bd64dbd8ed23d75dc')
|
||||||
|
|
||||||
# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||||
sha256sums=('b726a4d15cf9ae06219b56d87820776e34d89fbc137e55fb54a9b9c3015b8f1e'
|
sha256sums=('030115ff8fb4cb536d8449dc40ebc3e314e86ba1b316a6ae21091a11cc930578'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'57c22879f2228398564091db2ec9b186acbd56dfb0e1072f83418bfdd3829aae'
|
'4815407239a6df15f8e0362ff652f9faf2e558fd774b08645e80ca664128e390'
|
||||||
'SKIP'
|
'SKIP')
|
||||||
'505d823490e964e66ebe5889a3701347b4e4e2faf1772b3964f0360a176eadf8')
|
|
||||||
b2sums=('3ad31b9b36ea2c8f865c87e63c97a4e7b6684abee35ae71d5838026de9f476edb4c847adab315235293c5f37f8f3b90799ae2b3d41915716710eae63acbf6863'
|
|
||||||
'SKIP'
|
|
||||||
'8ece2f1b2fc6530cdd65e597141550c184089a206b9aa49cb9e46d61d2e7cf9c3f07f35ed523670d892aa7e62626644a5b1e98dd9c6acd824cb7ad3254c17665'
|
|
||||||
'SKIP'
|
|
||||||
'f31d83e1e10bb901d0d25c1db0ad2844584ff1014c8bf36f342fcf1999f41e5e2d5ddfa20a5a23d4626c6b35005c7e01ebe8ae7f3de3d4b61a189a49add3a158')
|
|
||||||
|
|
||||||
export KBUILD_BUILD_HOST=archlinux
|
export KBUILD_BUILD_HOST=archlinux
|
||||||
export KBUILD_BUILD_USER=$pkgbase
|
export KBUILD_BUILD_USER=$pkgbase
|
||||||
@@ -78,9 +80,9 @@ prepare() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "Setting config..."
|
echo "Setting config..."
|
||||||
cp ../config .config
|
cp ../config.$CARCH .config
|
||||||
make olddefconfig
|
make olddefconfig
|
||||||
diff -u ../config .config || :
|
diff -u ../config.$CARCH .config || :
|
||||||
|
|
||||||
make -s kernelrelease > version
|
make -s kernelrelease > version
|
||||||
echo "Prepared $pkgbase version $(<version)"
|
echo "Prepared $pkgbase version $(<version)"
|
||||||
@@ -101,6 +103,7 @@ _package() {
|
|||||||
kmod
|
kmod
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
|
"$pkgbase-headers: headers and scripts for building modules"
|
||||||
'linux-firmware: firmware images needed for some devices'
|
'linux-firmware: firmware images needed for some devices'
|
||||||
'scx-scheds: to use sched-ext schedulers'
|
'scx-scheds: to use sched-ext schedulers'
|
||||||
'wireless-regdb: to set the correct wireless channels of your country'
|
'wireless-regdb: to set the correct wireless channels of your country'
|
||||||
@@ -138,28 +141,37 @@ _package() {
|
|||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||||
depends=(pahole)
|
depends=(pahole)
|
||||||
|
provides=(LINUX-HEADERS)
|
||||||
|
|
||||||
cd $_srcname
|
cd $_srcname
|
||||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||||
|
|
||||||
|
local karch
|
||||||
|
case $CARCH in
|
||||||
|
x86_64) karch=x86 ;;
|
||||||
|
*) echo "Unknown CARCH $CARCH"; exit 1 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo "Installing build files..."
|
echo "Installing build files..."
|
||||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||||
localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h
|
localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h
|
||||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
install -Dt "$builddir/arch/$karch" -m644 arch/$karch/Makefile
|
||||||
cp -t "$builddir" -a scripts
|
cp -t "$builddir" -a scripts
|
||||||
ln -srt "$builddir" "$builddir/scripts/gdb/vmlinux-gdb.py"
|
ln -srt "$builddir" "$builddir/scripts/gdb/vmlinux-gdb.py"
|
||||||
|
|
||||||
# required when STACK_VALIDATION is enabled
|
if [[ $(scripts/config -s CONFIG_HAVE_STACK_VALIDATION) = y ]]; then
|
||||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||||
|
fi
|
||||||
|
|
||||||
# required when DEBUG_INFO_BTF_MODULES is enabled
|
if [[ $(scripts/config -s CONFIG_DEBUG_INFO_BTF_MODULES) = y ]]; then
|
||||||
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
|
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing headers..."
|
echo "Installing headers..."
|
||||||
cp -t "$builddir" -a include
|
cp -t "$builddir" -a include
|
||||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
cp -t "$builddir/arch/$karch" -a arch/$karch/include
|
||||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
install -Dt "$builddir/arch/$karch/kernel" -m644 arch/$karch/kernel/asm-offsets.s
|
||||||
|
|
||||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||||
@@ -179,8 +191,10 @@ _package-headers() {
|
|||||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||||
|
|
||||||
echo "Installing Rust files..."
|
echo "Installing Rust files..."
|
||||||
install -Dt "$builddir/rust" -m644 rust/*.rmeta
|
if [[ $(scripts/config -s CONFIG_RUST) = y ]]; then
|
||||||
install -Dt "$builddir/rust" rust/*.so
|
install -Dt "$builddir/rust" -m644 rust/*.rmeta
|
||||||
|
install -Dt "$builddir/rust" rust/*.so
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing unstripped VDSO..."
|
echo "Installing unstripped VDSO..."
|
||||||
make INSTALL_MOD_PATH="$pkgdir/usr" vdso_install \
|
make INSTALL_MOD_PATH="$pkgdir/usr" vdso_install \
|
||||||
@@ -189,7 +203,7 @@ _package-headers() {
|
|||||||
echo "Removing unneeded architectures..."
|
echo "Removing unneeded architectures..."
|
||||||
local arch
|
local arch
|
||||||
for arch in "$builddir"/arch/*/; do
|
for arch in "$builddir"/arch/*/; do
|
||||||
[[ $arch = */x86/ ]] && continue
|
[[ $arch = */$karch/ ]] && continue
|
||||||
echo "Removing $(basename "$arch")"
|
echo "Removing $(basename "$arch")"
|
||||||
rm -r "$arch"
|
rm -r "$arch"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ path = [
|
|||||||
"*.timer",
|
"*.timer",
|
||||||
"*.desktop",
|
"*.desktop",
|
||||||
"*.hook",
|
"*.hook",
|
||||||
"config",
|
|
||||||
".gitignore",
|
".gitignore",
|
||||||
|
"config.*",
|
||||||
]
|
]
|
||||||
SPDX-FileCopyrightText = "Arch Linux contributors"
|
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||||
SPDX-License-Identifier = "0BSD"
|
SPDX-License-Identifier = "0BSD"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/x86 6.18.7-arch1 Kernel Configuration
|
# Linux/x86 6.18.9-arch1 Kernel Configuration
|
||||||
#
|
#
|
||||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 15.2.1 20260103"
|
CONFIG_CC_VERSION_TEXT="gcc (GCC) 15.2.1 20260103"
|
||||||
CONFIG_CC_IS_GCC=y
|
CONFIG_CC_IS_GCC=y
|
||||||
Reference in New Issue
Block a user