* HAL expects a /media directory for mounting removable media.
svn path=/nixos/trunk/; revision=17437
This commit is contained in:
parent
3d5462c980
commit
693e017bfe
@ -94,7 +94,6 @@ let
|
|||||||
|
|
||||||
mkdir -m 1777 -p /var/tmp
|
mkdir -m 1777 -p /var/tmp
|
||||||
|
|
||||||
|
|
||||||
# Empty, read-only home directory of many system accounts.
|
# Empty, read-only home directory of many system accounts.
|
||||||
mkdir -m 0555 -p /var/empty
|
mkdir -m 0555 -p /var/empty
|
||||||
'' [
|
'' [
|
||||||
@ -176,6 +175,10 @@ let
|
|||||||
# Prevent the current configuration from being garbage-collected.
|
# Prevent the current configuration from being garbage-collected.
|
||||||
ln -sfn /var/run/current-system /nix/var/nix/gcroots/current-system
|
ln -sfn /var/run/current-system /nix/var/nix/gcroots/current-system
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
media = noDepEntry ''
|
||||||
|
mkdir -p /media
|
||||||
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user