I've had a thread going on over at centos.org:
http://www.centos.org/modules/newbb/...forumpost45526
Basically I've fixed stage2.img for the anaconda bug (or so I hope), but am still unable to copy my files to the new installation from the CD during the kickstart.
I've tried using:
%post
mkdir -p $INSTALL_ROOT/var/mystuff
touch $INSTALL_ROOT/var/mystuff/test
cp -R /mnt/source/me.tar.gz /mnt/sysimage/var/mystuff/
cp me.tar.gz $INSTALL_ROOT/var/mystuff/
cd $INSTALL_ROOT/var/mystuff
tar xzvf /mnt/source/me.tar.gz
(yes, I tried copying the file twice - using different paths while basically shooting in the dark). In tty3 during the kickstart it says it cannot find me.tar.gz 3 times (two for cp, and 1 for tar). I end up with a /var/mystuff directory and a /var/mystuff/test file in the final system but I cannot figure out how to get my file there (me.tar.gz).
If I use %post --nochroot then it can find the me.tar.gz file (and even unpacks it) but the files are not present in the final system (guess it's uncompressing them in the scratch).
Can anyone shed any light on this?
Thanks in advance.