@severach
Thanks for the quick reply, that worked, thanks!
CONFIG_SECURITY_LANDLOCK is supported since 5.13, so maybe it's time to say good-bye to kernel 5.10 for me. :)
| Git Clone URL: | https://aur.archlinux.org/linux-lts510.git (read-only, click to copy) |
|---|---|
| Package Base: | linux-lts510 |
| Description: | Documentation for the LTS 5.10 Linux kernel |
| Upstream URL: | https://www.kernel.org |
| Keywords: | kernel linux |
| Licenses: | GPL-2.0-only |
| Submitter: | jonathon |
| Maintainer: | severach |
| Last Packager: | severach |
| Votes: | 10 |
| Popularity: | 0.000001 |
| First Submitted: | 2022-01-11 00:20 (UTC) |
| Last Updated: | 2026-03-05 18:17 (UTC) |
@severach
Thanks for the quick reply, that worked, thanks!
CONFIG_SECURITY_LANDLOCK is supported since 5.13, so maybe it's time to say good-bye to kernel 5.10 for me. :)
One time pacman --disable-sandbox. Permanently /etc/pacman.conf DisableSandboxFilesystem. Or boot into a kernel that supports CONFIG_SECURITY_LANDLOCK.
Hi,
Is there any solutions to this error? thanks.
$ uname -r
5.10.251-1-lts510
$ pacman -Syu
:: Synchronizing package databases...
error: restricting filesystem access failed because Landlock is not supported by the kernel!
error: switching to sandbox user 'alpm' failed!
error: failed to synchronize all databases (failed to retrieve some files)
@boomshalek Yeah, sorry about that. I saw that it was failing and it looked like a problem with the newer gcc. I was hoping the kernel developers would fix it but I guess not. I'll see if I can get it going again.
@ozz: thank you for providing the automated builds. I used them for weeks now, but they are not up to date anymore. The repo page shows build failure notifications too. Had to build again by myself, although learning about make localmoduleconf which helped reduce compile time.
I'm still maintaining the automated builds.
A shell script using makepkg like this would work. I added a couple more lines so you can put this in your crontab. Every new version will be built and ready to install.
#!/usr/bin/bash
set -e
set -u
cd "$(dirname "$0")" # cron compatible
git pull
seds=(
-e 's:^ config:&.custom:g'
)
sed -E "${seds[@]}" 'PKGBUILD' > 'PKGBUILD.Arch'
cat >> 'PKGBUILD.Arch' << EOF
md5sums[2]='SKIP'
sha256sums[2]='SKIP'
EOF
makepkg -scC -p 'PKGBUILD.Arch'
Hi I am compiling this kernel since a few years since my graphic card needs a nvidia-lts kernel module version only available for this older kernel. I am compiling using trizen -Syu and would like to use a modified kernel config, as compiling takes more than 2 hours on my first gen i7 cpu system. What yould be the arch aur way to create a reduced config file and inject it into this package building process ? My last creation of a kernel config is more than 15 years ago ...
193 fixes the build issues.
Version 192 is out but does not build due to new issues. May be a bit until it's fixed.
Pinned Comments
jonathon commented on 2022-01-11 19:25 (UTC) (edited on 2022-05-18 10:09 (UTC) by jonathon)
Please make sure you read the "How to use the AUR" wiki page before reporting issues: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages
A binary package is also available in my kernel-lts unofficial user repository.