-
-
usr/src/lib/libbe/common/be_activate.c (Diff revision 1) Not your code, but wonder why is it needed? We are leaking the original memory pointed to by path.
-
usr/src/lib/libbe/common/be_activate.c (Diff revision 1) Why not make it } else if ... and skip re-indentation?
Or make it look like the block starting at line 934:
if (be_is_isa("i386")) {
if (be_has_grub()) {
/ grub /
} else {
/ new loader /
}
} else if (be_is_isa("sparc")) {
/ sparc /
} else {
/ unsupported /
}
6702 libbe should support x86 installboot command
Review Request #162 — Created March 1, 2016 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
6702 | |
Reviewers | |
general | |
6702 libbe should support x86 installboot command
root@uefi-oi:/home/tsoome# beadm activate -v uefi-139
be_do_installboot: device mirror-0
be_do_installboot: device c3t0d0
Command: "/usr/sbin/installboot -m -f //boot/pmbr //boot/gptzfsboot /dev/rdsk/c3t0d0s1"
Errors:
bootblock version installed on /dev/rdsk/c3t0d0s1 is more recent or identical
Use -F to override or install without the -u option
be_do_installboot: device c3t1d0
Command: "/usr/sbin/installboot -m -f //boot/pmbr //boot/gptzfsboot /dev/rdsk/c3t1d0s1"
Errors:
bootblock version installed on /dev/rdsk/c3t1d0s1 is more recent or identical
Use -F to override or install without the -u option
Activated successfully
root@uefi-oi:/home/tsoome#
-
-
usr/src/lib/libbe/common/be_activate.c (Diff revision 3) I keep thinking I'd prefer this be
else if (be_has_loader())
or whatever, to make things clearer, but I'm not really sure why -
Change Summary:
Rewrite of pool component loop.
Testing Done: |
|
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+64 -20) |