Skip to content

Commit d64006b

Browse files
authored
Merge pull request #76 from itoffshore/zen
update linux-zen.patch
2 parents 92617ea + 417e062 commit d64006b

3 files changed

Lines changed: 38 additions & 8 deletions

File tree

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version [0.7.2] - 20240420
2+
- update linux-zen.patch
3+
14
Version [0.7.1] - 20240407
25
- update linux-hardened.patch
36

patches/linux-zen.patch

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
1-
--- PKGBUILD.orig 2023-08-20 00:01:08.881228358 +0100
2-
+++ PKGBUILD 2023-08-20 00:04:56.247427802 +0100
3-
@@ -45,7 +45,34 @@ _make() {
4-
}
1+
--- PKGBUILD.orig 2024-04-20 13:25:52.166613600 +0100
2+
+++ PKGBUILD 2024-04-20 13:28:22.143658848 +0100
3+
@@ -19,11 +19,11 @@ makedepends=(
4+
xz
5+
6+
# htmldocs
7+
- graphviz
8+
- imagemagick
9+
- python-sphinx
10+
- python-yaml
11+
- texlive-latexextra
12+
+# graphviz
13+
+# imagemagick
14+
+# python-sphinx
15+
+# python-yaml
16+
+# texlive-latexextra
17+
)
18+
options=(
19+
!debug
20+
@@ -58,7 +58,34 @@ export KBUILD_BUILD_USER=$pkgbase
21+
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
522

623
prepare() {
724
- cd $_srcname
@@ -36,7 +53,16 @@
3653

3754
echo "Setting version..."
3855
echo "-$pkgrel" > localversion.10-pkgrel
39-
@@ -196,6 +223,33 @@ _package-headers() {
56+
@@ -87,7 +114,7 @@ build() {
57+
cd $_srcname
58+
make all
59+
make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1
60+
- make htmldocs
61+
+# make htmldocs
62+
}
63+
64+
_package() {
65+
@@ -210,6 +237,33 @@ _package-headers() {
4066
echo "Adding symlink..."
4167
mkdir -p "$pkgdir/usr/src"
4268
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
@@ -70,7 +96,7 @@
7096
}
7197

7298
_package-docs() {
73-
@@ -220,7 +274,7 @@ _package-docs() {
99+
@@ -234,7 +288,7 @@ _package-docs() {
74100
pkgname=(
75101
"$pkgbase"
76102
"$pkgbase-headers"

scripts/abk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ BUILD_DIR=~/build
1616
GUI_EDITOR=mousepad
1717
CONSOLE_EDITOR=nano
1818
MAIN_KERNELS="linux linux-hardened linux-lts linux-zen"
19-
AUR_KERNELS="linux-ck linux-libre"
19+
AUR_KERNELS="linux-xanmod linux-ck linux-libre"
2020
MAKEPKG_DIR=/tmp/makepkg
21-
AUTOMATED="N"
21+
# set to N to choose module compression
22+
AUTOMATED="Y"
2223
## custom USER VARS are sourced
2324
#################################
2425
USER_CONFIG=~/.config/abk.conf ##

0 commit comments

Comments
 (0)