diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/install.sh b/tools/install.sh index 71a7aa7..254b93b 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -56,6 +56,9 @@ touch "$root/etc/NIXOS" # Copy over binfmt runners if required if [ "$buildSystem" != "$targetSystem" ]; then + mkdir -p "$root/run" + mountpoint -q "$root/run" \ + || mount -t tmpfs -o "nosuid,nodev,strictatime,mode=755" tmpfs "$root/run" mkdir -p "$root/run/binfmt" for binfmt in /run/binfmt/*; do nix copy --to "$root" "$(readlink -f "$binfmt")" |