-
Notifications
You must be signed in to change notification settings - Fork 195
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
Add --uninstall-kernel #2542
Comments
cgwalters
added a commit
to cgwalters/rpm-ostree
that referenced
this issue
Mar 1, 2023
Closes: coreos#2542 Today anyone wanting to switch to a different kernel variant such as `kernel-rt` must manually pass all the *current* kernel packages to `--uninstall` (separately). It's not just very unergonomic, it also makes the calling code *operating system dependent* because as just happened when C9S added a `kernel-modules-core` package, that suddenly also needs to be specified. xref https://issues.redhat.com/browse/OCPBUGS-8113
cgwalters
added a commit
to cgwalters/rpm-ostree
that referenced
this issue
Mar 2, 2023
Closes: coreos#2542 Today anyone wanting to switch to a different kernel variant such as `kernel-rt` must manually pass all the *current* kernel packages to `--uninstall` (separately). It's not just very unergonomic, it also makes the calling code *operating system dependent* because as just happened when C9S added a `kernel-modules-core` package, that suddenly also needs to be specified. xref https://issues.redhat.com/browse/OCPBUGS-8113
cgwalters
added a commit
to cgwalters/rpm-ostree
that referenced
this issue
Mar 2, 2023
Closes: coreos#2542 Today anyone wanting to switch to a different kernel variant such as `kernel-rt` must manually pass all the *current* kernel packages to `--uninstall` (separately). It's not just very unergonomic, it also makes the calling code *operating system dependent* because as just happened when C9S added a `kernel-modules-core` package, that suddenly also needs to be specified. xref https://issues.redhat.com/browse/OCPBUGS-8113
cgwalters
added a commit
to cgwalters/rpm-ostree
that referenced
this issue
Mar 2, 2023
Closes: coreos#2542 Today anyone wanting to switch to a different kernel variant such as `kernel-rt` must manually pass all the *current* kernel packages to `--uninstall` (separately). It's not just very unergonomic, it also makes the calling code *operating system dependent* because as just happened when C9S added a `kernel-modules-core` package, that suddenly also needs to be specified. xref https://issues.redhat.com/browse/OCPBUGS-8113
cgwalters
added a commit
to cgwalters/machine-config-operator
that referenced
this issue
Mar 4, 2023
Unfortunately rpm-ostree requires this right now; we have an issue and code to provide a better API in coreos/rpm-ostree#2542 But using that will require shipping the updated rpm-ostree in RHEL 8.6.z or at least OCP 4.12.z, which is problematic. Because we know the new MCD will always be upgrading to RHEL9, for now let's update this hardcoded list. In the future we can detect when the running host has `--remove-installed-kernel` and use it instead.
cgwalters
added a commit
to cgwalters/machine-config-operator
that referenced
this issue
Mar 8, 2023
Unfortunately rpm-ostree requires this right now; we have an issue and code to provide a better API in coreos/rpm-ostree#2542 But using that will require shipping the updated rpm-ostree in RHEL 8.6.z or at least OCP 4.12.z, which is problematic. Because we know the new MCD will always be upgrading to RHEL9, for now let's update this hardcoded list. In the future we can detect when the running host has `--remove-installed-kernel` and use it instead.
cgwalters
added a commit
to cgwalters/machine-config-operator
that referenced
this issue
Mar 8, 2023
Unfortunately rpm-ostree requires this right now; we have an issue and code to provide a better API in coreos/rpm-ostree#2542 But using that will require shipping the updated rpm-ostree in RHEL 8.6.z or at least OCP 4.12.z, which is problematic. Because we know the new MCD will always be upgrading to RHEL9, for now let's update this hardcoded list. In the future we can detect when the running host has `--remove-installed-kernel` and use it instead.
openshift-cherrypick-robot
pushed a commit
to openshift-cherrypick-robot/machine-config-operator
that referenced
this issue
Mar 10, 2023
Unfortunately rpm-ostree requires this right now; we have an issue and code to provide a better API in coreos/rpm-ostree#2542 But using that will require shipping the updated rpm-ostree in RHEL 8.6.z or at least OCP 4.12.z, which is problematic. Because we know the new MCD will always be upgrading to RHEL9, for now let's update this hardcoded list. In the future we can detect when the running host has `--remove-installed-kernel` and use it instead.
cgwalters
added a commit
to cgwalters/rpm-ostree
that referenced
this issue
May 8, 2023
Closes: coreos#2542 Today anyone wanting to switch to a different kernel variant such as `kernel-rt` must manually pass all the *current* kernel packages to `--uninstall` (separately). It's not just very unergonomic, it also makes the calling code *operating system dependent* because as just happened when C9S added a `kernel-modules-core` package, that suddenly also needs to be specified. xref https://issues.redhat.com/browse/OCPBUGS-8113
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See coreos/coreos-assembler#2028 (comment)
This would make it easier to switch to variant kernels like
kernel-rt
.(Now arguably perhaps we should have an explicit
switch-kernel
command or something too)The text was updated successfully, but these errors were encountered: