GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — fix: look kernels up by release in --uninstall and chk_kernel by davmonk · Pull Request #32 · tmiland/kernel-installer Conversation
Contributor
Fixes #31. Change
TestsReal script, fake root, Linux Mint 22.3. A stub
RPM, against a scratch rpm database holding the real New CI: the install matrix (Debian 12/13, Ubuntu 22.04/24.04, Fedora 44) gets an Uninstall kernel step after Verify installation. It runs shellcheck 0.11.0: no new findings; the test is clean. Merges cleanly with all other open PRs. Not verified
🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsPackages built by the installer are named after the kernel release from
the Makefile, which always has a SUBLEVEL: -k 7.3-rc7 builds
linux-image-7.3.0-rc7 (rpm: kernel-7.3.0_rc7, as binrpm-pkg writes - as
_), and a 7.3 release builds 7.3.0. --uninstall and the "already
installed" check queried linux-image-${LINUX_VER} / kernel-${LINUX_VER},
so for mainline and x.y kernels uninstall silently did nothing (exit 0)
and the check never fired.
Add kernel_release() (7.3-rc7 -> 7.3.0-rc7, 7.3 -> 7.3.0, x.y.z and
distro releases unchanged) and installed_kernel_pkg(), which also tries
the _ form for rpm while keeping distro kernels such as
kernel-6.17.1-300.fc44.x86_64 working. --uninstall now removes all found
packages in one transaction and fails with a message when none is
installed.
Adds tests/test_kernel_release.sh, the Tests workflow, and an uninstall
step to every distro in the install CI matrix.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. --uninstall and the "already installed" check miss mainline and x.y kernelsUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |