@Singularity can you upload myconfig somewhere?
Edit: you can try to execute directly myconfig as a script:
Maybe something like this?
--- PKGBUILD 2021-01-09 23:54:32.306194466 +0100
+++ /tmp/PKGBUILD 2021-01-12 00:01:05.930930894 +0100
@@ -182,15 +182,8 @@
cp -f "${startdir}"/myconfig .config
else
# myconfig is a partial file. Applying every line
- msg2 "Applying configs..."
- cat "${startdir}"/myconfig | while read -r _linec ; do
- if echo "$_linec" | grep "scripts/config" ; then
- set -- $_linec
- "$@"
- else
- warning "Line format incorrect, ignoring..."
- fi
- done
+ msg2 "Applying configs as a script..."
+ sh "${startdir}"/myconfig
fi
echo
fi
Pinned Comments
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: