mirror of
https://github.com/nix-community/linuxkit-nix.git
synced 2024-09-11 11:55:24 +03:00
Verify contents on startup
This commit is contained in:
parent
8cb0d9eb24
commit
04bfb7a6e4
@ -49,6 +49,7 @@ ls -la /nix/var/nix/db || true
|
||||
|
||||
if [ -f /nix-path-registration ]; then
|
||||
nix-store --load-db < /nix-path-registration
|
||||
nix-store --verify --check-contents
|
||||
rm /nix-path-registration
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user