Hi,
Would it be possible to just not copy the menu.lst from the rpool's
boot/grub directory, instead of saving and restoring the menu the way you've
done it?
--S
Quoting Drew Fisher, who wrote the following on Tue, 20 Sep 2011:
Good evening!
Could I please get a code review for:
7092161 <http://monaco.us.oracle.com/detail.jsf?cr=7092161>
/boot/grub/menu.lst on the installed system is incorrect
https://cr.opensolaris.org/action/browse/caiman/drewfish/7092161/webrev/
I tested this by building a livecd.iso. I paused DC after running
pre-pkg-img-mod and boot/grub/menu.lst was saved in the correct /save
directory:
ls -l
/rpool/cr_7092161/dc/livecd/build_data/pkg_image/save/boot/grub/menu.lst
-rw-r--r-- 1 root sys 1546 Sep 20 14:58
/rpool/cr_7092161/dc/livecd/build_data/pkg_image/save/boot/grub/menu.lst
I fully installed the ISO and after rebooting, the correct version of
menu.lst is present.
There's a larger issue with pre-pkg-img-mod in that the checkpoint is
inconsistently using the save_files_directories() method. Some things use
it, some things don't. Since I didn't want to risk any drastic changes to
the checkpoint this close to FCS, I've filed 7093060 to cover that work.
Thanks!
-Drew
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss