Merge pull request #131876 from NixOS/backport-131760-to-release-21.05
[Backport release-21.05] nixos/installer: force root fs type
This commit is contained in:
commit
3ed3b163aa
|
@ -644,7 +644,11 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ fsType = "tmpfs";
|
# This module is often over-layed onto an existing host config
|
||||||
|
# that defines `/`. We use mkOverride 60 to override standard
|
||||||
|
# values, but at the same time leave room for mkForce values
|
||||||
|
# targeted at the image build.
|
||||||
|
{ fsType = mkOverride 60 "tmpfs";
|
||||||
options = [ "mode=0755" ];
|
options = [ "mode=0755" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,11 @@ with lib;
|
||||||
else [ pkgs.grub2 pkgs.syslinux ]);
|
else [ pkgs.grub2 pkgs.syslinux ]);
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ fsType = "tmpfs";
|
# This module is often over-layed onto an existing host config
|
||||||
|
# that defines `/`. We use mkOverride 60 to override standard
|
||||||
|
# values, but at the same time leave room for mkForce values
|
||||||
|
# targeted at the image build.
|
||||||
|
{ fsType = mkOverride 60 "tmpfs";
|
||||||
options = [ "mode=0755" ];
|
options = [ "mode=0755" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue