After a brief consultation from Joshua Clulow via the OI discussion mail list i was able to build an automated installer (AI) image using Clulows XML config file. Here is how I did it.
- root@heimdall:~# pkg install install/distribution-constructor
- curl -k https://raw.github.com/gist/1263061/640f5dbb377bb3a5989a66e95f3b1ec04da88408/ai_x86_image_JMC_151a.xml > ai_x86_image_JMC_151a.xml
- distro_const build ai_x86_image_JMC.xml
/usr/share/distro_const/DC-manifest.defval.xml validates
/tmp/ai_x86_image_JMC_151a_temp_2978.xml validates
Simple Log: /rpool/dc/logs/simple-log-2011-10-12-10-57-04
Detail Log: /rpool/dc/logs/detail-log-2011-10-12-10-57-04
Build started Wed Oct 12 10:57:04 2011
Distribution name: OpenIndiana_AI_X86_151a
Build Area dataset: rpool/dc
Build Area mount point: /rpool/dc
==== im-pop: Image area creation
Initializing the IPS package image area: /rpool/dc/build_data/pkg_image
Setting preferred publisher: openindiana.org
Origin repository: http://pkg.openindiana.org/dev
Verifying the contents of the IPS repository
Installing the designated packages
Uninstalling the designated packages
Setting post-install preferred publisher: openindiana.org
Origin repository: http://pkg.openindiana.org/dev
Setting post-install alternate publisher: opensolaris.org
Origin repository: http://pkg.openindiana.org/legacy
==== im-mod: Image area modifications
==== ai-im-mod: Auto Install Image area modifications
128 blocks
==== ba-init: Boot archive initialization
252736 blocks
2816 blocks
35552 blocks
0 blocks
86288 blocks
4752 blocks
0 blocks
0 blocks
32 blocks
176 blocks
15808 blocks
64 blocks
0 blocks
48 blocks
0 blocks
0 blocks
==== ba-config: Boot archive configuration
/usr/share/distro_const/boot_archive_configure[80]: -p: not found [No such file or directory]
/usr/share/distro_const/boot_archive_configure[80]: -p: not found [No such file or directory]
==== ai-ba-config: Auto Install boot archive configuration
==== ba-arch: Boot archive archiving (64-bit)
454816 blocks
331040 blocks
==== ba-arch-32: Boot archive archiving (32-bit)
454816 blocks
253952 blocks
==== post-mod-custom: Post boot archive image area custom modification
==== grub-setup: Grub menu setup
==== post-mod: Post boot archive image area modification
Warning: creating filesystem that does not conform to ISO-9660.
Warning: creating filesystem that does not conform to ISO-9660.
==== ai-publish-pkg: Publish Package
==== iso: ISO image creation
Warning: creating filesystem that does not conform to ISO-9660.
Setting input-charset to 'UTF-8' from locale.
Size of boot image is 4 sectors -> No emulation
2.90% done, estimate finish Wed Oct 12 12:02:17 2011
5.79% done, estimate finish Wed Oct 12 12:02:17 2011
8.69% done, estimate finish Wed Oct 12 12:02:17 2011
11.58% done, estimate finish Wed Oct 12 12:02:17 2011
14.48% done, estimate finish Wed Oct 12 12:02:17 2011
17.37% done, estimate finish Wed Oct 12 12:02:17 2011
20.27% done, estimate finish Wed Oct 12 12:02:17 2011
23.16% done, estimate finish Wed Oct 12 12:02:17 2011
26.06% done, estimate finish Wed Oct 12 12:02:17 2011
28.95% done, estimate finish Wed Oct 12 12:02:17 2011
31.85% done, estimate finish Wed Oct 12 12:02:17 2011
34.74% done, estimate finish Wed Oct 12 12:02:17 2011
37.64% done, estimate finish Wed Oct 12 12:02:17 2011
40.53% done, estimate finish Wed Oct 12 12:02:17 2011
43.43% done, estimate finish Wed Oct 12 12:02:17 2011
46.32% done, estimate finish Wed Oct 12 12:02:17 2011
49.22% done, estimate finish Wed Oct 12 12:02:17 2011
52.11% done, estimate finish Wed Oct 12 12:02:17 2011
55.00% done, estimate finish Wed Oct 12 12:02:17 2011
57.90% done, estimate finish Wed Oct 12 12:02:17 2011
60.79% done, estimate finish Wed Oct 12 12:02:17 2011
63.69% done, estimate finish Wed Oct 12 12:02:17 2011
66.58% done, estimate finish Wed Oct 12 12:02:17 2011
69.48% done, estimate finish Wed Oct 12 12:02:17 2011
72.37% done, estimate finish Wed Oct 12 12:02:17 2011
75.27% done, estimate finish Wed Oct 12 12:02:17 2011
78.16% done, estimate finish Wed Oct 12 12:02:17 2011
81.06% done, estimate finish Wed Oct 12 12:02:17 2011
83.95% done, estimate finish Wed Oct 12 12:02:17 2011
86.84% done, estimate finish Wed Oct 12 12:02:17 2011
89.74% done, estimate finish Wed Oct 12 12:02:18 2011
92.63% done, estimate finish Wed Oct 12 12:02:18 2011
95.53% done, estimate finish Wed Oct 12 12:02:18 2011
98.42% done, estimate finish Wed Oct 12 12:02:18 2011
Total translation table size: 2048
Total rockridge attributes bytes: 38135
Total directory bytes: 264192
Path table size(bytes): 1710
Max brk space used 86000
172733 extents written (337 MB)
==== usb: USB image creation
/dev/rlofi/2: 828600 sectors in 1381 cylinders of 1 tracks, 600 sectors
404.6MB in 87 cyl groups (16 c/g, 4.69MB/g, 2240 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 9632, 19232, 28832, 38432, 48032, 57632, 67232, 76832, 86432,
739232, 748832, 758432, 768032, 777632, 787232, 796832, 806432, 816032, 825632
690416 blocks
Build completed Wed Oct 12 12:03:30 2011
Build is successful.