mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +00:00
darwin-installer: fix /run
not getting created
This commit is contained in:
parent
40e4b85baa
commit
1ba9ae3d21
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ with lib;
|
||||||
if ! grep -q '^run\b' /etc/synthetic.conf 2>/dev/null; then
|
if ! grep -q '^run\b' /etc/synthetic.conf 2>/dev/null; then
|
||||||
echo "setting up /run via /etc/synthetic.conf..."
|
echo "setting up /run via /etc/synthetic.conf..."
|
||||||
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null
|
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null
|
||||||
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null || true
|
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null || true
|
||||||
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null || true
|
sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null || true
|
||||||
if ! test -L /run; then
|
if ! test -L /run; then
|
||||||
echo "warning: apfs.util failed to symlink /run"
|
echo "warning: apfs.util failed to symlink /run"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue