-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Detecting Linux Kernel version in CI test container #93273
Comments
NOTE: docker containers do not have a kernel, the container uses the host system's kernel. |
I don't see how this is a bug. Other than dropping support for older Linux kernels there's nothing we can do right? |
@SMillerDev I see. I'm trying to disable some features that require a new Linux kernel when the requirements are not satisfied (e.g., let CI test pass and build bottles in our Ubuntu 16.04 container). But also allows users who want to try out the new features when building from source on their own machine. (#90921 (comment)) Is there a general policy for runtime requirements when Homebrew cannot be self-contained (e.g., Linux Kernel requirements)?
|
Building from source is not supported (people should use bottles) so this isn't really a supported usecase. If people want to use different features they can edit the formula. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Detect Linux Kernel version in CI test container (
install
requires a minimal kernel header version requirement (Linux kernel header version >= 4.6)).The Linux CI test container is based on Ubuntu 16.04, the kernel header version is 4.4.
What happened (include all command output)?
What did you expect to happen?
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: