Sisyphus repository
Last update: 3 december 2022 | SRPMs: 17961 | Visits: 25477377
en ru br
ALT Linux repos
5.0: 0.9.1-alt1
4.1: 0.9.1-alt0.M41.1
4.0: 0.9.1-alt0.M40.1

Group :: System/Kernel and hardware
RPM: update-kernel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: update-kernel
Version: 1.4
Release: alt3

Summary: Update kernel and modules
License: GPL-2.0+
Group: System/Kernel and hardware

Source: %name-%version.tar
BuildArch: noarch
BuildRequires: shellcheck

Requires: apt
Requires: /usr/bin/rpmevrcmp
# May use rpm -q with an Epoch in the pkg argument (as well as Buildtime and
# Disttag -- but these are dependent on the output from APT, and APT cares
# about the correct dependencies on such features).
Requires: RPMQ(EPOCH)

This package contains a script to conveniently update
kernel and modules.

It works by installing a new package set along with existing kernel
so that you don't end up without a kernel guaranteed to boot (your
good old one); by default, it will look for the most recent package
of the same flavour (e.g. "std-def") and try to install all the same
modules as already installed for that.

See also:


mkdir -p %buildroot%_sbindir
install -pm755 update-kernel %buildroot%_sbindir/
install -pm755 remove-old-kernels %buildroot%_sbindir/
install -pm755 analyze-kmodules %buildroot%_sbindir/
install -Dp update-kernel.8 -t %buildroot%_man8dir/
install -Dp %buildroot%_mandir/ru/man8/update-kernel.8
install -Dp bash_completion %buildroot/usr/share/bash-completion/completions/update-kernel
ln -sf update-kernel %buildroot/usr/share/bash-completion/completions/remove-old-kernels

make check



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin