1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2025-01-07 12:11:28 +03:00

Merge pull request #597 from samueldr-wip/fix/depthcharge-vboot_reference

depthcharge: Fix cross-compilation after vboot_reference upgrade
This commit is contained in:
Samuel Dionne-Riel 2023-03-16 14:51:52 -04:00 committed by GitHub
commit a331f48178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib
, stdenv
, buildPackages
, fetchurl
, runCommand
, initrd
@ -86,8 +87,8 @@ let
--bootloader bootloader.bin \
--vmlinuz vmlinux.uimg \
--arch ${arch} \
--keyblock ${vboot_reference}/share/vboot/devkeys/kernel.keyblock \
--signprivate ${vboot_reference}/share/vboot/devkeys/kernel_data_key.vbprivk \
--keyblock ${buildPackages.vboot_reference}/share/vboot/devkeys/kernel.keyblock \
--signprivate ${buildPackages.vboot_reference}/share/vboot/devkeys/kernel_data_key.vbprivk \
--config ${kpart_config} \
--pack $out/kpart
'';