[Buildroot] [PATCH/2021.2 v1] package/genimage: fix for WSL (Windows-Subsystem for Linux)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 14 22:19:51 UTC 2021


Hello Peter,

On Wed, 10 Mar 2021 20:16:51 +0100
Peter Seiderer <ps.report at gmx.net> wrote:

> - add upstream patch ([1]) to fix usage with WSL (Windows-Subsystem for Linux)
> 
> Fixes:
> 
>   - https://bugs.busybox.net/show_bug.cgi?id=13146
>   - https://bugs.busybox.net/show_bug.cgi?id=13601
> 
>   ERROR: hdimage(sdcard.img): fiemap .../images/boot.vfat: 25 Inappropriate ioctl for device
>   ERROR: hdimage(sdcard.img): failed to write image partition 'boot'
> 
> [1] https://github.com/pengutronix/genimage/commit/4c2b02df0861e06ca9320d80ad60994d4a239ad6.patch
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>

You tagged this patch 2021.02. Does this mean that:

 - It should be applied *only* for 2021.02, and not master? If so, for
   what reason?

 - It should be applied to both 2021.02 and master ?

Thanks for having investigated this, just this week, I had a
participant to my training course running under WSL2 who faced exactly
that issue.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list