Sure. Give me a few minutes to confirm that TI works as well.
-Drew
On 8/8/11 2:24 PM, Karen Tung wrote:
Hi Drew,
LGTM.
As for testing, for completeness, can you also boot up the text
installer and try
it there? I think you added that code to fix the problem I found last
Friday
in the text installer. No need to build your own ISO, just pick up
the nightly built one
and copy over your proto area and run from proto area.
Thanks,
--Karen
On 08/08/11 13:20, Drew Fisher wrote:
Good afternoon!
Could I please get a code review for:
http://monaco.sfbay.sun.com/detail.jsf?cr=7076343
7076343 AI fails in snv_172 in the target-discovery phase
Really simple one line fix:
diff -r a32740f8fe7d usr/src/lib/install_target/controller.py
--- a/usr/src/lib/install_target/controller.py Mon Aug 08 09:19:05
2011 -0700
+++ b/usr/src/lib/install_target/controller.py Mon Aug 08 13:52:02
2011 -0600
@@ -542,7 +542,7 @@
if disk.label == "VTOC" and not self._dry_run:
# look for this disk in the DISCOVERED target tree to
see if the
# label changed from EFI to VTOC
- for discovered_disk in self._discovered_disks:
+ for discovered_disk in self.discovered_disks:
if disk.ctd == discovered_disk.ctd:
if discovered_disk.label == "GPT":
# we need to reset the label
(I removed the "_" character)
I neglected to use the property and used the variable instead. The
property is there for exactly this reason. Bad Drew. Bad.
I tested the ISO by both specifying the disk (as PIT did) and by
letting AI pick the disk. Both versions successfully complete target
instantiation.
-Drew
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss