Alok, Thanks for the feedback. Karen asked me respond to mkrepo comments.
On 03/24/10 12:09 PM, Alok Aggarwal wrote: > Hi Karen, Tony, > > On Wed, 24 Mar 2010, Karen Tung wrote: > >> Please review my changes for the following bug: >> >> Bug 15148 - Required DC updates to work with Early Manifest Import >> project >> changes >> http://defect.opensolaris.org/bz/show_bug.cgi?id=15148 >> >> I would like to integrate my changes by COB of Wed 3/24, if possible. >> Therefore, please try to send your comments by 2pm, pacific time. >> >> webrev: >> http://cr.opensolaris.org/~ktung/15148/ >> >> Testing: >> >> The changes are provided by the SMF team, and they have built >> LiveCD and AI images and tested them successfully. >> >> I took their changes and did the following tests so far: >> - I built Slim CD, x86 AI, and sparc AI images using a build 135 repo. >> This verified >> the changes can be used to build pre-EMI images successfully. >> - I also built Slim CD, x86 AI, and sparc AI images using a repo >> containing >> all >> the EMI code. This verified the changes can be used to build post-EMI >> images successfully. >> - I verified that all the pre-EMI images can be booted correctly, and >> they >> install >> correctly. >> - I verified the post-EMI slim cd image is able to boot and install >> correctly. >> >> I will be performing the following tests Wed morning, and will not >> integrate >> until I confirm that they all pass. >> - Build x86 Text Installer and sparc Text installer images using a >> pre-EMI >> change repo, >> and make sure the images can boot and install correctly. >> - Build x86 Text Installer and sparc Text installer images using a >> post-EMI >> repo, >> and make sure the images can boot and install correctly. >> - Verify the post-EMI sparc and x86 images are booting and installing >> correctly. > > boot_archive_configure: line 260: A comment is needed > here that explains why this check exists. > > boot_archive_configure: line 261: This is checking for > the case where you're doing a build with pre-EMI repo > but still have profiles in /etc/svc. Will this ever be > the case? > > mkrepo: line 52, 126: X never seems to be set > Right. The Xs have no place in this script and should be remove. Specifically, we should delete line 48 and remove references to X on 52 and 126. I'll make the fix. > mkrepo: line 138: Should $basedir be appended to the log > location? > Well, no. $basedir is directory the new image root that contains SMF manifest files so it's not appropriate for a command's output log. We can be strict and put this log file in the same directory for DC's log files but I'm not sure if that's necessary. Thanks! -tn