Skip to content

Commit

Permalink
Fix NVMe exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dhinakg committed Jun 22, 2021
1 parent b5ebc7f commit e6fc4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Build.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def build_efi(self):

if controller.pci_path:
print(f"- Found NVMe ({i}) at {controller.pci_path}")
self.config["DeviceProperties"]["Add"][controller.pci_path]["pci-aspm-default"] = nvme_aspm
self.config["DeviceProperties"]["Add"].setdefault(controller.pci_path, {})["pci-aspm-default"] = nvme_aspm
self.config["DeviceProperties"]["Add"][controller.pci_path.rpartition("/")[0]] = {"pci-aspm-default": nvme_aspm}
else:
if "-nvmefaspm" not in self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"]:
Expand Down

0 comments on commit e6fc4f4

Please sign in to comment.