Merge ~raharper/curtin:fix/uefi-remove-dups-v2 into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Dan Watkins |
Approved revision: | d28422dc0bbf0e9066cbf682db1d9be519bc38cb |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/uefi-remove-dups-v2 |
Merge into: | curtin:master |
Diff against target: |
191 lines (+84/-40) 3 files modified
curtin/commands/curthooks.py (+10/-0) doc/topics/config.rst (+8/-0) tests/unittests/test_curthooks.py (+66/-40) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Watkins (community) | Approve | ||
Paride Legovini | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+390431@code.launchpad.net |
Commit message
curthooks: UEFI remove dupes: don't remove BootCurrent, config option
When removing duplicate UEFI bootmenu entries do not remove the
BootCurrent entry. Fix this by adding BootCurrent to the seen set
before processing the list and then skip it during iteration of the
entries.
- Add grub config option: remove_
- Add documentation around remove_
- Add unittests to verify we don't remove boot current and to
check that dupe removal can be disabled.
LP: #1894217
To post a comment you must log in.
FAILED: Continuous integration, rev:cd3de0f570b 6e8a26d1bbef2f0 378e90f48c8f73 /jenkins. ubuntu. com/server/ job/curtin- ci/177/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 177/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 177/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 177/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 177/
https:/
Executed test runs:
FAILURE: https:/
ABORTED: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/177/ /rebuild
https:/