Skip to content

Commit 7a26c0a

Browse files
committed
add mount flags to debug output
Signed-off-by: Zen <[email protected]>
1 parent a21ab5f commit 7a26c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ugrd/base/cmdline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = 'desultory'
2-
__version__ = '0.6.4'
2+
__version__ = '0.6.5'
33

44

55
def parse_cmdline(self) -> str:
@@ -30,7 +30,7 @@ def mount_cmdline_root(self) -> str:
3030
""" Returns bash script to mount root partition based on /proc/cmdline """
3131
mount_dest = self['mounts']['root']['destination'] if not self.get('switch_root_target') else self['switch_root_target']
3232
out_str = ['if [ -n "$CMDLINE_ROOT" ]; then',
33-
' echo "Mounting root partition based on /proc/cmdline: $CMDLINE_ROOT"',
33+
' echo "Mounting root partition based on /proc/cmdline: $CMDLINE_ROOT -o $CMDLINE_ROOTFLAGS"',
3434
f' mount $CMDLINE_ROOT {mount_dest} -o $CMDLINE_ROOTFLAGS',
3535
'fi',
3636
'if [ $? -ne 0 ] || [ -z "$CMDLINE_ROOT" ]; then',

0 commit comments

Comments
 (0)