diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-07-18 13:40:41 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-07-18 13:45:37 +0300 |
commit | 7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d (patch) | |
tree | 32cfc5a5ac73ced34d7f8c7fdf4ad6a7983da5b4 /nixos/modules/system/boot/plymouth.nix | |
parent | 9cab592abd816740f263162be31136177d6a3e92 (diff) | |
download | nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar.gz nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar.bz2 nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar.lz nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar.xz nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.tar.zst nixlib-7513a1d2f5b85d75e1d57bd18feb29a90a2f6f5d.zip |
plymouth service: update root fs before stage 2
Diffstat (limited to 'nixos/modules/system/boot/plymouth.nix')
-rw-r--r-- | nixos/modules/system/boot/plymouth.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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" + ''; + }; } |