Re: [CentOS] how to 'yum update' in a %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




First thing that comes to mind is:

%post --nochroot
# Some non-chroot stuff

chroot /mnt/sysimage

# All the chrooted stuff here

yum -y update

ah ha! - yes - thats go it thanks

also, what made you install bash in /usr/local/bin ????
i didn't - taken over systems and when i check a system that is allready kickstarted it says that bash is in /usr/local/bin


I would investigate that. It seems, well, less than intelligent in an
RPM-based system.

trust me - that is the least of my worries....

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux