[elbe-devel] [PATCH] schema: Prevent xfs filesystems
Bastian Germann
bage at linutronix.de
Fri Jun 24 10:45:05 CEST 2022
xfsprogs were never installed in the initvm, so xfs creation fails.
Remove it from the allowed filesystems.
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
elbepack/fstab.py | 2 +-
schema/dbsfed.xsd | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/elbepack/fstab.py b/elbepack/fstab.py
index c98cf21db6..efd983f9f2 100644
--- a/elbepack/fstab.py
+++ b/elbepack/fstab.py
@@ -149,7 +149,7 @@ class fstabentry(hdpart):
depth += 1
def get_label_opt(self):
- if self.fstype in ("ext4", "ext3", "ext2", "xfs", "btrfs"):
+ if self.fstype in ("ext4", "ext3", "ext2", "btrfs"):
return "-L " + self.label
if self.fstype == "vfat":
return "-n " + self.label
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 38642e3ac2..f3984528fe 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -1985,7 +1985,6 @@
<enumeration value="ext2" />
<enumeration value="ext3" />
<enumeration value="ext4" />
- <enumeration value="xfs" />
<enumeration value="ubifs" />
<enumeration value="tmpfs" />
<enumeration value="debugfs" />
--
2.30.2
More information about the elbe-devel
mailing list