1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-28 12:56:54 +03:00

qemu-x86_64: default to no splash (for now)

This commit is contained in:
Samuel Dionne-Riel 2018-06-18 21:49:35 -04:00
parent 2ef6c5f988
commit 64d4e5a604

View File

@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }:
with import ../../modules/initrd-order.nix;
let
kernel = pkgs.linuxPackages_4_16.kernel;
device_info = (lib.importJSON ../postmarketOS-devices.json).qemu-amd64;
@ -35,7 +36,13 @@ in
};
mobile.system.type = "kernel-initrd";
mobile.boot.stage-1 = {
redirect-log.enable = false;
#splash.enable = false;
# Comment the next two if you want to play around with splash.
redirect-log.targets = [ "/dev/tty0" "/dev/kmsg" ];
splash.enable = false;
init = (lib.mkOrder BEFORE_READY_INIT ''
echo "cmdline:"
cat /proc/cmdline
echo "Hi there from /init!"
'');
};
}