I can't download the package. fatal: branch name not valid: init.defaultBranch =
Search Criteria
Package Details: linux-xanmod-headers 6.11.10-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: | GPL2 |
Submitter: | Yoshi2889 |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 132 |
Popularity: | 2.20 |
First Submitted: | 2017-02-14 09:40 (UTC) |
Last Updated: | 2024-11-22 21:25 (UTC) |
Dependencies (10)
- pahole (pahole-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 52 Next › Last »
Teddo commented on 2021-01-13 15:09 (UTC)
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?
Singularity commented on 2021-01-10 13:34 (UTC)
The code for reading the myconfig file, could it be adjusted? It does not remove spaces, they will end up escaped in the config file. That's how it should be when placing there a full config. But when using scripts/config commands instead, it's bad because on the one hand the commands must be, in difference to the usage in the PKGBUILD, without spaces, but on the other hand, it's impossible to set an empty string, as it will be a syntax error if no spaces are used, and using spaces will make the spaces be part of the string. I.e. scripts/config --set-str CONFIG_ANDROID_BINDER_DEVICES "" can be used in the PKGBUILD, but not in myconfig.
figue commented on 2021-01-05 22:14 (UTC)
@burster yes, cachy patches are not included in 5.10.X for now.
If you want to try a new scheduler you can install package linux-xanmod-cacule which has new CacULE scheduler developed by the same guy that developed cachy:
Links:
https://github.com/xanmod/linux/tags
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: