File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 107
107
lvm_type = "mirror" ;
108
108
content = {
109
109
type = "filesystem" ;
110
- format = "ext4 " ;
111
- mountpoint = "/ext4_on_lvm " ;
110
+ format = "exfat " ;
111
+ mountpoint = "/exfat_on_lvm " ;
112
112
mountOptions = [
113
113
"defaults"
114
114
] ;
115
115
postMountHook = ''
116
- touch /mnt/ext4_on_lvm /file-from-postMountHook
116
+ touch /mnt/exfat_on_lvm /file-from-postMountHook
117
117
'' ;
118
118
} ;
119
119
} ;
Original file line number Diff line number Diff line change 106
106
pkgs . gnugrep
107
107
]
108
108
++ (
109
- # TODO add many more
110
109
if ( config . format == "xfs" ) then
111
110
[ pkgs . xfsprogs ]
112
111
else if ( config . format == "btrfs" ) then
123
122
[ pkgs . bcachefs-tools ]
124
123
else if ( config . format == "f2fs" ) then
125
124
[ pkgs . f2fs-tools ]
125
+ else if ( config . format == "exfat" ) then
126
+ [ pkgs . exfatprogs ]
126
127
else
127
128
[ ]
128
129
) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ diskoLib.testLib.makeDiskoTest {
19
19
machine.succeed("mountpoint /zfs_fs");
20
20
machine.succeed("mountpoint /zfs_legacy_fs");
21
21
machine.succeed("mountpoint /ext4onzfs");
22
- machine.succeed("mountpoint /ext4_on_lvm ");
22
+ machine.succeed("mountpoint /exfat_on_lvm ");
23
23
'' ;
24
24
extraSystemConfig = {
25
25
imports = [
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ diskoLib.testLib.makeDiskoTest {
19
19
machine.succeed("mountpoint /zfs_fs");
20
20
machine.succeed("mountpoint /zfs_legacy_fs");
21
21
machine.succeed("mountpoint /ext4onzfs");
22
- machine.succeed("mountpoint /ext4_on_lvm ");
22
+ machine.succeed("mountpoint /exfat_on_lvm ");
23
23
24
24
25
- machine.succeed("test -e /ext4_on_lvm /file-from-postMountHook");
25
+ machine.succeed("test -e /exfat_on_lvm /file-from-postMountHook");
26
26
'' ;
27
27
extraInstallerConfig = {
28
28
boot . kernelModules = [
You can’t perform that action at this time.
0 commit comments