From 7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 18 Jul 2016 13:40:41 +0300 Subject: plymouth service: update root fs before stage 2 --- nixos/modules/system/boot/plymouth.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 1d4d52750e00..0552338bd2a5 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -125,6 +125,10 @@ in plymouth show-splash ''; + boot.initrd.postMountCommands = '' + plymouth update-root-fs --new-root-dir="$targetRoot" + ''; + }; } -- cgit 1.4.1