mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
mount: allow empty .dev
This commit is contained in:
parent
10e1037ad7
commit
5034d2d836
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ rec {
|
||||||
in ''
|
in ''
|
||||||
set -efux
|
set -efux
|
||||||
# first create the necessary devices
|
# first create the necessary devices
|
||||||
${concatMapStrings (dev: ((attrByPath (dev ++ [ "_mount" ]) "" devices) {}).dev ) sortedDeviceList}
|
${concatMapStrings (dev: ((attrByPath (dev ++ [ "_mount" ]) "" devices) {}).dev or "") sortedDeviceList}
|
||||||
|
|
||||||
# and then mount the filesystems in alphabetical order
|
# and then mount the filesystems in alphabetical order
|
||||||
${concatStrings (attrValues fsMounts)}
|
${concatStrings (attrValues fsMounts)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue