diff options
| author | Martin Schwenke <martin@meltin.net> | 2009-05-12 14:53:50 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2009-05-12 14:53:50 +1000 |
| commit | 9a4a2d021849037ad26caac792debf6bc3f147ce (patch) | |
| tree | 80bb50aefd4ba55f372f30acfe56dc23e8335f03 /base/root/scripts | |
| parent | 58a9c0a65f218fecc8156296f74f5bfa81f61da4 (diff) | |
| download | autocluster-9a4a2d021849037ad26caac792debf6bc3f147ce.tar.gz autocluster-9a4a2d021849037ad26caac792debf6bc3f147ce.tar.xz autocluster-9a4a2d021849037ad26caac792debf6bc3f147ce.zip | |
Use "yum clean all" before any "yum -y update" to avoid yum weirdness.
There is occasionally weirdness where something to do with yum gets
left in a strange state that causes dependency problems. Adding a
gratuitous "yum clean all" before doing a "yum update" seems to avoid
some of these problems... and it isn't very expensive...
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
| -rwxr-xr-x | base/root/scripts/SoFS-postinstall.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/root/scripts/SoFS-postinstall.sh b/base/root/scripts/SoFS-postinstall.sh index 159154a..e043d39 100755 --- a/base/root/scripts/SoFS-postinstall.sh +++ b/base/root/scripts/SoFS-postinstall.sh @@ -5,6 +5,7 @@ # basic-postinstall.sh but we may have just rewound the cluster, so we # might be running this on the node install of from kickstart. echo "Updating from YUM repositories" +yum clean all yum -y update echo "Trying install of scsi-target-utils" |
