Project

General

Profile

Feature #7821

loader: need to parse unescaped bootpath in /boot/solaris/bootenv.rc

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-01-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The values in bootenv.rc can be set within single quotes or without. The "eeprom variable value" will store quoted values, but unquoted are also allowed. While normally we do not see bootpath used in bootenv.rc, the ufs root still needs it and so we need to deal with such case.

So we need to allow extra characters to be used in value, from set "/,:@" and allow value to start with /

#1

Updated by Electric Monk about 4 years ago

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

git commit 22cc5444cba0d30b59582f255e2eb24e8a702824

commit  22cc5444cba0d30b59582f255e2eb24e8a702824
Author: Toomas Soome <tsoome@me.com>
Date:   2017-01-31T00:33:29.000Z

    7821 loader: need to parse unescaped bootpath in /boot/solaris/bootenv.rc
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF