Project

General

Profile

Actions

Feature #8758

closed

Feature #8756: tools: btxld should be able to only add version

loader: boot1.efi needs versioning

Added by Toomas Soome about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-11-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

To support automatic boot block updates on disk, we are attaching version info to "boot1" boot program. For BIOS version, the "boot1" is gptzfsboot, for UEFI, it is currently boot1.efi.

The version info does look like:

tsoome@beastie:~$ installboot -i /boot/gptzfsboot 
Extended version string: 1.1-2017.9.11.2
MD5 hash: 9637b04f69fbe86510932b47f72b3665

Once 8756 is integrated, we need to get the same result for boot1.efi:

tsoome@beastie:~$ installboot -i /boot/boot1.efi 
Extended version string: 1.1-2017.9.11.2
MD5 hash: 7390812cf90d3248dffb568d49cedad0

This will allow us to decide if the boot1.efi will need update on ESP or not.

Actions #1

Updated by Electric Monk over 5 years ago

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

git commit 23274804946ea79b54ae682df4d33bbbb30b42ee

commit  23274804946ea79b54ae682df4d33bbbb30b42ee
Author: Toomas Soome <tsoome@me.com>
Date:   2018-03-23T14:45:04.000Z

    8758 loader: boot1.efi needs versioning
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF