diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -24,6 +24,7 @@ Environment: - `INITRD` initrd to inspect (default `/boot/initrd-generic.img`) - `LOG` append the non-interactive run, slackpkg output included, to this file (default `/var/log/dist-upgrade.log`; set it empty to disable) +- `R8125_DIR` SBo `r8125` SlackBuild directory used for the driver rebuild A logrotate rule for that log ships in `logrotate.d/dist-upgrade`; install it to `/etc/logrotate.d/`. @@ -39,7 +40,12 @@ to `/etc/logrotate.d/`. initrd's contents, - the module set against the pre-upgrade snapshot (notices modules lost). 4. Lists any leftover `.new` config files. -5. Reports whether a reboot is recommended. +5. If the `r8125` package is installed and the newest kernel has no `r8125` + module, rebuilds it from the SBo SlackBuild in `R8125_DIR` (default + `/var/lib/sbopkg/SBo-git/network/r8125`) and installs it with `upgradepkg`. + The tree is used as-is; sync it first if the new kernel needs a newer + driver. +6. Reports whether a reboot is recommended. A non-interactive run is appended to `LOG`, with a timestamped header per run, so an unattended upgrade can be reviewed afterwards. Interactive runs are not @@ -59,8 +65,9 @@ closing recap reminds you to re-run with `-i` to review and remove them. ## Requirements Slackware `-current`, run as root. Needs `slackpkg`, `cpio` and `gzip`; `zstd` -and `xz` are used only if the initrd is compressed with them. The module -bootability check uses Slackware's own +and `xz` are used only if the initrd is compressed with them. The `r8125` +rebuild needs `wget` and the new kernel's `/lib/modules/<ver>/build` tree. +The module bootability check uses Slackware's own `/usr/share/mkinitrd/mkinitrd_command_generator.sh` when present. ## Testing |
