User's Manual

Running Deployment Scripts and RPMs Using DTK and Embedded Linux 127
NOTE: When you create a bootable CD, this image is supplied to the CD
burning software along with the complete deployment directory structure,
which includes all necessary supporting files to perform the deployment.
The CD burning software creates an image of the self-bootable ISO image
and the deployment files on the CD.
3
Extract the contents of the ISO image to a folder on your hard drive.
4
Copy your custom scripts into the folder you created in step 3.
(See "Installation for Embedded Linux" for an example of the
folder structure.)
NOTE: Your scripts should also take care of copying miscellaneous items to
unlock the CD, so that the CD can be mounted and ejected as required by the
operating system’s installation process.
5
In
/mnt/cdrom/isolinux.cfg
, edit the
cd install
section to point to your
customized start-up script. In other words, add the
share_script
option; for example:
label 1
kernel SA.1
append initrd=SA.2 ramdisk_size=55321
Stage3_type=cdrom DEBUG=0 quiet share_type=cdrom
share_script=dracupdate.sh
Then, use
mkisofs
to make your customized CD image; for example:
mkisofs -o usaf.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4
-iso-level 2 -relaxed-filenames -r -J -pad -boot-
info-table /root/usaf/
NOTE: It is important to use mkisofs to make your customized image
because the ISO Linux recognizes only the isolinux.cfg (and all files within
/isolinux). If you do not use mkisofs, DTK’s HAPI libraries will not load and
most of the Dell Update Packages will not work.
NOTE: The scripts that you copy into the CD will be copied to the RAM disk
and run from the RAM disk. This task is done to ensure the CD is not locked.
Ensure that your sample scripts have valid path names.