update kernel

This commit is contained in:
Ali Riza KESKIN committed 2026-05-01 09:49:51 +03:00
1 parent 27905fc19f
commit c4259df797
3 files changed
+25 -10

No files matched your search

+9 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='linux-headers'
release='11'
version='6.19.3'
release='12'
version='7.0.3'
url='https://cdn.kernel.org/pub/linux/kernel/'
description='Linux kernel headers'
email='aliriza.keskin@pardus.org.tr'
@@ -15,9 +15,15 @@ uses=()
arch=('x86_64')
group=(sys.kernel)
prepare(){
wget https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-$version.tar.xz -O - | tar -xJvf -
}
package(){
# install kernel (archlinux kernel config used)
ALLOWROOT=1 mklinux -f -o $DESTDIR -t linux -v $version -y 1 --no-build \
ALLOWROOT=1 mklinux -f -o $DESTDIR -v $version -y 1 \
-t local -b linux-$version --no-build \
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config"
# symlink for musl
mkdir -p $DESTDIR/usr/include/musl
+8 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='linux-tools'
release='1'
version='6.19.3'
release='2'
version='7.0.3'
url='https://cdn.kernel.org/pub/linux/kernel/'
description='Linux kernel'
email='aliriza.keskin@pardus.org.tr'
@@ -15,9 +15,14 @@ uses=()
arch=('x86_64')
group=(sys.kernel)
prepare(){
wget https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-$version.tar.xz -O - | tar -xJvf -
}
package(){
# install kernel (archlinux kernel config used)
ALLOWROOT=1 bash mklinux -n -u -o "$DESTDIR" -t linux \
ALLOWROOT=1 bash mklinux -n -u -o "$DESTDIR" -t local -b linux-$version \
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config" \
-v $version -y 1
}
+8 -4
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='linux'
release='11'
version='6.19.3'
release='12'
version='7.0.3'
url='https://cdn.kernel.org/pub/linux/kernel/'
description='Linux kernel'
email='aliriza.keskin@pardus.org.tr'
@@ -17,10 +17,14 @@ group=(sys.kernel)
# Kernel module strip make garbage it.
dontstrip="31"
prepare(){
wget https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-$version.tar.xz -O - | tar -xJvf -
}
package(){
# install kernel (archlinux kernel config used)
ALLOWROOT=1 bash mklinux -f -q -x -o "$DESTDIR" -t linux \
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config" \
ALLOWROOT=1 bash mklinux -f -q -x -o "$DESTDIR" -t local -b linux-$version \
-c "https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/raw/main/config.x86_64" \
-v $version -y 1
# remove headers (for fix conflict with linux-headers)
rm -rf ${DESTDIR}/usr/include