/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11180-yum-dbupdate-systemd.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11180-yum-dbupdate-systemd.patch

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

Revision 1.3 by jpp, Wed Dec 9 04:59:21 2020 UTC Revision 1.5 by jpp, Wed Dec 9 05:42:41 2020 UTC
# Line 1  Line 1 
1  diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks  diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks
2  --- smeserver-yum-2.6.0.old/createlinks 2020-12-08 22:55:14.254000000 -0500  --- smeserver-yum-2.6.0.old/createlinks 2020-12-08 22:55:14.254000000 -0500
3  +++ smeserver-yum-2.6.0/createlinks     2020-12-08 23:28:27.655000000 -0500  +++ smeserver-yum-2.6.0/createlinks     2020-12-08 23:28:27.655000000 -0500
4  @@ -21,18 +21,23 @@  @@ -32,7 +32,11 @@
   
  # yum-update-dbs is launched by smeserver yum plugin,  
  # it isnot needed anymore in install remove and update events  
 -for ( qw(modify) )  
 -{  
 -    event_link("yum-update-dbs", "yum-$_", "90");  
 -}  
 +#for ( qw(modify) )  
 +#{  
 +#    event_link("yum-update-dbs", "yum-$_", "90");  
 +#}  
   
  for ( qw(bootstrap-console-save yum-update smeserver-yum-update) )  
  {  
      event_link("yum-import-keys", $_, "10");  
5   }   }
6    
7  -safe_symlink("once", "root/etc/e-smith/events/local/services2adjust/yum");  -safe_symlink("once", "root/etc/e-smith/events/local/services2adjust/yum");
8  +safe_symlink("restart", "root/etc/e-smith/events/local/services2adjust/yum");  +safe_symlink("restart", "root/etc/e-smith/events/local/services2adjust/yum");
 +safe_symlink("restart", "root/etc/e-smith/events/yum-modify/services2adjust/yum");  
9    
10  +my $event= "smeserver-yum-update";  +my $event= "smeserver-yum-update";
11  +# systemd-specific action mandatory for this package-update event  +# systemd-specific action mandatory for this package-update event
# Line 48  diff -Nur smeserver-yum-2.6.0.old/root/e Line 32  diff -Nur smeserver-yum-2.6.0.old/root/e
32   # /etc/e-smith/events/local/services2adjust/yum -> once   # /etc/e-smith/events/local/services2adjust/yum -> once
33   # but that never seems to terminate   # but that never seems to terminate
34  -exec /usr/local/bin/svc -o /service/yum  -exec /usr/local/bin/svc -o /service/yum
35  +exec /usr/bin/systemctl restart yum.service  +exec /usr/bin/systemctl restart yum.service &
36    
37  diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates smeserver-yum-2.6.0/root/sbin/e-smith/check4updates  diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates smeserver-yum-2.6.0/root/sbin/e-smith/check4updates
38  --- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates     2020-12-08 22:55:14.233000000 -0500  --- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates     2020-12-08 22:55:14.233000000 -0500


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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