Copying files to the target system is best done in the chroot script, where you have the network, as well as the installed filesystem. Pre scripts are too early (the filesystems have not been created at that point), an post scripts are too late, as you've lost the install network by then. You will probably need to retrieve the file using wget, unless you're installing from DVD / CD. Yan
On 08/06/2007 at 21:55, in message <F4BFA40B06FA5A498AFA998AD4A4E6AC03BC0E22@idbexc02.americas.cpqcorp.net>, "King, Richard (CE1 UNIX Admin)" <rking@hp.com> wrote:
Hello All,
I am installing NLD9 via autoyast, which I've been using for a long time, and does work very well. However, I have a new RPM to add, but the only catch is that the rpm will not install unless the "--force" option is used, if I were to install the rpm by hand with the "--force" option, the rpm will install. I did edit the control file accordingly and added the new rpm. After the install is finshed, the new rpm is listed when I run "rpm -qa", however, the file is not present. I was curious if there was a way to use the "--force" option during the autoyast install process for the software section. If not, I could copy the files needed onto the target machine during the autoyast install. This leads me to my next question. If I need to copy a binary file to a specific directory on the target machine, what is the best way to to accomplish this task during the autoyast install? As a test, I wrote a script in the pre-script section of the control file to "cp -p binary_file /usr/sbin", which didn't work. Then I used the absolute path of the binary_file, "cp -p /local/SuSE/i386/nld9/binary_file /usr/sbin/binary_file", which didn't work either.
**Background** The new rpm that I am referring to is the new tg3 NIC driver which I created an rpm from a source rpm. The old tg3 driver will not work with the new workstations.
Help with this problem would be greatly appreciated.
-- Rick King
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org