diff options
author | Robin Gloster <mail@glob.in> | 2016-08-13 09:45:48 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-13 09:49:24 +0000 |
commit | bea8972d967e6599aa28f7c0e30b9fc1fc589328 (patch) | |
tree | 3cbdb015e6df0919fb43962c01430431bc85b9a2 /nixos/tests | |
parent | 572490bce93a34e7b0dc448bd71cac8f1a42cf00 (diff) |
nixos.tests.boot-stage1: disable pic for kernel module
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/boot-stage1.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix index ad253d23c543..ccd8394a1f03 100644 --- a/nixos/tests/boot-stage1.nix +++ b/nixos/tests/boot-stage1.nix @@ -8,6 +8,7 @@ import ./make-test.nix ({ pkgs, ... }: { kdev = config.boot.kernelPackages.kernel.dev; kver = config.boot.kernelPackages.kernel.modDirVersion; ksrc = "${kdev}/lib/modules/${kver}/build"; + hardeningDisable = [ "pic" ]; } '' echo "obj-m += $name.o" > Makefile echo "$source" > "$name.c" |