Project

General

Profile

Actions

Bug #6159

closed

Feature #6080: libbe should support installboot

Feature #6085: export libbe installboot function

libbe should proactively handle future architectures

Added by Robert Mustacchi about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2015-08-23
Due date:
% Done:

100%

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

Description

Currently in libbe there's a bunch of logic which is generally of the form:

if (x86) {
       ...
} else {
       do sparc specific actions
}

This should be rephrased to something like:

if (x86) {
      ...
} else if (sparc) {
      ...
} else {
      <raise unknown architecture error>
}
Actions

Also available in: Atom PDF