Ignite-UX Reference (March 2010, B3921-90005)

make_medialif(1M) make_medialif(1M)
env_vars += "INST_ALLOW_WARNINGS=10"
env_vars += "INST_BATCH_MODE_TIMEOUT=10"
Place these variables in the WINSTALLFS before writing the image to medium using the same tape drive
as before:
instl_adm -F /home/root/uxinstlf -d > /tmp/cfg
vi /tmp/cfg # add the above lines
instl_adm -F /home/root/uxinstlf -f /tmp/cfg
mt -t /dev/rmt/c0t3d0DDS1n rew
dd if=/home/root/uxinstlf of=/dev/rmt/c0t3d0DDS1n obs=2k
mt -t /dev/rmt/c0t3d0DDS1n rew
Example 7
Unlike DDS tape in which only one software depot is supported, an installation CD may contain multiple
software depots. Assume that there are three software depots that contain various engineering, CAD, and
documentation applications in /var/depots/eng_apps, /var/depots/cad_apps and /var/depots/doc_apps
respectively. On the CD, these depots are stored under the depots directory. Also, assume that we have
the same archive and configuration file /home/root/config_cd as in Example 3.
To create configuration files for these depots:
make_config -s /var/depots/eng_apps -c /home/root/eng_cfg
make_config -s /var/depots/cad_apps -c /home/root/cad_cfg
make_config -s /var/depots/doc_apps -c /home/root/doc_cfg
In the sw_source section in all three files, remove the sd_server line, change the source_type
from "NET" to "DSK", and then change the sd_depot_dir from "/var/depots/XXX_apps" to
"depots/XXX_apps", where XXX is either eng, cad or doc as appropriate.
To create the LIF header that captures all of this, you would execute this command:
make_medialif -f /opt/ignite/data/Rel_B.11.23/config
-f /home/root/config_cd -f /home/root/eng_cfg
-f /home/root/cad_cfg -f /home/root/doc_cfg
-l /home/root/uxinstlf_cd
If an interactive installation from these depots is desired, make sure run_ui and con-
trol_from_server are set as described in Example 6.
Since the image will include these depots, as well as the archive, you may assume the total size will fit in
500MB. To create the image, you would:
lvcreate -L 500 -n archvol vg00
newfs -F hfs -f 2048 /dev/vg00/rarchvol
mkdir /tmpcd
mount /dev/vg00/archvol /tmpcd
cp /var/tmp/myimage.gz /tmpcd
swcopy -s /var/depots/eng_apps \* @ /tmpcd/depots/eng_apps
swcopy -s /var/depots/cad_apps \* @ /tmpcd/depots/cad_apps
swcopy -s /var/depots/doc_apps \* @ /tmpcd/depots/doc_apps
umount /tmpcd
dd if=/dev/vg00/rarchvol of=/var/tmp/fs_image_hfs bs=1024k
Use instl_combine to combine the LIF image and file system:
/opt/ignite/lbin/instl_combine -F /home/root/uxinstl_cd
-C /var/tmp/fs_image_hfs
Now using a CD writing utility, transfer /var/tmp/fs_image_hfs to a writable CD in raw mode. The result-
ing CD is a bootable, installable Ignite-UX medium. The image may be transferred to a raw disk. A sys-
tem booted from that disk may be helpful to test the image before writing it to CD.
6