@Teddo ??? maybe some odd issue with AUR? This package is working fine.
Search Criteria
Package Details: linux-xanmod-headers 7.0.9-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/linux-xanmod.git (read-only, click to copy) |
|---|---|
| Package Base: | linux-xanmod |
| Description: | Headers and scripts for building modules for the Linux Xanmod - Stable Mainline [MAIN] kernel |
| Upstream URL: | http://www.xanmod.org/ |
| Licenses: | GPL-2.0-only |
| Submitter: | Yoshi2889 |
| Maintainer: | figue (figuepluto, jfigueras) |
| Last Packager: | figue |
| Votes: | 131 |
| Popularity: | 0.20 |
| First Submitted: | 2017-02-14 09:40 (UTC) |
| Last Updated: | 2026-05-17 23:27 (UTC) |
Dependencies (13)
- pahole (pahole-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR, gettext-gitAUR) (make)
- libelf (elfutils-gitAUR, elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (make)
- rust (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rustup) (make)
- rust-bindgen (rust-bindgen-gitAUR) (make)
- rust-src (rustup-gitAUR, rust-src-gitAUR, rustup) (make)
- tar (tar-gitAUR, uutils-tar-gitAUR) (make)
- xz (xz-gitAUR) (make)
Required by (1)
- linuwu-sense-dkms (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 31 32 33 .. 53 Next › Last »
figue commented on 2021-01-13 17:50 (UTC)
Teddo commented on 2021-01-13 15:09 (UTC)
I can't download the package. fatal: branch name not valid: init.defaultBranch =
figue commented on 2021-01-11 18:50 (UTC) (edited on 2021-01-11 23:01 (UTC) by figue)
@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
Singularity commented on 2021-01-11 17:53 (UTC)
@figue Thanks. Didn't make a difference. I also tried the shell built-in "command". I'm think that it happens already at the time of reading the file.
figue commented on 2021-01-10 22:00 (UTC) (edited on 2021-01-10 22:02 (UTC) by figue)
@Singularity it seems that bash parse this line as:
scripts/config --set-str CONFIG_ANDROID_BINDER_DEVICES '""'
and then scripts/config doesn't like it...
Can you try to modify PKGBUILD and add the following line:
set -- scripts/config
before this?
set -- $_linec
So the final code will be:
cat "${startdir}"/myconfig | while read -r _linec ; do
if echo "$_linec" | grep "scripts/config" ; then
set -- scripts/config
set -- $_linec
"$@"
else
warning "Line format incorrect, ignoring..."
fi
done
figue commented on 2021-01-10 21:36 (UTC)
@MithicSpirit I don't use Grub since 0.97... So I don't know. If you know the way, I can modify the sources. Anyway, this package is based on linux in core/linux
Singularity commented on 2021-01-10 19:34 (UTC)
@figue Yes, if I execute the command form the last post in terminal (or the PKGBUILD), the result in the .config will be CONFIG_ANDROID_BINDER_DEVICES="".
But if placing this command inside the myconfig file, the resulting line in the .config will be CONFIG_ANDROID_BINDER_DEVICES="\"\""
MithicSpirit commented on 2021-01-10 17:07 (UTC)
Is there a way to make this package automatically replace the main entry for Arch in GRUB? Currently, I'm having to manually edit the main one in grub-customizer.
figue commented on 2021-01-10 15:22 (UTC)
@Singularity do you mean that the myconfig process parses some commands in a bad way? Can you provide your full myconfig please?
Pinned Comments
anlorsp commented on 2024-07-13 17:07 (UTC) (edited on 2024-07-15 04:53 (UTC) by anlorsp)
Adding
to myconfig does solve the "Failed to insert module 'nvidia': Key was rejected by service" problem.
Anyone who configured secure boot using sbctl and want to load dkms modules can try this solution.
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: