upg linux linux-lts

This commit is contained in:
joborun linux 2023-08-06 00:21:04 +03:00
parent 9fbe64c316
commit df770ec394
12 changed files with 21594 additions and 55 deletions

0
bzip2/deps Normal file
View File

View File

@ -7,8 +7,8 @@
pkgbase=linux-lts
pkgver=5.10.188
pkgrel=01
pkgdesc='LTS Linux 5.10 w/o zstd & ipv6 + nvme-fix patch'
pkgrel=02
pkgdesc='LTS Linux 5.10 + nvme-fix patch w/o zstd & ipv6'
_url="https://www.kernel.org/"
makedepends=(bc kmod libelf pahole cpio perl tar xz
kmod xmlto python-sphinx python-sphinx_rtd_theme
@ -20,8 +20,7 @@ source=($url/v5.x/$_srcname.tar.{xz,sign}
config # the main kernel config file
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
0002-fix-nvme.patch
sha256sums::https://cdn.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
)
sha256sums::https://cdn.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc)
# https://build.opensuse.org/package/show/home:curb:ArchLinux/linux-lts510
@ -216,11 +215,10 @@ validpgpkeys=(ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
sha256sums=(c9558bab35e23ae67661bfb3192c609c857f78582a035449ae63e33d04ab6112 # linux-5.10.188.tar.xz
bd60b595855bb1742fb979e9300e4c1c53689b67697f37d2eafd577940a0ccbd # linux-5.10.188.tar.sign
4076fafd2c0a4fbcf76a41b8db47c75d2d6ca4a791d0ec18621410ae2bc000f3 # config
7423fe0812e5cf3d611a47267e5885efa9e80ec02a872a81b86f9a6646d4bb67 # config
96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e # 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
0e14c0d788262a9781d8ba1d6e894f30877f015ccf0b6d768d759eac48bcede9 # 0002-fix-nvme.patch
4d526a76636cc3cf23f9b5b2dd13064d7e885e620f800521158244195e0aff40) # sha256sums
## 59d9b93b44774ef6db169c4fa44b4f77f9758283c5f3f5d34f1be28e88a4a194 linux-lts-5.10.188-01-x86_64.pkg.tar.lz
## f8a4811b4372e04bd5847b54c3757536256506768084e9773a67e8154a389287 linux-lts-headers-5.10.188-01-x86_64.pkg.tar.lz
472f88e76ff70ca372415aa923d676dbb4ef78cfeb3d8ec7e242037ca21d9c4f) # sha256sums
## 86e594f51a77c537740d9229a05f8cca66ea92d631ef8102c13c7a32e18e9253 linux-lts-headers-5.10.188-02-x86_64.pkg.tar.lz
## f51c66887ad3045b66ae71c7da361b21fcacabc0a73dde71f13d70d8018665d4 linux-lts-5.10.188-02-x86_64.pkg.tar.lz

205
linux-lts/PKGBUILD-aur.188 Normal file
View File

@ -0,0 +1,205 @@
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Jonathon Fernyhough <jonathon+m2x+dev>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgbase=linux-lts510
pkgver=5.10.188
pkgrel=1
pkgdesc='LTS 5.10 Linux'
url="https://www.kernel.org/"
arch=(x86_64)
license=(GPL2)
makedepends=(
bc kmod libelf pahole cpio perl tar xz
xmlto python-sphinx python-sphinx_rtd_theme python-six graphviz imagemagick
)
options=('!strip')
_srcname=linux-$pkgver
source=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
config # the main kernel config file
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
# https://build.opensuse.org/package/show/home:curb:ArchLinux/linux-lts510
#0002-reorganize-gimple-includes-for-GCC-13.patch # https://lore.kernel.org/lkml/20230118202355.never.520-kees@kernel.org/raw
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
md5sums=('aed6bb5e4e5170690e5aa27c58f5ec63'
'SKIP'
'8b8fa773fe9c7938a76ba07ca2933ed8'
'd31360693fb06a0d69c1f126350baa6d')
sha256sums=('c9558bab35e23ae67661bfb3192c609c857f78582a035449ae63e33d04ab6112'
'SKIP'
'ddc8d7c604a2f8373a25674d06cd377fdf80adca9bd426f4c8a50f3d52403001'
'96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e')
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd $_srcname
echo "Setting version..."
scripts/setlocalversion --save-scmversion
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
echo "Setting config..."
cp ../config .config
make olddefconfig
make -s kernelrelease > version
echo "Prepared $pkgbase version $(<version)"
}
build() {
cd $_srcname
make all
make htmldocs
}
_package() {
pkgdesc="The $pkgdesc kernel and modules"
depends=(coreutils kmod initramfs)
optdepends=('crda: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
echo "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
# Used by mkinitcpio to name the kernel
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
# remove build and source links
rm "$modulesdir"/{source,build}
}
_package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing build files..."
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
localversion.* version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
cp -t "$builddir" -a scripts
# add objtool for external module building and enabled VALIDATION_STACK option
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
# add xfs and shmem for aufs building
mkdir -p "$builddir"/{fs/xfs,mm}
echo "Installing headers..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/x86" -a arch/x86/include
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
# http://bugs.archlinux.org/task/13146
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
# http://bugs.archlinux.org/task/20402
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
echo "Installing KConfig files..."
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
echo "Removing unneeded architectures..."
local arch
for arch in "$builddir"/arch/*/; do
[[ $arch = */x86/ ]] && continue
echo "Removing $(basename "$arch")"
rm -r "$arch"
done
echo "Removing documentation..."
rm -r "$builddir/Documentation"
echo "Removing broken symlinks..."
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
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 -bi "$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"
}
_package-docs() {
pkgdesc="Documentation for the $pkgdesc kernel"
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing documentation..."
local src dst
while read -rd '' src; do
dst="${src#Documentation/}"
dst="$builddir/Documentation/${dst#output/}"
install -Dm644 "$src" "$dst"
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/share/doc"
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
}
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
$(declare -f "_package${_p#$pkgbase}")
_package${_p#$pkgbase}
}"
done
# vim:set ts=8 sts=2 sw=2 et:

View File

@ -3,14 +3,14 @@
# Linux/x86 5.10.188 Kernel Configuration
#
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230714"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230801"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130101
CONFIG_GCC_VERSION=130201
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000
CONFIG_AS_VERSION=24100
CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24000
CONFIG_LD_VERSION=24100
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
@ -52,6 +52,7 @@ CONFIG_DEFAULT_HOSTNAME="joborun"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_WATCH_QUEUE=y

10348
linux-lts/config-aur.188 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -832,6 +832,7 @@ f155d090c8d6d78aeaae0edee2b71b8b8f4518d84779557e0fd82b1987aa09ef ChangeLog-5.15
2ff391755ac546ca68894d5d2cc9640662ddd4f7784f76b9c26de345496b9ac4 ChangeLog-5.15.121
354cefd1a29ce461ff873d5349bc49419b4d48d563ff5ae71d874a8b4bc46c11 ChangeLog-5.15.122
55907f2a4881b569d2b629f66d2ba6f66fcb42dc369ffafbabd441dafff8ca0d ChangeLog-5.15.123
d7a6a275d4242620fd46c04fa2e24b862994f0f4c8054b86b0ded31360b837b0 ChangeLog-5.15.124
8973679b5da41c4f9f3a12edf2598bcea3ee4a4988a179f36c4c8d4ec9c96e6f ChangeLog-5.16
694254b586ab67c329bc79a3b0a60f74771b97aebe314aff66c944ec454acb98 ChangeLog-5.16.1
5f029a42102d90a5ca51c2d7d64095dbd846fbf6391582ac9e2f7a791e33b3dd ChangeLog-5.16.2
@ -2570,6 +2571,8 @@ bf73c722e2e3d42043e17fa978b569f7b45f0eae02cc58b431d45ea4157a808e linux-5.15.120
38755801cd1ce229a8c0a0536d29aa37acea8a8aa13fa438e19fbf9d6293342d linux-5.15.122.tar.xz
20ea4ec292839d74d199cd1381404f0389683f063de9ace48365eb398f24cdf0 linux-5.15.123.tar.gz
2de69544a12e6a059163c58fc901c13bcf22e8cac39c66b56f8fbb633399bf93 linux-5.15.123.tar.xz
32d329ba32ad3fc021a4d6f7096baf1fb83833998fcb00bdd4939ef1d913172b linux-5.15.124.tar.gz
00036a0260ad012aa832a8698a4afcf23b2410091527738ce48ce3fcc23f22ed linux-5.15.124.tar.xz
d4791f2eddeb25c4e6ae0b2f9b3f5fb3fd394d7f9a57fa3e33de6dd9761480f6 linux-5.16.tar.gz
027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
5c91875fd84393b6a8a6352f5f7a2fedbed3708e06dc8cc465a9f5a86d1324f5 linux-5.16.1.tar.gz
@ -3553,6 +3556,7 @@ eba49da6370da30784508d2b17c3d36c87482805907028966d5a0a6e69d56569 patch-5.15.120
acdebb94e3b84d74d8ff851a5c622f0304b832d7b62e795c0b846adc65eb66a5 patch-5.15.121.xz
3c010fcdcc1cf8468384d9468f57f47a0a8ffa8e99aabac91efade699b613dfb patch-5.15.122.xz
6114dc1b29a584e05b024b480604af41ef69ab0ff1e4feecbd0b17ad961950e6 patch-5.15.123.xz
bf644acb642af680ebd01e1bc3305b9cc09e984a6360aac7b6dd1669dac5c385 patch-5.15.124.xz
cdc44e99ee873ef2fe27f1ca62120ad225e8d59a99506db3ebfd31e0c7f6796b patch-5.16.xz
9ff97f3a01ec8744863ff611315c44c1f5d1ff551769f7d8359c85561dee1b1d patch-5.16.1.xz
3a09c2f1ad410c09cf03921abeed1a6ca7c38138fb508171ee673d429d179171 patch-5.16.2.xz
@ -3632,17 +3636,17 @@ fdabf20292982e808a26b87f2f29493ba9f20a87d958dc592018ba1a381669df patch-5.19.15.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJkwhX9AAoJEGMtOgZYnaaxQTsQAJNY5SbB57wGpQvKQl8dNiXT
10mTX7Tf5+Pm/p7J6iqb/Nr31mshLW3F7pVz5yBGEft6sEZLqpWBiiWix3yZZvBq
sDsEwBz/+Jqzqn+yVrfxkKmsISNFlyU4DADnqLGf8YwiNEySXmfyc8y0Drq1CQqe
vVnOX1VaiTz5PdKdq0mc+/vE6xB4U2i+NmDltXzirYAm0ByMQg3rSeHsKq//0Rkr
C15urh3os9CA8oa7an62kKahVP2AdFfDLTtazsQmgLlh+ai5ZeYCLx/DTQHmNcfC
fB4scyR8Xg64TfHztSJvNM5jQI3bIvEwe4jL9jzs1qPkSh8sEBLpM9Qq8hSJLcSX
RjKOKPdadsIn89nmYfTHOaDJ015xPctOA2H+3WKYj42lwOorwY8JmhtWcrrnA2Nh
Wt+afHu6FYYceOEsKs6S5IqNH6Bj19YMjoGtPIurPMHvOtB9EvNRL50Zd3PJLiX0
S6a2yG//QbPXzmPTZHKJnjGd87jwIUZzVo0ozZ+iYFVbv7OimvOt6T/Bwao+KjWl
BEZQmZqqhtAGUv36aEZdEe8t7/paosPYeDfqKSBDkxBzpO8FAGHp4hTmBIsqYvfj
toy8CCIq0WXiOC/EhsaPJpFBg+pEVDDpKrTci7QUqC1OR5C1cq8AEFyjtMJ1hV6b
UvK20EDr/uUm/m3KFdx7
=6mHz
iQIcBAEBCAAGBQJky2WWAAoJEGMtOgZYnaaxS0kP/A6fCInkniKndKoCf8MQ3Zem
wGRYLkn2MRGfmwECIMGPmZC0qMSX9FKreY3lTef0vlbphslC9SWS6FsA+/arc9ex
KNnuZyIz3B1Qs1lTuePPGgKjG343J2++54ObFZCCHStSbFdZ/fNJZopSEQWfNHY/
POakP8X0fGI+exEL2vdESq6Lkw4ItCILKcVg2sKIqBJcUVvrxiiY4OXaBLR5l5N1
R/+03AP8G+oIbhaa1ai3bHfPdMXmNC7tTVOiMsoTY45D3IbWlmWFWJeuracN47dP
ATLse/6MkV4Cgz8XXPKEIs/cocw3Ru2mi/jh1GnUQmN4x6ZLBSSEl3KiHgWmbzmY
Zu6GbB2x2d4o7eaqz79DbVcfnpepNmI9NmfeS71lApAowlgcxVwFtUBsfN+Q1Q4W
Nh4KVD471rprVH0ehKgKz0J9QxldGuR7VLZxxEdc8aCw2OzYRqC6DpY+hdXHnZaL
IPrPwWG7XJWTgQMMi9e1zuPzrBtoL2mNEAUNRZnJTH80E4uDZiM9no0GZQ9y2oGu
tvAZVnwQDJkacYqVx6PnRpt737cGGEtSk6IbNsNXNxeUoGuqADYhY0ZFkuNkoizR
J04+oZPRaQyrSscAqYDO87JyMhNrMm9DubELx1suJ7Fu4VKa46rs524VlIn9h2xx
9Vfor1ygF9jo9hX9QN1z
=NVZp
-----END PGP SIGNATURE-----

View File

@ -1,6 +1,6 @@
real 243m12.232s
user 223m40.892s
sys 18m31.375s
real 225m59.182s
user 208m51.870s
sys 16m47.030s

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=linux
pkgver=5.15.123
pkgver=5.15.124
pkgrel=01
pkgdesc='Linux LTS 5.15 w/o zstd ipv6 + vfio i915 patch'
url="https://www.kernel.org/"
@ -213,19 +213,24 @@ validpgpkeys=(ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
647F28654894E3BD457199BE38DBBDC86092693E) # Greg Kroah-Hartman
# https://cdn.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc --> sha256sums
# 2de69544a12e6a059163c58fc901c13bcf22e8cac39c66b56f8fbb633399bf93 linux-5.15.123.tar.xz
# 00036a0260ad012aa832a8698a4afcf23b2410091527738ce48ce3fcc23f22ed linux-5.15.124.tar.xz
sha256sums=(2de69544a12e6a059163c58fc901c13bcf22e8cac39c66b56f8fbb633399bf93 # linux-5.15.123.tar.xz
7b1117db89f129940009f4fead7324f7eb0c075e11a79134558e5a7327585761 # linux-5.15.123.tar.sign
84ce6c7112bfe4cc21552e9d087eba8cea0ad2b42876fd88e8e385c8ed62dde0 # config
sha256sums=(00036a0260ad012aa832a8698a4afcf23b2410091527738ce48ce3fcc23f22ed # linux-5.15.124.tar.xz
552a100c82a8f7000f55b3cc4f447a9a5e350e93e79db8152b45f59eacfe360b # linux-5.15.124.tar.sign
2d657998e5914de55d3e157a9cab4148db6d0ff5ab622cc5d01287d928cc784a # config
3b5cfc9ca9cf778ea2c4b619b933cda26519969df2d764b5a687f63cf59974cd # 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
c175fbb141c3cec013c799f694d88310375ac5456042f6a4a1adc7667836d786 # 0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch
8357f000b2b622e73dcfd41c2bad42b5e99fffe8f7ee64f774aa771f86cef43c # 0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch
5c1ee81fdd5818442af6081de987f9c1a9ce3c8d183566b3dfc19a8433aa3dde # 0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
067e8995fcd6f6ed25e0253e9374c0e179a000c154da3e59ce62634945ac5be9 # 0005-lg-laptop-Recognize-more-models.patch
856230cfbdc2bb53a4920dfbcb6fb2d58427b7b184e5f94e21f08011d0a2fcc6 # i915-vga-arbiter.patch
4d526a76636cc3cf23f9b5b2dd13064d7e885e620f800521158244195e0aff40) # sha256sums
472f88e76ff70ca372415aa923d676dbb4ef78cfeb3d8ec7e242037ca21d9c4f) # sha256sums
## 78e62ef06314b8f2f120f153c642ee0916109600be7d7c0e73beb1c76cd39896 linux-headers-5.15.123-01-x86_64.pkg.tar.lz
## cea6653a3a4ae672688c313787374347d54a18acdd0ef4b19c7900d151d1bcdb linux-5.15.123-01-x86_64.pkg.tar.lz
##
cp $(ls -l $pkgname*pkg.tar.lz) /tmp/$pkgname-$epoch_$pkgver-$pkgrel-$arch.pkg.tar.lz >/tmp/pkg-mv.log
ls -lh /tmp/
## 3c121089de1c3157d6af7679dabf4f8dcf204643fcefe2478edbd77114f8f2fd linux-5.15.124-01-x86_64.pkg.tar.lz
## aa255f8b95fae7c196c19568ce1d8ec7205911f0ef99c12954305be3f2f25fef linux-headers-5.15.124-01-x86_64.pkg.tar.lz

272
linux/PKGBUILD-aur.123 Normal file
View File

@ -0,0 +1,272 @@
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgbase=linux-lts515
pkgver=5.15.123
pkgrel=1
pkgdesc='LTS Linux 5.15.x'
url="https://www.kernel.org/"
arch=(x86_64 pentium4 i686 i486)
license=(GPL2)
makedepends=(
bc libelf pahole cpio perl tar xz
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick texlive-latexextra
)
options=('!strip')
_srcname=linux-$pkgver
source=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
config # the main kernel config file
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch
0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch
0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
0005-lg-laptop-Recognize-more-models.patch
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
sha256sums=('2de69544a12e6a059163c58fc901c13bcf22e8cac39c66b56f8fbb633399bf93'
'SKIP'
'55ab34d2281ec5363f10c14219c7ada92c8c6d7c0cacfb288e0bf1a923e88872'
'3b5cfc9ca9cf778ea2c4b619b933cda26519969df2d764b5a687f63cf59974cd'
'c175fbb141c3cec013c799f694d88310375ac5456042f6a4a1adc7667836d786'
'8357f000b2b622e73dcfd41c2bad42b5e99fffe8f7ee64f774aa771f86cef43c'
'5c1ee81fdd5818442af6081de987f9c1a9ce3c8d183566b3dfc19a8433aa3dde'
'067e8995fcd6f6ed25e0253e9374c0e179a000c154da3e59ce62634945ac5be9')
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd $_srcname
echo "Setting version..."
scripts/setlocalversion --save-scmversion
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
done
echo "Setting config..."
cp ../config .config
make olddefconfig
diff -u ../config .config || :
make -s kernelrelease > version
echo "Prepared $pkgbase version $(<version)"
}
build() {
cd $_srcname
make htmldocs all
}
_package() {
pkgdesc="The $pkgdesc kernel and modules"
depends=(coreutils kmod initramfs)
optdepends=('wireless-regdb: to set the correct wireless channels of your country'
'linux-firmware: firmware images needed for some devices')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE)
replaces=(wireguard-lts)
cd $_srcname
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
echo "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
# Used by mkinitcpio to name the kernel
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
DEPMOD=/doesnt/exist modules_install # Suppress depmod
# remove build and source links
rm "$modulesdir"/{source,build}
}
_package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=(pahole)
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing build files..."
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
localversion.* version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
cp -t "$builddir" -a scripts
# required when STACK_VALIDATION is enabled
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
# required when DEBUG_INFO_BTF_MODULES is enabled
install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
echo "Installing headers..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/x86" -a arch/x86/include
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
# https://bugs.archlinux.org/task/13146
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
# https://bugs.archlinux.org/task/20402
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
# https://bugs.archlinux.org/task/71392
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
echo "Installing KConfig files..."
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
echo "Removing unneeded architectures..."
local arch
for arch in "$builddir"/arch/*/; do
[[ $arch = */x86/ ]] && continue
echo "Removing $(basename "$arch")"
rm -r "$arch"
done
echo "Removing documentation..."
rm -r "$builddir/Documentation"
echo "Removing broken symlinks..."
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
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 -bi "$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"
}
_package-docs() {
pkgdesc="Documentation for the $pkgdesc kernel"
cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing documentation..."
local src dst
while read -rd '' src; do
dst="${src#Documentation/}"
dst="$builddir/Documentation/${dst#output/}"
install -Dm644 "$src" "$dst"
done < <(find Documentation -name '.*' -prune -o ! -type d -print0)
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/share/doc"
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
}
pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
$(declare -f "_package${_p#$pkgbase}")
_package${_p#$pkgbase}
}"
done
# vim:set ts=8 sts=2 sw=2 et:
if [ "${CARCH}" = "i486" -o "${CARCH}" = "i686" -o "${CARCH}" = "pentium4" ]; then
# use 32-bit configuration files per subarchitecture instead of main config file
source_pentium4=('config.pentium4')
source_i686=('config.i686')
source_i486=('config.i486')
# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
if [ "${sha256sums[${i}]}" = '55ab34d2281ec5363f10c14219c7ada92c8c6d7c0cacfb288e0bf1a923e88872' ]; then
sha256sums_pentium4=('4de7f462a6f5232dcd365d13e1f68a00d7a826d0e33fe58864148afe311c02df')
sha256sums_i686=('7866ae290f73444a591e54dbd2d417c478d0fa6d891e2afab967a9164b80743f')
sha256sums_i486=('c41a8ea7872ba608d12a55c5b47ae5df72cc8287185d915f7a7992e3611343bb')
fi
done
# copy architecture specific config file, not default 'config'
eval "$(
declare -f prepare | \
sed '
s,\.\./config,../config.$CARCH,
'
)"
# patch architecture when copying the kernel Makefile
eval "$(
declare -f package_linux-lts515-headers | \
sed '
\,/tools/objtool" ,d
\,arch/x86/Makefile, {
a \
install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
}
'
)"
# avoid using zstd compression in ultra mode (exhausts virtual memory)
source+=('no-ultra-zstd.patch')
sha256sums+=('3997ce6033fdf950a9960f1db720b38c47b1a2e06ab75fc6712c154f596e7c47')
# upstream prepare() does already do the *.patch patching
# temporarily disabled documentation due to sphinx_rtd_theme (FS32#163)
pkgname=(
$(
printf '%s\n' "${pkgname[@]}" | \
grep -v '^\$pkgbase-docs'
)
)
eval "$(
declare -f build | \
sed '
s/\bhtmldocs\b//
'
)"
makedepends=(${makedepends[@]//python-sphinx_rtd_theme/})
makedepends=(${makedepends[@]//python-sphinx/})
makedepends=(${makedepends[@]//graphviz/})
makedepends=(${makedepends[@]//imagemagick/})
makedepends=(${makedepends[@]//texlive-latexextra/})
fi

View File

@ -1,16 +1,16 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.15.123 Kernel Configuration
# Linux/x86 5.15.124 Kernel Configuration
#
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230501"
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230801"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130101
CONFIG_GCC_VERSION=130201
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000
CONFIG_AS_VERSION=24100
CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24000
CONFIG_LD_VERSION=24100
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y

10702
linux/config-aur.123 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -832,6 +832,7 @@ f155d090c8d6d78aeaae0edee2b71b8b8f4518d84779557e0fd82b1987aa09ef ChangeLog-5.15
2ff391755ac546ca68894d5d2cc9640662ddd4f7784f76b9c26de345496b9ac4 ChangeLog-5.15.121
354cefd1a29ce461ff873d5349bc49419b4d48d563ff5ae71d874a8b4bc46c11 ChangeLog-5.15.122
55907f2a4881b569d2b629f66d2ba6f66fcb42dc369ffafbabd441dafff8ca0d ChangeLog-5.15.123
d7a6a275d4242620fd46c04fa2e24b862994f0f4c8054b86b0ded31360b837b0 ChangeLog-5.15.124
8973679b5da41c4f9f3a12edf2598bcea3ee4a4988a179f36c4c8d4ec9c96e6f ChangeLog-5.16
694254b586ab67c329bc79a3b0a60f74771b97aebe314aff66c944ec454acb98 ChangeLog-5.16.1
5f029a42102d90a5ca51c2d7d64095dbd846fbf6391582ac9e2f7a791e33b3dd ChangeLog-5.16.2
@ -2570,6 +2571,8 @@ bf73c722e2e3d42043e17fa978b569f7b45f0eae02cc58b431d45ea4157a808e linux-5.15.120
38755801cd1ce229a8c0a0536d29aa37acea8a8aa13fa438e19fbf9d6293342d linux-5.15.122.tar.xz
20ea4ec292839d74d199cd1381404f0389683f063de9ace48365eb398f24cdf0 linux-5.15.123.tar.gz
2de69544a12e6a059163c58fc901c13bcf22e8cac39c66b56f8fbb633399bf93 linux-5.15.123.tar.xz
32d329ba32ad3fc021a4d6f7096baf1fb83833998fcb00bdd4939ef1d913172b linux-5.15.124.tar.gz
00036a0260ad012aa832a8698a4afcf23b2410091527738ce48ce3fcc23f22ed linux-5.15.124.tar.xz
d4791f2eddeb25c4e6ae0b2f9b3f5fb3fd394d7f9a57fa3e33de6dd9761480f6 linux-5.16.tar.gz
027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
5c91875fd84393b6a8a6352f5f7a2fedbed3708e06dc8cc465a9f5a86d1324f5 linux-5.16.1.tar.gz
@ -3553,6 +3556,7 @@ eba49da6370da30784508d2b17c3d36c87482805907028966d5a0a6e69d56569 patch-5.15.120
acdebb94e3b84d74d8ff851a5c622f0304b832d7b62e795c0b846adc65eb66a5 patch-5.15.121.xz
3c010fcdcc1cf8468384d9468f57f47a0a8ffa8e99aabac91efade699b613dfb patch-5.15.122.xz
6114dc1b29a584e05b024b480604af41ef69ab0ff1e4feecbd0b17ad961950e6 patch-5.15.123.xz
bf644acb642af680ebd01e1bc3305b9cc09e984a6360aac7b6dd1669dac5c385 patch-5.15.124.xz
cdc44e99ee873ef2fe27f1ca62120ad225e8d59a99506db3ebfd31e0c7f6796b patch-5.16.xz
9ff97f3a01ec8744863ff611315c44c1f5d1ff551769f7d8359c85561dee1b1d patch-5.16.1.xz
3a09c2f1ad410c09cf03921abeed1a6ca7c38138fb508171ee673d429d179171 patch-5.16.2.xz
@ -3632,17 +3636,17 @@ fdabf20292982e808a26b87f2f29493ba9f20a87d958dc592018ba1a381669df patch-5.19.15.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJkwhX9AAoJEGMtOgZYnaaxQTsQAJNY5SbB57wGpQvKQl8dNiXT
10mTX7Tf5+Pm/p7J6iqb/Nr31mshLW3F7pVz5yBGEft6sEZLqpWBiiWix3yZZvBq
sDsEwBz/+Jqzqn+yVrfxkKmsISNFlyU4DADnqLGf8YwiNEySXmfyc8y0Drq1CQqe
vVnOX1VaiTz5PdKdq0mc+/vE6xB4U2i+NmDltXzirYAm0ByMQg3rSeHsKq//0Rkr
C15urh3os9CA8oa7an62kKahVP2AdFfDLTtazsQmgLlh+ai5ZeYCLx/DTQHmNcfC
fB4scyR8Xg64TfHztSJvNM5jQI3bIvEwe4jL9jzs1qPkSh8sEBLpM9Qq8hSJLcSX
RjKOKPdadsIn89nmYfTHOaDJ015xPctOA2H+3WKYj42lwOorwY8JmhtWcrrnA2Nh
Wt+afHu6FYYceOEsKs6S5IqNH6Bj19YMjoGtPIurPMHvOtB9EvNRL50Zd3PJLiX0
S6a2yG//QbPXzmPTZHKJnjGd87jwIUZzVo0ozZ+iYFVbv7OimvOt6T/Bwao+KjWl
BEZQmZqqhtAGUv36aEZdEe8t7/paosPYeDfqKSBDkxBzpO8FAGHp4hTmBIsqYvfj
toy8CCIq0WXiOC/EhsaPJpFBg+pEVDDpKrTci7QUqC1OR5C1cq8AEFyjtMJ1hV6b
UvK20EDr/uUm/m3KFdx7
=6mHz
iQIcBAEBCAAGBQJky2WWAAoJEGMtOgZYnaaxS0kP/A6fCInkniKndKoCf8MQ3Zem
wGRYLkn2MRGfmwECIMGPmZC0qMSX9FKreY3lTef0vlbphslC9SWS6FsA+/arc9ex
KNnuZyIz3B1Qs1lTuePPGgKjG343J2++54ObFZCCHStSbFdZ/fNJZopSEQWfNHY/
POakP8X0fGI+exEL2vdESq6Lkw4ItCILKcVg2sKIqBJcUVvrxiiY4OXaBLR5l5N1
R/+03AP8G+oIbhaa1ai3bHfPdMXmNC7tTVOiMsoTY45D3IbWlmWFWJeuracN47dP
ATLse/6MkV4Cgz8XXPKEIs/cocw3Ru2mi/jh1GnUQmN4x6ZLBSSEl3KiHgWmbzmY
Zu6GbB2x2d4o7eaqz79DbVcfnpepNmI9NmfeS71lApAowlgcxVwFtUBsfN+Q1Q4W
Nh4KVD471rprVH0ehKgKz0J9QxldGuR7VLZxxEdc8aCw2OzYRqC6DpY+hdXHnZaL
IPrPwWG7XJWTgQMMi9e1zuPzrBtoL2mNEAUNRZnJTH80E4uDZiM9no0GZQ9y2oGu
tvAZVnwQDJkacYqVx6PnRpt737cGGEtSk6IbNsNXNxeUoGuqADYhY0ZFkuNkoizR
J04+oZPRaQyrSscAqYDO87JyMhNrMm9DubELx1suJ7Fu4VKa46rs524VlIn9h2xx
9Vfor1ygF9jo9hX9QN1z
=NVZp
-----END PGP SIGNATURE-----