We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a374aa commit 08b8f11Copy full SHA for 08b8f11
src/ugrd/fs/mounts.py
@@ -1,5 +1,5 @@
1
__author__ = 'desultory'
2
-__version__ = '4.0.0'
+__version__ = '4.0.1'
3
4
from pathlib import Path
5
from zenlib.util import check_dict, pretty_print
@@ -378,7 +378,10 @@ def autodetect_root(self) -> None:
378
379
def mount_base(self) -> list[str]:
380
""" Generates mount commands for the base mounts. """
381
- out = [_to_mount_cmd(self, mount) for mount in self['mounts'].values() if mount.get('base_mount')]
+ out = []
382
+ for mount in self['mounts'].values():
383
+ if mount.get('base_mount'):
384
+ out += _to_mount_cmd(self, mount)
385
out += ['mkdir -p /run/vars',
386
f'einfo "Mounting base mounts, version: {__version__}"']
387
return out
0 commit comments