Appendix Overview of each ICT
ICT Implemented in C, defined in file usr/src/lib/libict/ict.c are:
ict_configure_user_directory()
Description:
Configure the user directory. uid, gid are predefined. The user directory has been created in export/home on the specified install target by liborchestrator. It is possible a new user account is not desired. So if login is NULL or empty do nothing and simply return success.
Implementation:
Utilizes chmod(2) and chown(2) to set new user ownership.
The ICT Supporting functions defined in file usr/src/lib/libict/ict.c are:
ICT Implemented in Python, defined in file usr/src/lib/libict_pymod/ict.py are:
set_Solaris_partition_active
Description:
Set the installed to Solaris partition active.
Implementation:
- Uses class ict supporting methods get_rootdev_list, set_boot_active and bootadm_update_menu
- get_rootdev_list - Implemented using zpool(1M) iostat
- set_boot_active - Implemented using fdisk(1M), parsing the fdisk output.
- bootadm_update_menu - Implemented using bootadm(1M) update-menu to add a failsafe menu entry to GRUB menu.lst
- Uses class ict supporting methods get_rootdev_list, set_boot_active and bootadm_update_menu
set_console_boot_device_property
Description:
Update bootenv.rc 'console' property.
Implementation:
- Uses class ict supporting methods _get_bootprop, _get_osconsole and _update_bootprop
- _get_bootprop - Implemented using the Python built in file manipulation functions
- _get_osconsole - Implemented using prtconf(1M), parsing the prtconf output.
- _update_bootprop - Implemented using the Python built in file manipulation functions and the miscellaneous operating system interfaces module, os.
- Uses class ict supporting methods _get_bootprop, _get_osconsole and _update_bootprop
set_flush_content_cache_on_success_false
Description:
Set IPS default to not purge the IPS download cache.
Implementation:
Soon to be implemented using the IPS pkg(1) set-property command.
Bug 6102