[PC-BSD Testing] path to post-install.sh in automated installation 9Release

Kris Moore kris at pcbsd.org
Tue Jan 17 08:44:34 PST 2012


On 01/17/2012 10:32, GO. wrote:
> Am 16.01.2012 um 17:40 schrieb Kris Moore:
>
>> On 01/16/2012 10:38, GO. wrote:
>>> this link within pc-autoinstall is working correct with 
>>> pc_config: /boot/pcinstall.cfg.de
>>> ...
>>> # shutdown_cmd: sh /post-install.sh (was not working)
>> I'll take a look into this :)
>>> # runScript=/root/post-install.sh (was not working)
>> I don't think runScript works in pc-autoinstall.conf
>>
>>> when pcinstall.cfg.de doing the partitioning and copying this line goes into darkness
>>> runScript=/root/post-install.sh
>>> ... No such file ...
>> You need to change this to runExtScript=, since runScript looks for
>> /root/post-install.sh in the chroot environment of the install.
>
> All of these following lines have same failure when in pcinstall...:
> Running external command -  cannot open...no such file
>
> runExtCommand=sh /root/post-install.sh
> runExtCommand=sh ${FSMNT}/post-install.sh
> runExtScript=/root/post-install.sh
> runExtScript=/post-install.sh
> runExtScript=post-install.sh
>
> runExtCommand=sh /root/post-install.sh
> runExtCommand=sh /post-install.sh
> runExtCommand=sh post-install.sh
>
>>> script postinstall.sh seems not located in / or /root/ but is physically in <cdroot> (pcinstall is in /boot/)
> Testing now with copies of the file also in/boot/, 
> Any hints?
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Oh, the post-install.sh is on the CD? try ${CDMNT}/boot/post-install.sh
or whatever the path is to post-install.sh then.

runExtCommand=sh ${CDMNT}/boot/post-install.sh


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list