update-kernel/update-kernel.spec

89 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: update-kernel
Version: 0.8
Release: alt1
Summary: Update kernel and modules
License: GPL
Group: System/Kernel and hardware
Packager: Vladimir V Kamarzin <vvk@altlinux.ru>
Source0: %name-%version.tar
BuildArch: noarch
Requires: /usr/bin/rpmevrcmp
%description
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-smp") and try to install all the same
modules as already installed for that.
See also:
http://lists.altlinux.org/pipermail/community/2005-November/366618.html
http://lists.altlinux.org/pipermail/sisyphus/2006-November/192226.html
%prep
%setup
%install
install -pDm755 update_kernel_modules_cetus.sh %buildroot%_sbindir/%name
install -pm755 remove-old-kernels %buildroot%_sbindir/
%files
%_sbindir/*
%changelog
* Sun Dec 28 2008 Vladimir V. Kamarzin <vvk@altlinux.org> 0.8-alt1
- update_kernel: update kernel-headers and kernel-headers-modules also
(me, kipruss)
- Add new script remove-old-kernels. It removes all kernels except current
* Mon Nov 24 2008 Vladimir V. Kamarzin <vvk@altlinux.org> 0.7-alt1
- Use rpmevrcmp instead of rpmvercmp
- Use only serial/epoch+version+release when comparing versions
* Mon Sep 22 2008 Vladimir V. Kamarzin <vvk@altlinux.org> 0.6-alt1
- Run x11setupdrv if needed (mike)
- Spelling fixes (mike)
* Mon Sep 01 2008 Vladimir V Kamarzin <vvk@altlinux.org> 0.5-alt1
- Fix module-names calculation (Closes: #16946)
* Tue Apr 22 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.4-alt1
- Rewrite modules upgrading procedure (Closes: #15380)
* Tue Apr 15 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.3-alt4
- update_kernel: bugfix in options parser
* Fri Apr 11 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.3-alt3
- Set dependency on /usr/bin/rpmvercmp instead of rpm-utils
2008-03-13 17:43:37 +05:00
* Thu Mar 13 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.3-alt2
- Add dependency on rpm-utils
* Wed Mar 12 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.3-alt1
- update-kernel:
+ use rpmvercmp(1) for getting newest kernel package name
+ old code for manual choosing of kernel flavour/release replaced with
options -t/-r
* Mon Mar 03 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.2-alt1
- update-kernel:
+ implemented "force" mode
+ recode script to utf8
+ update copyright header
* Mon Feb 18 2008 Michael Shigorin <mike@altlinux.org> 0.1-alt2
- clarified License: (with lav@)
- noarch
* Sun Feb 17 2008 Michael Shigorin <mike@altlinux.org> 0.1-alt1
- initial package
- many thanks to Vitaly Lipatov (lav@) and Anatoly Kitouwaykin (cetus)
for writing and improving the script -- I just had to package it