Project

General

Profile

Bug #8987

bootadm: add bootfile fallback to unix

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-01-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

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

#1

Updated by Electric Monk almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 141fdc8db8933e5c2d4fe6a0f5ee25c59f0a0231

commit  141fdc8db8933e5c2d4fe6a0f5ee25c59f0a0231
Author: Toomas Soome <tsoome@me.com>
Date:   2018-01-25T15:09:50.000Z

    8987 bootadm: add bootfile fallback to unix
    Reviewed by: Yuri Pankov <yuripv@icloud.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.net>
    Reviewed by: Rich Lowe <richlowe@richlowe.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF