Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: gbl on October 09, 2003, 05:22:13 PM

Title: SME56: Custom ISO - Copy additional Files
Post by: gbl 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
Title: Re: SME56: Custom ISO - Copy additional Files
Post by: josh 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.
Title: Re: SME56: Custom ISO - Copy additional Files
Post by: gbl on October 10, 2003, 11:00:37 PM
Oh yeah, thats it.

Thank you.
All Problems solved.

sincerly
Guenter