1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-26 09:26:14 +03:00

depthcharge: Integrates rootfs into image build

This commit is contained in:
Samuel Dionne-Riel 2019-09-21 17:30:45 -04:00
parent c4d16fd341
commit 66a7f812c9
2 changed files with 5 additions and 0 deletions

View File

@ -19,10 +19,13 @@ let
# XXX : this feels like a hack
initrd = pkgs.callPackage ../systems/initrd.nix { inherit device_config stage-1; };
};
depthcharge = pkgs.callPackage ../systems/depthcharge {
inherit device_config;
initrd = pkgs.callPackage ../systems/initrd.nix { inherit device_config stage-1; };
system = config.system.build.rootfs;
};
kernel-initrd = pkgs.linkFarm "${device_config.name}-build" [
{
name = "kernel-initrd";

View File

@ -2,6 +2,7 @@
, fetchurl
, runCommandNoCC
, initrd
, system
, imageBuilder
, lib
@ -104,6 +105,7 @@ let
partitionType = GPT_ENTRY_TYPES.CHROMEOS_KERNEL;
length = size.MiB 64;
}
system
];
};
in