/[smeserver]/rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-trigger-reboot-on-kernel-update.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-trigger-reboot-on-kernel-update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Oct 1 05:29:11 2010 UTC (14 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-yum-2_2_0-24_el5_sme, smeserver-yum-2_2_0-22_el5_sme, smeserver-yum-2_2_0-26_el5_sme, smeserver-yum-2_2_0-18_el5_sme, smeserver-yum-2_2_0-20_el5_sme, smeserver-yum-2_2_0-23_el5_sme, smeserver-yum-2_2_0-19_el5_sme, smeserver-yum-2_2_0-21_el5_sme, smeserver-yum-2_2_0-25_el5_sme, HEAD
Error occurred while calculating annotation data.
* Sat Oct 1 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme
- Trigger post-upgrade and reboot on kernel updates [SME: 6166]

1 diff -up smeserver-yum-2.2.0/root/usr/lib/yum-plugins/smeserver.py.trigger-reboot-on-kernel-update smeserver-yum-2.2.0/root/usr/lib/yum-plugins/smeserver.py
2 --- smeserver-yum-2.2.0/root/usr/lib/yum-plugins/smeserver.py.trigger-reboot-on-kernel-update 2010-10-01 07:21:18.000000000 +0200
3 +++ smeserver-yum-2.2.0/root/usr/lib/yum-plugins/smeserver.py 2010-10-01 07:26:24.000000000 +0200
4 @@ -62,7 +62,7 @@ def posttrans_hook(conduit):
5 signal_event, signal_event, smeevent)
6
7 (n, a, e, v, r) = tsmem.po.pkgtup
8 - if n.startswith('sme') or n.startswith('e-smith') or r.endswith('sme'):
9 + if n.startswith('sme') or n.startswith('e-smith') or n.startswith('kernel') or r.endswith('sme'):
10 smechange = True
11
12 if smechange:

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed