trim down the qemu kernel config

just retain the options we need to pass the tests
This commit is contained in:
Daniel Barlow committed 2022-10-18 22:28:07 +01:00
1 parent c6ed5d6f2d
commit 3ef30056c4
4 files changed
+65 -136

No files matched your search

+4 -1
View File
@@ -56,10 +56,13 @@ in {
MODULES = "y";
# not going far without Unix domain sockets
# basic networking protocols
NET = "y";
UNIX = "y";
INET = "y";
IPV6 = "y";
PACKET = "y"; # for ppp, tcpdump ...
SYSVIPC= "y";
# s6-linux-init mounts this on /dev
DEVTMPFS = "y";
+20
View File
@@ -0,0 +1,20 @@
{ lib, pkgs, config, ...}:
let
inherit (lib) mkEnableOption mkOption types isDerivation hasAttr ;
inherit (pkgs.pseudofile) dir symlink;
inherit (pkgs) busybox;
in {
config = {
kernel = rec {
config = {
CFG80211= "y";
MAC80211= "y";
MAC80211_MESH= "y";
RFKILL= "y";
WLAN = "y";
};
checkedConfig = config;
};
};
}