Re: %post trouble

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

 



James_Martin@xxxxxxxxxxxxxxx wrote:

Try doing it this way...  should save you much work..

%post

#mount the cdrom
updfstab
mount /mnt/cdrom
cp /mnt/cdrom/Fedora/RPMS/extras/mysqld.init /etc/rc.d/init.d/mysqld


That should be all you need.. the updfstab updates the /etc/fstab with /mnt/cdrom and points it to the correct device. I'm sure you can figure out the rest :).

Good luck!
Thanks heaps James!

it worked as you said it would :)

pantz

--
Before you criticize someone, walk a mile in their shoes ...
That way when you do criticize them, you're a mile away and you have their shoes!



[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