Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
vmdeboostrap
Commits
3f06672b
Commit
3f06672b
authored
Dec 22, 2019
by
Guido Gunther
Browse files
Don't pass any filesystem flags for f2fs
parent
b1bfa268
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/patches/Don-t-pass-any-filesystem-flags-for-f2fs.patch
0 → 100644
View file @
3f06672b
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Fri, 27 Sep 2019 15:03:48 +0200
Subject: Don't pass any filesystem flags for f2fs
It does not like errors=remount-ro and mounts the rootfs ro in this
case.
---
vmdebootstrap/filesystem.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py
index b911c05..5ca7e5a 100644
--- a/vmdebootstrap/filesystem.py
+++ b/vmdebootstrap/filesystem.py
@@ -182,7 +182,7 @@
class Filesystem(Base):
def get_mount_flags(fstype):
"""Return the fstab mount flags for a given file system type."""
flags = ['errors=remount-ro']
- if fstype == 'btrfs':
+ if fstype in ['btrfs', 'f2fs']:
flags = []
return ','.join(flags) or 'defaults'
debian/patches/series
View file @
3f06672b
Don-t-enforce-U-EFI-on-arm64.patch
Don-t-pass-any-filesystem-flags-for-f2fs.patch
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment