Merge ~bamf0/ubuntu/+source/efibootmgr:merge-lp2133493-resolute into ubuntu/+source/efibootmgr:debian/sid
Proposed by
Simon Johnsson
| Status: | Needs review | ||||
|---|---|---|---|---|---|
| Proposed branch: | ~bamf0/ubuntu/+source/efibootmgr:merge-lp2133493-resolute | ||||
| Merge into: | ubuntu/+source/efibootmgr:debian/sid | ||||
| Diff against target: |
120 lines (+58/-2) 6 files modified
.gitignore (+0/-1) debian/changelog (+32/-0) debian/control (+2/-1) debian/patches/fix-active-inactive-commands.patch (+19/-0) debian/patches/series (+1/-0) debian/rules (+4/-0) |
||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Nick Rosbrook (community) | Approve | ||
| Canonical Server Reporter | Pending | ||
| git-ubuntu import | Pending | ||
|
Review via email:
|
|||
To post a comment you must log in.

PPA: https:/ /launchpad. net/~bamf0/ +archive/ ubuntu/ resolute- efibootmgr- merge-lp2133493
NOTE: efibootmgr currently fails to build for s390x. This is due to missing dependencies, libefivar-dev (>= 30), libefiboot-dev (>= 30) that are part of the efivar package, which currently fails to build for s390x.
---
Preface: run these tests on a VM through an emulator with UEFI support such as QEMU.
If you do not have a setup for this currently, I recommend using Valentin David's script for launching QEMU (https:/ /gist.github. com/valentindav id/7a6a74e6da16 a3865b88e8bdf5c 0294c):
1) Download the Resolute Daily build ISO (https:/ /cdimage. ubuntu. com/daily- dangerous/ current/)
2) Make a directory for the VM
3) Install the ISO in the directory using:
$ ./qemu.sh clear reset cdrom <ISO path>
4) After installation, launch the VM with:
$ ./qemu.sh
Basic tests:
# Check the boot status
$ efibootmgr
# Check the version - should give "18"
$ efibootmgr --version
# Reverse the boot order (e.g., if current order is 0000,0001,0002)
$ efibootmgr -o 0002,0001,0000
# Set BootNext
$ efibootmgr -n 0002
$ efibootmgr | grep BootNext # should be 0002
---
Regression test:
# For the first and last bootentry in the bootorder
$ efibootmgr -A -b <first/last> # should inactivate the entry
$ efibootmgr # entry should not have "*"
$ efibootmgr -a -b <first/last> # should activate the entry
$ efibootmgr # entry should have "*"
---
Package tests:
This package contains no tests.