Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [RFC] Using virtualpkg to pin a kernel version
@ 2021-09-04 16:30 tornaria
  2021-09-04 20:13 ` ericonr
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tornaria @ 2021-09-04 16:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

New issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/32833

Description:
Suppose I want to pin my kernel to 5.10, which is the latest LTS.

I can configure
```
virtualpkg=linux:linux5.10
virtualpkg=linux-headers:linux5.10-headers
```
in xbps.d. This works fine in the sense that `linux5.10` will be installed instead of `linux5.13` and it is future proof (contrary to `virtualpkg=linux5.13:linux5.10` which will break when kernel is switched to 5.14).

However, this results in the `linux-base` package as orphan. Of course, I can just change `linux-base` to manual and be done with it, but if I forget this could lead to a broken system and it is more steps to document (and since this is not documented, I don't know if something will change in the future that breaks my system).

I wonder if it would make sense to have a different meta package, say `linux-kernel`, whose only purpose is to depend on `linux${version}`, just like `linux-headers` only purpose is to depend on `linux${version}-headers`.

Then `linux` would be a meta package that depends on `linux-kernel` and `linux-base` (or the actual dependencies as linux-base might become superfluous), and linux kernel version can be pinned easily with virtualpkgs as above. This seems robust enough to be documented in the manual, etc.

---

In fact, it seems the current `linux-base` pkg could just be renamed `linux` adding `linux-kernel` dependency, and the current `linux` could just be renamed `linux-kernel`, keeping `linux-headers` as a subpkg of `linux-kernel`.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-19  2:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-04 16:30 [ISSUE] [RFC] Using virtualpkg to pin a kernel version tornaria
2021-09-04 20:13 ` ericonr
2021-09-04 20:27 ` tornaria
2021-09-04 20:32 ` Chocimier
2021-09-04 20:32 ` tornaria
2021-09-04 20:32 ` tornaria
2021-09-04 20:36 ` tornaria
2022-06-05  2:14 ` github-actions
2022-06-19  2:15 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).