summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-09-17 18:29:42 -0700
committerRyan Burns <rtburns@protonmail.com>2021-09-28 17:41:13 -0700
commit288cc2007b1c3d60163176a1706024b9ee152393 (patch)
treed2d34614924a8c46e0a70d2740206a1f9c3614c8 /lib/systems
parent06f968ff54343e588f07c18db41c59e80677e49f (diff)
downloadnixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar.gz
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar.bz2
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar.lz
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar.xz
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.tar.zst
nixpkgs-288cc2007b1c3d60163176a1706024b9ee152393.zip
lib/systems: update powernv kernel config
PowerNV was looking for a nonexisting zImage file.
Remove unnecessary .file / .installTarget.

Also add config options needed for default minimal
NixOS config and QEMU VirtIO/VirtFS devices.
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/platforms.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix
index 2a5f630c3de..b2a8dbedef4 100644
--- a/lib/systems/platforms.nix
+++ b/lib/systems/platforms.nix
@@ -20,15 +20,17 @@ rec {
       name = "PowerNV";
 
       baseConfig = "powernv_defconfig";
-      target = "zImage";
-      installTarget = "install";
-      file = "vmlinux";
+      target = "vmlinux";
       autoModules = true;
       # avoid driver/FS trouble arising from unusual page size
       extraConfig = ''
         PPC_64K_PAGES n
         PPC_4K_PAGES y
         IPV6 y
+
+        ATA_BMDMA y
+        ATA_SFF y
+        VIRTIO_MENU y
       '';
     };
   };