/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11047-executeactions.patch
ViewVC logotype

Annotation of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11047-executeactions.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Oct 20 20:29:41 2020 UTC (4 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-34_el7_sme
* Tue Oct 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-34.sme
- fix smeserver.py not executing action because of wrong path [SME: 11047]

1 jpp 1.1 diff -Nur smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py
2     --- smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2020-10-20 16:26:48.811000000 -0400
3     +++ smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2020-10-20 16:25:58.107000000 -0400
4     @@ -222,7 +222,7 @@
5     for f in files:
6     if os.path.islink(tmppath + f):
7    
8     - mytmpaction = os.path.realpath(os.readlink(tmppath + f).replace("..",events_path))
9     + mytmpaction = os.path.realpath(os.readlink(tmppath + f)).replace("/root/rpmbuild/RPMS",events_path)
10     #print "link " + f + ": " + mytmpaction
11    
12     if not actionlist.has_key(mytmpaction):

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