bootadm: add bootfile fallback to unix
reboot command can pass temporary (transient) flags and other data to bootadm, to create one time boot setup. The loader does read kernel name from bootfile environment variable, and if the value is messed up, we fail to boot. Of course this can be fixed manually by: set bootfile=unix but we should provide the fallback value so we wont fail the boot.
This with 8986 will fix the "interesting" error cases like one from entering: reboot now
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 141fdc8db8933e5c2d4fe6a0f5ee25c59f0a0231 Author: Toomas Soome <email@example.com> Date: 2018-01-25T15:09:50.000Z 8987 bootadm: add bootfile fallback to unix Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Rich Lowe <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>