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:
parent
c4d16fd341
commit
66a7f812c9
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user