Package Base Details: linux-git

Git Clone URL: https://aur.archlinux.org/linux-git.git (read-only, click to copy)
Keywords: git kernel linux
Submitter: jonathanio
Maintainer: osimarr
Last Packager: osimarr
Votes: 13
Popularity: 0.086753
First Submitted: 2019-12-22 10:10 (UTC)
Last Updated: 2024-01-09 03:55 (UTC)

Pinned Comments

osimarr commented on 2023-05-07 22:27 (UTC) (edited on 2023-05-12 04:05 (UTC) by osimarr)

Hi. Since the package became an orphan, I adopted it to continue what I actively maintain on https://aur.archlinux.org/pkgbase/linux-mainline-git, now on this AUR package.

The build script and config file will be up-to-date with Arch's official Linux package unless an update is required to be functional.

But I intentionally removed the documentation package because it consumes too much building time.

This package supports certain customization if compiled by the user. Check for the README file inside the package repo, or the .INSTALL message after package installation to learn how.


Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Harvey commented on 2021-01-31 13:34 (UTC)

@mxfm: Yes, I know that as it has been mentioned often before. Believe me, I have been patient and I retested for a lot of times but never had success with any incarnation of 5.11. And from what ArthurBorsboom said, there is at least some workaround that implies that maybe also the package is at fault. There might be some config changes from 5.10 to 5.11 causing this issue. Only an uneducated guess, of course ;)

mxfm commented on 2021-01-30 13:28 (UTC)

@Harey it is git source code and it can be broken at any time. When I used this package I experienced at least 2-3 times consistent boot failures. To solve this is issue you can wait when the issue in source code will be fixed.

jonathanio commented on 2021-01-29 08:43 (UTC)

I'll try and take a look at this on the weekend. I've been moving house recently and not had much free time.

ArthurBorsboom commented on 2021-01-29 08:42 (UTC)

I had the same problem. As a workaround I replaced the kernel config in the package with the kernel config from my installed Arch system (/proc/config.gz).

Harvey commented on 2021-01-28 17:58 (UTC)

No matter what I do I can't get this to work. The package compiles and installs correctly but when loading initial ramdisk it hangs there forever. Did I oversee something? This used to work on my machine when I last tried it with kernel 5.10...

IOAOI commented on 2021-01-07 02:31 (UTC) (edited on 2021-01-07 02:35 (UTC) by IOAOI)

If you follow these instructions: https://wiki.archlinux.org/index.php/Bisecting_bugs_with_Git and do makepkg -o then checkout an older version somehow and run makepkg -e there are errors as "version" is now wrong. In _package ():

  cd $_srcname
  make -s kernelrelease > version   <--- added
  local kernver="$(<version)"

this avoided those errors. (Only tested that on one build mind you.) Presumably the wiki info predates this commit about a year ago: https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=linux-git&id=e7e35802193bf14e094a5c12e7748c600ce9ea80

ArthurBorsboom commented on 2020-12-09 12:57 (UTC)

Kernel 5.10.0-rc7 can be build if you revert 1 commit; this is build issue upstream (see linux-next-git package comments).

git revert 3351b16af494 --no-edit

After the build of 5.10.0-rc7 and rebooting my system (AMD Renoir 4800U), it hangs with a black screen.

To fix this I had to use my running kernel config, which I found in /proc/config.gz

Could it be that the config in this package is not in line with the normal 'linux' package (outdated?) and needs fixing?

sickcodes commented on 2020-11-30 18:36 (UTC) (edited on 2020-11-30 18:36 (UTC) by sickcodes)

Thanks all!

I built 5.10rc6 fine and I am booted on Linux 5.10.0-rc6-1-git.

Used the config from /proc/config.gz

Also skipped making docs as I was getting Latex errors of some sort.

yay linux-git --getpkgbuild --force
cd linux-git
N=$(($(nproc)*2))
RC=5.10rc6

# remove html docs
sed -i -e 's/\"\$pkgbase-docs\"//' PKGBUILD
sed -i -e 's/rm\ -r\ \"\$builddir\/Documentation\"//' PKGBUILD
sed -i -e 's/make\ htmldocs//' PKGBUILD
sed -i -e 's/make\ /make\ -j'${N}'\ /g' PKGBUILD
sed -i -e 's/^pkgver\=.*/pkgver\='${RC}'/' PKGBUILD

# use old config
zcat /proc/config.gz > config

makepkg -si

sickcodes commented on 2020-11-30 12:42 (UTC) (edited on 2020-11-30 12:43 (UTC) by sickcodes)

@iamazat & @jonathanio thank you for that amazing tip. I've massively increased the job, having lived in slow lane for over a year now. Have added loglevel, will let you know. Also I moved the markdown to a gist as it was bloating this comments section. Will test higher rc, thanks @sandy8925, and will post logs, brb!

jonathanio commented on 2020-11-30 12:37 (UTC)

@iamazat @sickcodes if you're using makepkg, you can set MAKEFLAGS in your /etc/makepkg.conf (along with any other relevant flags you want) and it will apply to all builds, not just the current build or checkout! :)