]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic/engine: warn about old host debugfs for standalone directory copy
authorDaniel Dragomir <daniel.dragomir@windriver.com>
Fri, 9 Jan 2026 17:45:19 +0000 (19:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Jan 2026 16:50:56 +0000 (16:50 +0000)
commit45f9927a839df541b9db2ecd2e005c0fb47ed3ab
tree09a0609074f3f60680410ab7dc5143acbd3a120d
parent50d71162a7f82bbca85815768c324be121b541a8
wic/engine: warn about old host debugfs for standalone directory copy

When wic is used in standalone mode, it relies on host tools such as
debugfs. For directory host->image copies into ext* partitions, wic
uses scripted debugfs "-f" input with multiple mkdir/write commands.

Older host debugfs versions (< 1.46.5) may behave unreliably in this
mode and can silently miss files. This does not affect builds using
debugfs from OE where the version is known to be sufficiently new.

Add a debugfs version check and emit a warning when an older host
debugfs is detected. The warning is shown once per run and does not
alter execution.

Changes in v2:
- adjust the last working debugfs version to 1.46.5

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/engine.py