Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade linux-system76 dependency to recommends #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hyperair
Copy link

@hyperair hyperair commented May 31, 2024

system76-driver contains a number of useful scripts (especially the ones in /lib/systemd/system-sleep) for System76 laptops, even without the use of the system76 kernel.

This PR downgrades the linux-system76 dependency to a Recommends so that users can run custom kernels, or even a stock Ubuntu kernel of their choosing without needing to keep a kernel installed that they will never use.

@hyperair
Copy link
Author

If downgrading the linux-system76 dependency to Recommends is not an acceptable approach, I'd suggest splitting the scripts into a separate package so that we can have just the scripts without pulling in the linux-system76 dependency.

@jacobgkau jacobgkau requested review from a team May 31, 2024 21:20
@jacobgkau
Copy link
Member

I'm not sure we'd want to do this. The kernel is a basic part of hardware support for some of our products. The support team may depend on it being present during troubleshooting. No harm discussing it, though.

@hyperair
Copy link
Author

hyperair commented Jun 3, 2024

In that case can we have system76-driver be a pure metapackage with no contents, and the scripts be in a separate package like system76-driver-scripts or system76-driver-daemon? That way I can keep the scripts around but not actually pull in the kernel.

@jacobgkau
Copy link
Member

I can understand the use case behind doing one of those two things.

For what it's worth in evaluating this proposal, Pop!_OS gets the linux-system76 package pulled in as a hard dependency regardless of the driver due to the pop-server metapackage requiring it: https://github.com/pop-os/desktop/blob/master_jammy/debian/control

So this would only potentially affect our Ubuntu users (and users on other Ubuntu-based distros using the PPA).

@jacobgkau
Copy link
Member

I know this is an annoying question, but can I ask why you don't want to pull in the System76 kernel? Is it software/DKMS compatibility for something you require only supporting the Ubuntu kernel?

@hyperair
Copy link
Author

Sorry for the late response, I must have missed your last message.

It's nothing like that, it's just that I feel that.. no offence meant, Ubuntu as a whole has more resources than System76 to keep up with kernel updates and security patches for the entire duration that the Ubuntu release is supported. Additionally, after the initial mainlining of patches happens for the model of laptop I use, I don't think there's much need to stick to a vendor-specific kernel.

I also used to compile and run my own kernels anyway, and because I foolishly provisioned a small root and boot partition I don't really have the disk space to spare for more than 1 kernel long term, so I would just have one kernel installed unless I'm upgrading. Not needing to keep linux-system76 around would also be beneficial in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants