]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wic/engine: error on old host debugfs for standalone directory copy
authorDaniel Dragomir <daniel.dragomir@windriver.com>
Wed, 11 Feb 2026 13:11:20 +0000 (15:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Feb 2026 18:05:10 +0000 (18:05 +0000)
commitcb536737bee95d5a5072b501bda9554705e8cd13
treecf4e243e0eb09efecd921838af4c39910dbc42af
parent6b720a30f3443c5cde04b3c87f779c20e2c6edad
wic/engine: error on 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 an error when an older host
debugfs is detected. The error is shown once per run and halts execution.

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

Changes in v3:
- switch debugfs check from warning to error

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/engine.py