kernel-update: cleanup, make specifying version optional

Signed-off-by: Martin Matous <m@matous.dev>
This commit is contained in:
Martin Matous 2025-03-17 15:08:58 +01:00
parent 584f0f913e
commit f2bc5e846d
Signed by: mmatous
GPG key ID: 8BED4CD352953224
2 changed files with 50 additions and 65 deletions

View file

@ -79,7 +79,11 @@ Status: active use
Dependencies: dracut, Gentoo (not really but eselect, specific names and paths...)
Usage: `kernel-update.py update <old-version> <new-version>`
This will update kernel using `/usr/src/linux/.config` to the latest installed `sys-kernel/gentoo-sources`.
Usage: `kernel-update.py`
Alt.: `kernel-update.py <old-version> <new-version>`
---
@ -152,4 +156,4 @@ Status: one-off
Dependencies: pykeepass
Usage: `try-luks-from-kdbx.py /path/to/kdbx /path/to/block-device`
Usage: `try-luks-from-kdbx.py /path/to/kdbx /path/to/block-device`