I'm using RHEL4 AS. I finally got the rhce-ts rpm to extract. I extracted the %pre section of the script listed below from rhce-config-4.0-0.55.noarch.rpm:
preinstall scriptlet (using /bin/sh):
# jsk: put the files we know we have in place
# rrr: Let's not freak out instructors if CDs haven't been mirrored first.
if [ -d /tftpboot ]; then
[ -f /usr/lib/syslinux/pxelinux.0 ] && cp -f /usr/lib/syslinux/pxelinux.0 /tftpboot
[ -f /var/ftp/pub/images/pxeboot/initrd.img ] && cp -f /var/ftp/pub/images/pxeboot/initrd.img /tftpboot
[ -f /var/ftp/pub/images/pxeboot/vmlinuz ] && cp -f /var/ftp/pub/images/pxeboot/vmlinuz /tftpboot
fi
The files/directories did not exist:
/var/ftp/pub/images/pxeboot/initrd.img
/var/ftp/pub/images/pxeboot/vmlinuz
I created the directories and copied / renamed the files to them from /boot.
rhce-config-4.0-0.55.noarch.rpm ran and extracted rhce-ts-4.0-0.55.noarch.rpm.
It's installed and working.
Did anyone have to go through all this? Or, is it just me?
Anyway, logicalfuzz - thanks for pointing me the the right direction and
logosys - thanks for posting the file.