File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " ugrd"
7- version = " 0.15.1 "
7+ version = " 0.15.2 "
88authors = [
99 {
name =
" Desultory" ,
email =
" [email protected] " },
1010]
Original file line number Diff line number Diff line change @@ -167,6 +167,10 @@ def autodetect_root(self) -> None:
167167 mount_data = root_mount_info .partition (':' )[2 ].strip ().split (' ' )
168168 root_dict = {key : value for key , value in (entry .split ('=' ) for entry in mount_data )}
169169
170+ if mount_type := root_dict .get ('TYPE' ):
171+ self .logger .info ("Autodetected root type: %s" % mount_type )
172+ self ['mounts' ]['root' ]['type' ] = mount_type .lower ()
173+
170174 if label := root_dict .get ('LABEL' ):
171175 self .logger .info ("Autodetected root label: %s" % label )
172176 self ['mounts' ]['root' ]['source' ] = {'label' : label }
You can’t perform that action at this time.
0 commit comments