OS updates install via KS!

Philip Rowlands phr at doc.ic.ac.uk
Wed Apr 7 09:30:01 CDT 2004

On Tue, 6 Apr 2004, Asim Zuberi wrote:

>%post --nochroot
>test -d "${CHROOT}${KICKMNT}" || mkdir -- "${CHROOT}${KICKMNT}"
># Setup NFS mounts
>echo "****** Mounting from bladetest2 Server....******"
>mount -t nfs "${CHROOT}${KICKMNT}"

Erm, you're still in %nochroot here

>echo "****** Applying package updates...******"
>rpm -Fvh "${CHROOT}${KICKMNT}"/OSupdates/*

So this won't work. Start another %post section. And you'll probably
need to special-case the kernel-* packages, as they might not update
nicely. Alternatively, save time during the install and pre-patch the
RedHat/RPMS directory (then run genhdlist).


More information about the Linux-PowerEdge mailing list