summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source/rawcopy.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source/rawcopy.py')
-rw-r--r--scripts/lib/wic/plugins/source/rawcopy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py
index 3c4997d8ba..fa7b1eb8ac 100644
--- a/scripts/lib/wic/plugins/source/rawcopy.py
+++ b/scripts/lib/wic/plugins/source/rawcopy.py
@@ -29,9 +29,9 @@ class RawCopyPlugin(SourcePlugin):
29 cmd = 'btrfs filesystem label %s %s' % (dst, label) 29 cmd = 'btrfs filesystem label %s %s' % (dst, label)
30 elif fstype == 'swap': 30 elif fstype == 'swap':
31 cmd = 'mkswap -L %s %s' % (label, dst) 31 cmd = 'mkswap -L %s %s' % (label, dst)
32 elif fstype == 'squashfs': 32 elif fstype in ('squashfs', 'erofs'):
33 raise WicError("It's not possible to update a squashfs " 33 raise WicError("It's not possible to update a %s "
34 "filesystem label '%s'" % (label)) 34 "filesystem label '%s'" % (fstype, label))
35 else: 35 else:
36 raise WicError("Cannot update filesystem label: " 36 raise WicError("Cannot update filesystem label: "
37 "Unknown fstype: '%s'" % (fstype)) 37 "Unknown fstype: '%s'" % (fstype))