Merge ~ubuntu-core-dev/grub/+git/ubuntu:sil2100/auto-nvram into ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu
Status: | Merged |
---|---|
Approved by: | Mathieu Trudel-Lapierre |
Approved revision: | 7b18c6eb099df89c5bd4a8f1404c52c5267b8c29 |
Merge reported by: | Mathieu Trudel-Lapierre |
Merged at revision: | 0ef4190ef99c4b0762afd7f4b634e1861a7ac30b |
Proposed branch: | ~ubuntu-core-dev/grub/+git/ubuntu:sil2100/auto-nvram |
Merge into: | ~ubuntu-core-dev/grub/+git/ubuntu:ubuntu |
Diff against target: |
210 lines (+47/-14) 5 files modified
grub-core/osdep/basic/no_platform.c (+3/-2) grub-core/osdep/unix/platform.c (+23/-2) grub-core/osdep/windows/platform.c (+3/-2) include/grub/util/install.h (+3/-2) util/grub-install.c (+15/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mathieu Trudel-Lapierre | Approve | ||
Review via email:
|
Commit message
Add the auto-nvram functionality of only attempting the NVRAM variable update if the system has access to those. Useful for dual BIOS-EFI devices.
Description of the change
Add the auto-nvram functionality of only attempting the NVRAM variable update if the system has access to those. Useful for dual BIOS-EFI devices.
This branch's approach is to add a new parameter to the existing update procedures for EFI/IEEE1275. I like this approach since it's not adding any new functions to the namespace that need re-implementation for each platform. That being said, another MP will be following with the approach of simply adding new functions for doing the NVRAM existence checks which might be 'cleaner'.
This is the first time I'm submitting an MP for grub2 which is git-dpm based. I know this branch probably needs to have a git-dpm update-patches + dch run done, but for review's sake I'm not doing this step right now.
The 'alternative' approach can be found here:
https:/ /code.launchpad .net/~sil2100/ grub2/+ git/ubuntu/ +ref/sil2100/ auto-nvram- alternative
But as I said, I am more in favor of the one that's being proposed for merging here.