/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch

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


Revision 1.1 - (show annotations) (download)
Thu Jan 24 01:55:13 2019 UTC (5 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-20_el7_sme, smeserver-yum-2_6_0-60_el7_sme, smeserver-yum-2_6_0-39_el7_sme, smeserver-yum-2_6_0-28_el7_sme, smeserver-yum-2_6_0-29_el7_sme, smeserver-yum-2_6_0-48_el7_sme, smeserver-yum-2_6_0-21_el7_sme, smeserver-yum-2_6_0-46_el7_sme, smeserver-yum-2_6_0-34_el7_sme, smeserver-yum-2_6_0-52_el7_sme, smeserver-yum-2_6_0-62_el7_sme, smeserver-yum-2_6_0-49_el7_sme, smeserver-yum-2_6_0-44_el7_sme, smeserver-yum-2_6_0-47_el7_sme, smeserver-yum-2_6_0-51_el7_sme, smeserver-yum-2_6_0-45_el7_sme, smeserver-yum-2_6_0-40_el7_sme, smeserver-yum-2_6_0-50_el7_sme, smeserver-yum-2_6_0-25_el7_sme, smeserver-yum-2_6_0-31_el7_sme, smeserver-yum-2_6_0-27_el7_sme, smeserver-yum-2_6_0-22_el7_sme, smeserver-yum-2_6_0-24_el7_sme, smeserver-yum-2_6_0-61_el7_sme, smeserver-yum-2_6_0-64_el7_sme, smeserver-yum-2_6_0-23_el7_sme, smeserver-yum-2_6_0-36_el7_sme, smeserver-yum-2_6_0-26_el7_sme, smeserver-yum-2_6_0-32_el7_sme, smeserver-yum-2_6_0-58_el7_sme, smeserver-yum-2_6_0-55_el7_sme, smeserver-yum-2_6_0-19_el7_sme, smeserver-yum-2_6_0-37_el7_sme, smeserver-yum-2_6_0-41_el7_sme, smeserver-yum-2_6_0-30_el7_sme, smeserver-yum-2_6_0-33_el7_sme, smeserver-yum-2_6_0-35_el7_sme, smeserver-yum-2_6_0-57_el7_sme, smeserver-yum-2_6_0-54_el7_sme, smeserver-yum-2_6_0-42_el7_sme, smeserver-yum-2_6_0-56_el7_sme, smeserver-yum-2_6_0-53_el7_sme, smeserver-yum-2_6_0-43_el7_sme, smeserver-yum-2_6_0-59_el7_sme, smeserver-yum-2_6_0-38_el7_sme, smeserver-yum-2_6_0-63_el7_sme
* Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
- add yum-priority as requirement [SME: 6499]
  add support for plugin priority using property priority im yum_repositories db
  initial priority to 10 for sme*, base and updates repos.
  property yum priority set as enabled as default
- avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
- update check4contribs email format to match check4updates [SME: 8782]

1 diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates
2 --- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates 2016-02-05 18:19:58.000000000 -0500
3 +++ smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates 2019-01-23 20:52:57.183000000 -0500
4 @@ -8,16 +8,16 @@
5
6 yum -e 0 -d 0 check-update --disablerepo=* --enablerepo=smecontribs > $TMP1
7 if [ $? = 100 ]; then
8 - echo -e "===\n=== yum reports available updates for Contribs :\n===" >> $TMPFILE
9 + echo -e "===\n=== yum reports available updates for Contribs:\n===" >> $TMPFILE
10 cat $TMP1 >> $TMPFILE
11 - echo -e "\n To apply all these updates, you can log on your server and run the following command :\n
12 - yum update --enablerepo=smecontribs\n\n" >> $TMPFILE
13 - echo -e "\n Alternatively you can update a contrib package one at a time using the command:\n
14 - yum update --enablerepo=smecontribs packagename
15 - signal-event post-upgrade
16 - signal-event reboot
17 -
18 - (replace packagename with contrib name eg smeserver-wbl)\n" >> $TMPFILE
19 + echo -e "\n=== To apply *all* these updates, log on to your server command line and
20 +=== enter the following command:
21 + # yum update --enablerepo=smecontribs" >> $TMPFILE
22 + echo -e "\n=== Alternatively you can update packages one at a time using the command:
23 +=== (replace packagename with contrib name eg smeserver-wbl)
24 + # yum update --enablerepo=smecontribs packagename
25 + # signal-event post-upgrade
26 + # signal-event reboot\n" >> $TMPFILE
27 fi
28
29 if [ -s $TMPFILE ]; then

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