RE: post install problems

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

 



> -----Original Message-----
> From: Frans Lawaetz [mailto:frans.lawaetz@xxxxxxxxxxxxxxxxxxxxxxx]
> 
> Can anyone offer any suggestions as to why this seems to do absolutely
> nothing?  I just want to execute that perl script which does 
> various tasks
> like installing packages and cleaning a few things.  I would like to
> execute it upon the first reboot (right after install).
> 
> %post --nochroot
> mkdir /mnt/floppy
> mount /dev/fd0 /mnt/floppy
> cp /mnt/floppy/post_install.pl /root
> ln -s /root/post_install.pl /etc/rd.d/rc3.d/post_install.pl
> 
> -Eric

It does absolutely nothing because you are in the --nochroot environment.
Try it without the --nochroot, or put the full path to /root (i.e.
/mnt/sysimage/root).

Forrest





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux