Hi
I remember 5 to 6 months back I saw devfs_bootdev_set_list( ) function
in slim_source. Not sure which source file and path.
In latest slim_source the above function not there, May be converted
C-program to Python. ie. "slim_source/usr/src/lib/install_boot/boot.py"
602 # Set the boot device using eeprom
603 cmd = ["/usr/sbin/eeprom", "boot-device=%s" % prom_arg_str]
604 self.logger.debug("Executing: %s" % cmd)
605 if not dry_run:
606 try:
607 Popen.check_call(cmd,
608 stdout=Popen.STORE,
609 stderr=Popen.STORE,
610 logger=ILN)
611 except CalledProcessError as cpe:
612 # Treat this as non-fatal. It can be manually
fixed later
613 # on reboot.
614 self.logger.warning("Failed to set openprom
boot-device:")
615 self.logger.warning(str(cpe))
Based on the above code, I think boot-device is getting updated here.
or any other function is doing? Just want to confirm.
Thanks
Sreedhar
Sreedhar Chalamalasetti - Oracle wrote:
Hi
At the end of S11 installation, is there any API/function called to
update OBP's boot-device value? If yes, what is that function/API?
In S10U10 we are calling libdevinfo's API ie.
*devfs_bootdev_set_list( )* in libspmisvc.so.1, to update the OBP's
boot-device value.
Thanks
Sreedhar
--
Oracle
Sreedhar Chalamalasetti
Solaris Install Group,
Revenue Product Engineering (RPE), Systems
Phone: +91 8066937395 | Fax: +91 80 22231794 | Mobile: +91 9880088079
ORACLE India | Off Langford Road | Bangalore | 560025
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss