aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHrutvik Kanabar <hrutvik@google.com>2022-09-07 12:18:47 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-09-09 15:01:01 +0200
commit72182ca18f566ec52d6b19edddad4964148cddca (patch)
treec19433e21bc04380ffe18ab7aee07cc4a3287148 /tools
parentbdd150fcc6791e6167f227f55703682ca62c34c2 (diff)
tools/syz-imagegen: update `erofs` image generation
`./syz-imagegen -fs erofs` fails for some images with the following message: <E> erofs: failed to initialize compressor: [Error 22] Invalid argument <E> erofs: Could not format the device : [Error 22] Invalid argument This error appears only for the runs with `lz4` compression enabled. The commit below seems to be responsible for the changed behaviour: 96a59540090c6376553ff6cd5a042efea53d2d50 in repo https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git Previously, it seems any compression level specified for `lz4` would be ignored. Now, it is considered incompatible. This commit removes the compression level. Images will be regenerated in a future commit.
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-imagegen/imagegen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-imagegen/imagegen.go b/tools/syz-imagegen/imagegen.go
index 013bc251f..0f2402bb8 100644
--- a/tools/syz-imagegen/imagegen.go
+++ b/tools/syz-imagegen/imagegen.go
@@ -341,7 +341,7 @@ var fileSystems = []FileSystem{
ReadOnly: true,
MkfsFlags: []string{"-T1000"},
MkfsFlagCombinations: [][]string{
- {"-z lz4,1", "-z lz4,9", "-z lz4hc,1", "-z lz4hc,9"},
+ {"-z lz4", "-z lz4hc,1", "-z lz4hc,9"},
{"-x 1", "-x 2"},
{"", "-E legacy-compress"},
},