Good afternoon!
Could I please get a code review for the following bug:
7040831 <http://monaco.us.oracle.com/detail.jsf?cr=7040831> DC needs to
be a bit smarter about importing manifests and using the seed repos
http://cr.opensolaris.org/~drewfish/cr_7040831/
This fix updates how DC constructs the SMF repository for the ISOs.
Before, we used manifest-import to create the repository. This change
moves us to using svccfg instead which will allow DC to stay more
in-line with changes made to SMF in the future.
As part of the SMF Decorations project[1], the initialize_smf ICT has
changed to no longer copy the global.db or nonglobal.db seed repository
to the installed image. The imminent push of the SMF project (likely
later today) will change both files into empty files with the intention
to do away with them eventually. The changes to the ICT are there to
simply remove the file if it exists.
I've tested full installs (from DC -> install -> reboot) with both stock
167 bits from ipkg.us.oracle.com and SMF project nightly bits.
Everything checks out with no issues.
One extra benefit of the change is DC now builds the ISO's repository.db
file in /tmp rather than on the dataset. I'm seeing a speed-up of
almost 5 minutes to run the pre_pkg_img_mod checkpoint. Yay!
I've CC'd the SMF project team in case anybody has any specific SMF
related questions.
Thanks!
-Drew
[1] http://sac.sfbay/PSARC/2011/108/
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss