Hey @RealOrRandom. The localversion.* files are needed by the building stage because kernel building scripts will look for those files to set the kernel version in the binary (the version you see with e.g. 'uname -a'). There are 3 files created by the prepare() stage: localversion.10-pkgrel, localversion.20-pkgname, and version. But those 3 files aren't touched by the kernel git tree, which means after you ran prepare() once (e.g. using makepkg -o), you can git bisect, git checkout, git rebase, etc, and the 3 files will remain untouched. Although I'd suggest to run 'make kernelversion > version' before running 'makepkg -e'.
Search Criteria
Package Details: linux-mainline-git v5.18.r2752.fdaf9a5840ac-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-mainline-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-mainline-git |
Description: | The Linus Torvalds' Mainline Linux kernel and modules |
Upstream URL: | https://www.kernel.org |
Licenses: | GPL2 |
Provides: | VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
Submitter: | osimarr |
Maintainer: | osimarr |
Last Packager: | osimarr |
Votes: | 1 |
Popularity: | 0.001223 |
First Submitted: | 2022-03-01 04:10 (UTC) |
Last Updated: | 2022-05-25 04:05 (UTC) |
Dependencies (19)
- coreutils (coreutils-git, coreutils-hybrid-git, coreutils-selinux, coreutils-hybrid)
- initramfs (dracut-git, booster-git, booster-wip-git, mkinitcpio-git, booster, dracut, mkinitcpio)
- kmod (kmod-git, kmod-minimal-git)
- bc (bc-gh) (make)
- cpio (cpio-git) (make)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- graphviz (make)
- imagemagick (graphicsmagick-imagemagick-compat, imagemagick-git, imagemagick-full-git, imagemagick-no-hdri, imagemagick-full, imagemagick-fftw) (make)
- kmod (kmod-git, kmod-minimal-git) (make)
- libelf (elfutils-git, libelf-minimal-git) (make)
- pahole (pahole-git) (make)
- perl (perl-git) (make)
- python-sphinx (python-sphinx-git, python-sphinx-2) (make)
- python-sphinx_rtd_theme (make)
- tar (tar-libarchive, tar-git, tar-parallel) (make)
- xmlto (xmlto-git) (make)
- xz (xz-git) (make)
- crda (wireless-regdb-pentest, wireless-regdb) (optional) – to set the correct wireless channels of your country
- linux-firmware (linux-firmware-iwlwifi-git, linux-libre-firmware, linux-firmware-git, linux-firmware-uncompressed) (optional) – firmware images needed for some devices
Required by (3)
- mozillavpn (requires WIREGUARD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
Sources (6)
Latest Comments
osimarr commented on 2022-05-14 06:28 (UTC) (edited on 2022-05-14 06:30 (UTC) by osimarr)
RealOrRandom commented on 2022-05-09 08:32 (UTC)
Hi, thanks for making a new -git
package. Could you move
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
to the _package
functions? This is needed when playing around in the source tree (e.g., checking out other versions) and then running makepkg -e
. I did this change for bisecting a regression in the kernel.
osimarr commented on 2022-03-01 04:17 (UTC)
While we do have another AUR package (linux-git) that follows Linux mainline too, unfortunately it does not update the build script and config file.
osimarr commented on 2022-03-01 04:17 (UTC) (edited on 2022-03-01 04:20 (UTC) by osimarr)
I've created this package to follow official Linux mainline from Linus Torvalds' repository. The build script and config file are going to be up-to-date with Arch's official Linux package, unless it's required an update to be functional. But I removed the documentation package on purpose because it consumes too much build time.
Pinned Comments
osimarr commented on 2022-03-01 04:17 (UTC) (edited on 2022-03-01 04:20 (UTC) by osimarr)
I've created this package to follow official Linux mainline from Linus Torvalds' repository. The build script and config file are going to be up-to-date with Arch's official Linux package, unless it's required an update to be functional. But I removed the documentation package on purpose because it consumes too much build time.