diff options
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
-rw-r--r-- | scripts/lib/wic/ksparser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index 7850e81d2f..4fb6868531 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
@@ -195,6 +195,11 @@ class KickStart(): | |||
195 | raise KickStartError('%s:%d: %s' % \ | 195 | raise KickStartError('%s:%d: %s' % \ |
196 | (confpath, lineno, err)) | 196 | (confpath, lineno, err)) |
197 | if line.startswith('part'): | 197 | if line.startswith('part'): |
198 | # SquashFS does not support UUID | ||
199 | if parsed.fstype == 'squashfs' and parsed.use_uuid: | ||
200 | err = "%s:%d: SquashFS does not support UUID" \ | ||
201 | % (confpath, lineno) | ||
202 | raise KickStartError(err) | ||
198 | # using ArgumentParser one cannot easily tell if option | 203 | # using ArgumentParser one cannot easily tell if option |
199 | # was passed as argument, if said option has a default | 204 | # was passed as argument, if said option has a default |
200 | # value; --overhead-factor/--extra-space cannot be used | 205 | # value; --overhead-factor/--extra-space cannot be used |