Merge pull request #244346 from adamcstephens/ovmf/4mb

authored by

Ryan Lahfa and committed by
GitHub
56fc2481 07c3d83a

+6 -2
+6 -2
pkgs/applications/virtualization/OVMF/default.nix
··· 1 { stdenv, nixosTests, lib, edk2, util-linux, nasm, acpica-tools, llvmPackages 2 , csmSupport ? false, seabios ? null 3 , secureBoot ? false 4 , httpSupport ? false 5 , tpmSupport ? false ··· 49 ++ lib.optionals debug [ "-D DEBUG_ON_SERIAL_PORT=TRUE" ] 50 ++ lib.optionals sourceDebug [ "-D SOURCE_DEBUG_ENABLE=TRUE" ] 51 ++ lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ] 52 - ++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ] 53 ++ lib.optionals httpSupport [ "-D NETWORK_HTTP_ENABLE=TRUE" "-D NETWORK_HTTP_BOOT_ENABLE=TRUE" ] 54 ++ lib.optionals tlsSupport [ "-D NETWORK_TLS_ENABLE=TRUE" ] 55 ++ lib.optionals tpmSupport [ "-D TPM_ENABLE" "-D TPM2_ENABLE" "-D TPM2_CONFIG_ENABLE"]; ··· 100 homepage = "https://github.com/tianocore/tianocore.github.io/wiki/OVMF"; 101 license = lib.licenses.bsd2; 102 inherit (edk2.meta) platforms; 103 - maintainers = [ lib.maintainers.raitobezarius ]; 104 }; 105 })
··· 1 { stdenv, nixosTests, lib, edk2, util-linux, nasm, acpica-tools, llvmPackages 2 , csmSupport ? false, seabios ? null 3 + , fdSize2MB ? csmSupport 4 + , fdSize4MB ? false 5 , secureBoot ? false 6 , httpSupport ? false 7 , tpmSupport ? false ··· 51 ++ lib.optionals debug [ "-D DEBUG_ON_SERIAL_PORT=TRUE" ] 52 ++ lib.optionals sourceDebug [ "-D SOURCE_DEBUG_ENABLE=TRUE" ] 53 ++ lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ] 54 + ++ lib.optionals csmSupport [ "-D CSM_ENABLE" ] 55 + ++ lib.optionals fdSize2MB ["-D FD_SIZE_2MB"] 56 + ++ lib.optionals fdSize4MB ["-D FD_SIZE_4MB"] 57 ++ lib.optionals httpSupport [ "-D NETWORK_HTTP_ENABLE=TRUE" "-D NETWORK_HTTP_BOOT_ENABLE=TRUE" ] 58 ++ lib.optionals tlsSupport [ "-D NETWORK_TLS_ENABLE=TRUE" ] 59 ++ lib.optionals tpmSupport [ "-D TPM_ENABLE" "-D TPM2_ENABLE" "-D TPM2_CONFIG_ENABLE"]; ··· 104 homepage = "https://github.com/tianocore/tianocore.github.io/wiki/OVMF"; 105 license = lib.licenses.bsd2; 106 inherit (edk2.meta) platforms; 107 + maintainers = with lib.maintainers; [ adamcstephens raitobezarius ]; 108 }; 109 })