We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ebc7f commit e6fc4f4Copy full SHA for e6fc4f4
Resources/Build.py
@@ -205,7 +205,7 @@ def build_efi(self):
205
206
if controller.pci_path:
207
print(f"- Found NVMe ({i}) at {controller.pci_path}")
208
- 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
209
self.config["DeviceProperties"]["Add"][controller.pci_path.rpartition("/")[0]] = {"pci-aspm-default": nvme_aspm}
210
else:
211
if "-nvmefaspm" not in self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"]:
0 commit comments