# safe-kernel-upgrade

Two scripts for safely upgrading Debian/Ubuntu systems that depend on
AuriStor kernel modules.

## Scripts

### auristor-client-installable

Checks whether a pre-built AuriStor kernel module package is available
in APT for the latest kernel.  Exits 0 if the module is available, 1
if not.

See [auristor-client-installable.md](auristor-client-installable.md)
for the full man page.

### safe-kernel-upgrade

Guards `apt-get upgrade` behind `auristor-client-installable` so the
system is never upgraded to a kernel that lacks AuriStor filesystem
support.  Reboots automatically if the upgrade requires it.

See [safe-kernel-upgrade.md](safe-kernel-upgrade.md) for the full man
page.

## Generating documentation

Run `./generate-docs` to regenerate the markdown man pages from the
POD embedded in each script.
