Re:RE: post install errors on kickstart from cdrom

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

 



Hi,

Perhaps it's because busybox is used for a lot of
commands... For example "cp -v file todirectory" doesn't
work because the cp busybox version does'nt recognised the
verbose option...

That's one of the reasons why we do our post-installation by
mounting a directory and launch what we want after the reboot.

Something like :(Just for idea, I've coded this at work)
cp /mnt/source/PostInstall.sh /mnt/sysimage/etc
chmod 700 /mnt/sysimage/etc/PostInstall.sh
cat <<EOF >> /mnt/sysimage/etc/rc.local
if [ -x /etc/PostInstall.sh ]; then
/etc/PostInstall.sh
fi
EOF

with PostInstall.sh which is

#!/bin/sh
mkdir /root/mnt
mount toto:/tutu /root/mnt
#Do every copy, every command you want
umount /root/mnt
rmdir /root/mnt
chmod u-x /etc/PostInstall.sh


You've got the idea...

Jean-Yves LENHOF
100% Windows Free Inside
100% Linux
_________________________________________________________
Le journal des abonnés Caramail - http://www.carazine.com


[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