Package Details: linux-versioned-bin 6.12.1.arch1-1

Git Clone URL: https://aur.archlinux.org/linux-versioned-bin.git (read-only, click to copy)
Package Base: linux-versioned-bin
Description: Metapackage depending on linux6.12.1.arch1-1-bin
Upstream URL: https://github.com/archlinux/linux
Licenses: GPL2
Submitter: chrisjbillington
Maintainer: chrisjbillington
Last Packager: chrisjbillington
Votes: 6
Popularity: 0.007822
First Submitted: 2020-02-19 21:45 (UTC)
Last Updated: 2024-11-24 06:00 (UTC)

Pinned Comments

chrisjbillington commented on 2020-02-28 17:48 (UTC) (edited on 2022-04-10 02:40 (UTC) by chrisjbillington)

These packages allow you to have multiple versions of the Arch kernel installed simultaneously. The intended use is to install the linux-versioned-bin (and linux-versioned-headers-bin if you use out-of-tree drivers) metapackage, using an AUR helper or otherwise in a way that automatically processes dependencies. This metapackage depends on the latest versioned kernel package, but older kernel packages will remain on your system as orphaned packages to be removed later. You can find and remove them with the remove-orphaned-kernels script, which will uninstall orphaned kernel packages except those corresponding to the kernel that is currently running. If you use GRUB, you will also need to ensure its config is updated after kernels are added or removed. Installing the grub-hook package will ensure this is done automatically.

To switch from the regular Arch kernel package to these versioned packages, you can do the following (using the AUR helper yay for example):

# Remove linux, linux-headers if installed, and any out-of-tree drivers for the regular kernel:
$ pacman -Rs linux [linux-headers] [nvidia] [...]
# Install dkms versions of any out-of-tree drivers you need:
$ pacman -S [nvidia-dkms] [...]
# If using GRUB, install grub-hook before installing kernels:
$ yay -S grub-hook
# Install the kernel metapackage, and headers metapackage if you use out-of-tree drivers:
$ yay -S linux-versioned-bin [linux-versioned-headers-bin]

This is also discussed here.

See also:

Latest Comments

« First ‹ Previous 1 2

patlefort commented on 2021-04-21 16:51 (UTC)

Would it be possible for you to create a versioned linux-zen package, if it's not too much trouble?

chrisjbillington commented on 2021-02-25 03:34 (UTC) (edited on 2021-02-25 03:35 (UTC) by chrisjbillington)

The script I use to update this package (included in the git repository for this AUR package) now automatically syncs metadata from the kernel packages in [core], i.e. depends, provides, conflicts etc (some of which changed recently). So updates should proceed consistently and reliably for the foreseeable without manual intervention required from me. Let me know if you encounter any issues.

chrisjbillington commented on 2020-08-27 23:45 (UTC)

Thanks @sileht, I failed to keep the package in sync with the repo linux PKGBUILD with respect to these changes. Perhaps I should redo how I update this PKGBUILD to make it be a patch on top of the repo linux's PKGBUILD.

Your changes are included in the latest update.

sileht commented on 2020-08-27 13:14 (UTC)

Just in case, a more digest format of my change:

commit 9ab0ff54039e70fbb241c961ba746d39be1e147b
Author: Mehdi Abaakouk <sileht@sileht.net>
Committer: Mehdi Abaakouk <sileht@sileht.net>
Date:   Thu Aug 27 00:52:44 2020 (14 hours ago)

    fix: add missing provides and replaces

diff --git a/PKGBUILD b/PKGBUILD
index f95b27d..f01d88a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -68,6 +68,8 @@ package_linux5.8.3.arch1-1-bin() {
   conflicts=("${_pkgname}")
   optdepends=('crda: to set the correct wireless channels of your country'
               'linux-firmware: firmware images needed for some devices')
+  provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
+  replaces=(virtualbox-guest-modules-arch wireguard-arch)
   tar -xf "${_kernpkg}" -C "${pkgdir}"
   rm "${pkgdir}"/{.MTREE,.BUILDINFO,.PKGINFO}
   sed -ic "s/${_pkgname}/${KERNNAME}/" "${pkgdir}/usr/lib/modules/${KERNNAME}/pkgbase"

sileht commented on 2020-08-23 20:49 (UTC) (edited on 2020-08-23 20:50 (UTC) by sileht)

Hi,

I got some issue with wireguard and this kernel package

Looks like this is missing from the kernelX.Y.Z.arch1.1-bin package:

  provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
  replaces=(virtualbox-guest-modules-arch wireguard-arch)

btw, thx for this kernel :)

chrisjbillington commented on 2020-02-28 17:48 (UTC) (edited on 2022-04-10 02:40 (UTC) by chrisjbillington)

These packages allow you to have multiple versions of the Arch kernel installed simultaneously. The intended use is to install the linux-versioned-bin (and linux-versioned-headers-bin if you use out-of-tree drivers) metapackage, using an AUR helper or otherwise in a way that automatically processes dependencies. This metapackage depends on the latest versioned kernel package, but older kernel packages will remain on your system as orphaned packages to be removed later. You can find and remove them with the remove-orphaned-kernels script, which will uninstall orphaned kernel packages except those corresponding to the kernel that is currently running. If you use GRUB, you will also need to ensure its config is updated after kernels are added or removed. Installing the grub-hook package will ensure this is done automatically.

To switch from the regular Arch kernel package to these versioned packages, you can do the following (using the AUR helper yay for example):

# Remove linux, linux-headers if installed, and any out-of-tree drivers for the regular kernel:
$ pacman -Rs linux [linux-headers] [nvidia] [...]
# Install dkms versions of any out-of-tree drivers you need:
$ pacman -S [nvidia-dkms] [...]
# If using GRUB, install grub-hook before installing kernels:
$ yay -S grub-hook
# Install the kernel metapackage, and headers metapackage if you use out-of-tree drivers:
$ yay -S linux-versioned-bin [linux-versioned-headers-bin]

This is also discussed here.

See also: