[CentOS] install not recognizing RHEL
Craig White
craigwhite at azapple.com
Mon Sep 19 15:49:17 UTC 2005
On Mon, 2005-09-19 at 16:31 +0100, Will McDonald wrote:
> On 19/09/05, Craig White <craigwhite at azapple.com> wrote:
> > [root at linserv1 cdrom]# cat /etc/redhat-release
> > Red Hat Enterprise Linux ES release 3 (Taroon Update 5)
> >
> > but I forgot to make note of it above
> >
> > I wonder if Taroon Update 5 is the problem, perhaps I should lie and
> > suggest Update 3 on those... hmmm
>
> Isn't the installer just a shell script? Couldn't you just prod around
> inside and see what it's specifically looking for?
>
----
damn - why didn't I think of that?
relevant section (I think)...
case "$LINUX_DIST" in
RedHat)
#redhat kernel version
rtn=$(version_compare $VERSION "2.4.2" )
if [ $rtn -eq 2 ];then
echo $INST_REDHAT_MINIMAL
exit 1
fi
rtn=$(version_compare $VERSION "2.5.0" )
if [ $rtn -eq 1 ];then
DIST_TOO_NEW="YES"
fi
if [ -f /etc/redhat-release ]; then
cat /etc/redhat-release | ${GREP} 'release 3|
release 2.1|3.0' | $GREP -v $GREP_S 1>/dev/null 2>&1
if [ $? -ne 0 ]; then
OS_NOT_CERTIFIED="YES"
fi
else
OS_NOT_CERTIFIED="YES"
fi
;;
Looks strange - (I took the liberty of removing some of the line
indentations for readability). I would think that the 'release 3' part
should succeed.
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the CentOS
mailing list