/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11364-bz11360.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11364-bz11360.patch

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


Revision 1.1 - (show annotations) (download)
Sat Feb 20 05:41:44 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-45_el7_sme, smeserver-yum-2_6_0-46_el7_sme
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-45.sme
- packages installed logged both in yum.log and message [SME: 11364]
- set priority to 10 for remi-safe [SME: 11360]

1 diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks
2 --- smeserver-yum-2.6.0.old/createlinks 2021-02-19 23:53:41.867000000 -0500
3 +++ smeserver-yum-2.6.0/createlinks 2021-02-20 00:37:15.941000000 -0500
4 @@ -30,6 +30,8 @@
5 # systemd-specific action mandatory for this package-update event
6 event_link("systemd-reload", $event, "89");
7 event_link("systemd-default", $event, "88");
8 +templates2events("/etc/rsyslog.conf",$event);
9 +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
10
11 #--------------------------------------------------
12 # functions for manager panel
13 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories
14 --- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2021-02-19 23:53:41.838000000 -0500
15 +++ smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2021-02-19 23:58:45.825000000 -0500
16 @@ -57,7 +57,7 @@
17 {
18 $OUT .= "priority=10\n";
19 }
20 - elsif ($priority eq 'enabled' && ( $repos->key eq 'base' || $repos->key eq 'updates'))
21 + elsif ($priority eq 'enabled' && ( $repos->key eq 'base' || $repos->key eq 'updates' || $repos->key eq 'remi-safe' ))
22 {
23 $OUT .= "priority=10\n";
24 }
25 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/templates/rsyslog.conf/32yum smeserver-yum-2.6.0/root/etc/e-smith/templates/rsyslog.conf/32yum
26 --- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/rsyslog.conf/32yum 1969-12-31 19:00:00.000000000 -0500
27 +++ smeserver-yum-2.6.0/root/etc/e-smith/templates/rsyslog.conf/32yum 2021-02-20 00:35:33.618000000 -0500
28 @@ -0,0 +1,5 @@
29 +
30 +
31 +#yum
32 +if $programname == "yum" and ( $msg startswith " Installed" or $msg startswith " Erased" or $msg startswith " Updated" ) then stop
33 +

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