mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-23 00:28:28 +03:00
x86 fix
This commit is contained in:
parent
d114dddb99
commit
41d040d7d9
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ nix-env -i \
|
||||||
# XXX GOTCHA NB bindmount causes /bin/bash permission BUG on many
|
# XXX GOTCHA NB bindmount causes /bin/bash permission BUG on many
|
||||||
# versions (nix 1.10-1.11, nixpkgs 15-16), so we must use loopback image instead.
|
# versions (nix 1.10-1.11, nixpkgs 15-16), so we must use loopback image instead.
|
||||||
# See: https://github.com/NixOS/nixpkgs/issues/10230
|
# See: https://github.com/NixOS/nixpkgs/issues/10230
|
||||||
dd if=/dev/zero of=$newRootImg bs=1M count=$((2*1024))
|
dd if=/dev/zero of=$newRootImg bs=1M count=2047 # XXX 2048+ will cause mkfs.ext4 to fail on x86
|
||||||
mkfs.ext4 -F $newRootImg
|
mkfs.ext4 -F $newRootImg
|
||||||
mount $newRootImg $newRootMount
|
mount $newRootImg $newRootMount
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue