Merge pull request #264635 from baloo/baloo/amazon-image/pkg-reimport
This commit is contained in:
@@ -71,9 +71,8 @@ in {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
zfsBuilder = import ../../../lib/make-multi-disk-zfs-image.nix {
|
zfsBuilder = import ../../../lib/make-multi-disk-zfs-image.nix {
|
||||||
inherit lib config configFile;
|
inherit lib config configFile pkgs;
|
||||||
inherit (cfg) contents format name;
|
inherit (cfg) contents format name;
|
||||||
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
|
|
||||||
|
|
||||||
includeChannel = true;
|
includeChannel = true;
|
||||||
|
|
||||||
@@ -120,10 +119,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extBuilder = import ../../../lib/make-disk-image.nix {
|
extBuilder = import ../../../lib/make-disk-image.nix {
|
||||||
inherit lib config configFile;
|
inherit lib config configFile pkgs;
|
||||||
|
|
||||||
inherit (cfg) contents format name;
|
inherit (cfg) contents format name;
|
||||||
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
|
|
||||||
|
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
partitionTableType = if config.ec2.efi then "efi" else "legacy+gpt";
|
partitionTableType = if config.ec2.efi then "efi" else "legacy+gpt";
|
||||||
|
|||||||
Reference in New Issue
Block a user