mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
repart: when using erofs and log level is not debug, use --quiet
mkfs.erofs is extremely verbose and will log every single file added to the filesystem, which is a lot of them when building a rootfs.
This commit is contained in:
parent
af69ea714d
commit
323213cfea
@ -6098,7 +6098,8 @@ static int context_mkfs(Context *context) {
|
||||
return r;
|
||||
|
||||
r = make_filesystem(partition_target_path(t), p->format, strempty(p->new_label), root,
|
||||
p->fs_uuid, arg_discard, /* quiet = */ false,
|
||||
p->fs_uuid, arg_discard,
|
||||
/* quiet = */ streq(p->format, "erofs") && !DEBUG_LOGGING,
|
||||
context->fs_sector_size, p->compression, p->compression_level,
|
||||
extra_mkfs_options);
|
||||
if (r < 0)
|
||||
@ -7657,7 +7658,8 @@ static int context_minimize(Context *context) {
|
||||
strempty(p->new_label),
|
||||
root,
|
||||
fs_uuid,
|
||||
arg_discard, /* quiet = */ false,
|
||||
arg_discard,
|
||||
/* quiet = */ streq(p->format, "erofs") && !DEBUG_LOGGING,
|
||||
context->fs_sector_size,
|
||||
p->compression,
|
||||
p->compression_level,
|
||||
@ -7749,7 +7751,7 @@ static int context_minimize(Context *context) {
|
||||
root,
|
||||
p->fs_uuid,
|
||||
arg_discard,
|
||||
/* quiet = */ false,
|
||||
/* quiet = */ streq(p->format, "erofs") && !DEBUG_LOGGING,
|
||||
context->fs_sector_size,
|
||||
p->compression,
|
||||
p->compression_level,
|
||||
|
Loading…
x
Reference in New Issue
Block a user