Package Base Details: linux-git

Git Clone URL: (read-only, click to copy)
Keywords: git kernel linux
Submitter: jonathanio
Maintainer: osimarr
Last Packager: osimarr
Votes: 13
Popularity: 0.027753
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, 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

1 2 3 4 5 6 .. 8 Next › Last »

bio3c commented on 2024-01-25 16:23 (UTC)

how to actually use custom patches? do i need to change some value or set some env var?

I did add my patches to the base folder and to the patches files, updated checksums but they were not applied during build...

osimarr commented on 2024-01-09 04:11 (UTC) (edited on 2024-01-09 04:18 (UTC) by osimarr)

@markboston if you build the package as is, it will compile the Linux mainline. This branch is not always stable, as it's used as a development branch. If you need a more stable image, you can use a Linux stable branch instead.

After you install a clean compilation, there will be an installed file /etc/linux-git/remote that you can edit and set the remote to the stable repository on the REMOTE variable, as explained in a comment on that file. And then the kernel version can be set on the COMMIT variable. The latest stable version you can retrieve from

As of today, you could set the remote file as below to get the latest stable:

Then rebuild the linux-git package to compile the configured version.

markboston commented on 2023-12-06 22:51 (UTC)

i get a black screen on booting. is there another package i need to get this to boot?

markboston commented on 2023-12-03 01:47 (UTC)

im getting an error when trying to import the gpg key. no data.

kode54 commented on 2023-09-30 05:40 (UTC)

In case it was missed, the /doesnt/exist message is the intentional output caused by a sed trick applied to the Makefile, per Arch upstream, to prevent it from automatically running depmod during the build stage, since pacman hooks run that post-install.

xiota commented on 2023-09-20 13:41 (UTC) (edited on 2024-01-30 01:08 (UTC) by xiota)

Please remove replaces directive, in accordance with AUR submission guidelines.

osimarr commented on 2023-09-20 05:01 (UTC)

Thanks for all the reports and fix tips. All build issues and versioning problem are fixed and PKGBUILD + config are updated to newest Arch Linux kernel package.

parkerlreed commented on 2023-09-06 23:38 (UTC) (edited on 2023-09-06 23:50 (UTC) by parkerlreed)

Strange issue on latest git. Complains "/doesnt/exist' is required??

No patches and just following upstream master without any tags.

  DEPMOD  /home/parker/.cache/paru/clone/linux-git/pkg/linux-git/usr/lib/modules/6.5.0-1-git-12107-g7ba2090ca64e
Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.
rm: cannot remove '/home/parker/.cache/paru/clone/linux-git/pkg/linux-git/usr/lib/modules/6.5.0-1-git-12107-g7ba2090ca64e/source': No such file or directory
==> ERROR: A failure occurred in package_linux-git().
error: failed to build 'linux-git-v6.4.rc3.r291.4e893b5aa4ac-1': 
error: packages failed to build: linux-git-v6.4.rc3.r291.4e893b5aa4ac-1

EDIT: Issue referenced here

Fix is to remove source from the cleanup rm

zbe commented on 2023-09-06 19:10 (UTC)

For building in clean chroot I had to add 'python' to makedepends or else make fails with

/usr/bin/env: ‘python3’: No such file or directory