Package Base Details: linux-git

Git Clone URL: https://aur.archlinux.org/linux-git.git (read-only, click to copy)
Keywords: kernel linux
Submitter: jonathanio
Maintainer: jonathanio
Last Packager: jonathanio
Votes: 7
Popularity: 0.014900
First Submitted: 2019-12-22 10:10
Last Updated: 2020-11-04 21:11

Pinned Comments

jonathanio commented on 2019-12-22 10:14

The last version of the linux-git package was disowned and deleted. I've restored it taken ownership, as I do make use of this package.

This package will automatically update it's version

Note: This is a -git package and the version will automatically update to the latest mainline commit when it is run, having pulled down the branch from the repository. It will normally only be updated between major versions in order to include any updated configuration for new modules and features or settings changes.

Latest Comments

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

sickcodes commented on 2020-11-30 18:36

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

@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

@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! :)

jonathanio commented on 2020-11-30 12:35

@sickcodes, further to @sandy8925, look for the following at the end of your build:

==> Finished making: linux-git 5.10rc6.r0.gb65054597872-1 (Mon 30 Nov 2020 06:45:15 GMT)

This tells you what your true build version is, as the version will automatically update to the latest commit on the master branch every time it is built.

jonathanio commented on 2020-11-30 12:31

@sickcodes I'd suggest adding loglevel to your kernel parameters and setting it to 4 or above. I think the default is 3 IIRC. Probably 6 or 7 would be best.

Hopefully, that'll give you more information during the boot process as to what if failing, or pausing, and maybe why. I do test it on my own laptop, and it is capable of booting, while the current config is based on Arch Linux 5.9 kernel, with a few extra options set for the 5.10 release.

sandy8925 commented on 2020-11-30 12:30

@sickcodes - Sometimes failure to boot is due to upstream code having a bug. Try building a newer or older commit/RC and see if that helps. Usually they fix it up in a later RC and before stable release.

iamazat commented on 2020-11-30 12:18

Super fast build:

MAKEFLAGS=-j$(( $(getconf _NPROCESSORS_ONLN)*2 )) make

sickcodes commented on 2020-11-30 12:15

Any tips on getting this to boot?

It rc2 seems to hang on boot.

Closest I got was to the root recovery shell.

Tried all of these from rEFInd boot loader as well as super grub disk EFI USB boot:

https://gist.github.com/sickcodes/3b614cbbb78db3dcec2f763608251b86

sickcodes commented on 2020-11-30 12:13

Super fast build:

yay linux-git -G
cd linux-git
N="$(($(nproc)*2))"
sed -i -e 's/make\ /make\ -j'$N'\ /g' PKGBUILD
makepkg -si

jonathanio commented on 2020-10-31 12:21

We're back in business. The package is back to normal size for me and I've been using the build for a few hours on my laptop. I'll take a look at supporting the -doc package over the weekend.