Koozali.org: home of the SME Server

SME56: Custom ISO - Copy additional Files

gbl

SME56: Custom ISO - Copy additional Files
« on: October 09, 2003, 05:22:13 PM »
I create a custom ISO based on SME56.

The install process should copy additional files from the CDROM to HDD at the end of the Setup.
To get this I add the following to /images/install.cfg

# Install additional
mkdir /downloads

mkdir /tmp/one
mount -t iso9660 /tmp/cdrom /tmp/one
cp -R /mnt/one/downloads/ /downloads/
umount -r /tmp/one
rmdir /tmp/one

Only the Directory /downloads is created. The copy Section doesnt run.
How can I fix this?


sincerly
Guenter

josh

Re: SME56: Custom ISO - Copy additional Files
« Reply #1 on: October 10, 2003, 09:07:54 PM »
You can include an additional "%post --nochroot" which can copy files from
/mnt/source to /mnt/sysimage though.

Do a search on google for "post --nochroot".  Your answer should be there.

gbl

Re: SME56: Custom ISO - Copy additional Files
« Reply #2 on: October 10, 2003, 11:00:37 PM »
Oh yeah, thats it.

Thank you.
All Problems solved.

sincerly
Guenter