Skip to content

dosfstools upgrade + image gen. fixes

Jussi Kukkonen openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mtools: Patch out a useless sanity checkmeta/recipes-devtools/mtools/mtools/0001-Continue-even-if-fs-size-is-not-divisible-by-sectors.patch meta/recipes-devtools/mtools/mtools_3.9.9.bb meta/recipes-devtools/mtools/mtools_4.0.18.bb+40 -20 replies
2/3image-live, image-vm, wic: Remove fs size workaroundmeta/classes/image-live.bbclass meta/classes/image-vm.bbclass scripts/lib/wic/partition.py +3 more+0 -380 replies
3/3dosfstools: Upgrade 3.0.28 -> 4.0meta/recipes-devtools/dosfstools/dosfstools/0001-mkfs.fat-fix-incorrect-int-type.patch meta/recipes-devtools/dosfstools/dosfstools/largefile.patch meta/recipes-devtools/dosfstools/dosfstools_4.0.bb+6 -770 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] dosfstools upgrade + image gen. fixes

A new approach to the dosfstools upgrade: Fix the sanity check in mtools and remove workarounds we have in image generation scripts.

I ended up at this after I realised that:
* dosfstools < 4.0 uses 32 sectors-per-track
* dosfstools 4.0 uses 63 sectors-per-track
* dosfstools git master uses variable sectors-per-track
Creating a filesystem with a size that's divisible by sectors-per-track with multiple different dosfstools (we have two versions) was going to be very tricky.

On the other hand, making the sanity check in mtools non-fatal seems to work just fine and let's us simplify the scripts.

- Jussi

The following changes since commit 5a9745dd631eb697c30cd49e1dd065f4f57e7393:

distro_check.py: Don't mix tabs and spaces (2016-06-02 08:36:29 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jku/dosfstools
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/dosfstools

Jussi Kukkonen (3):
mtools: Patch out a useless sanity check image-live, image-vm, wic: Remove fs size workaround
dosfstools: Upgrade 3.0.28 -> 4.0

 meta/classes/image-live.bbclass                    |  6 ---
 meta/classes/image-vm.bbclass                      |  6 ---
 .../0001-mkfs.fat-fix-incorrect-int-type.patch     | 46 ----------------------
 .../dosfstools/dosfstools/largefile.patch          | 19 ---------
 .../{dosfstools_3.0.28.bb => dosfstools_4.0.bb}    | 18 +++------
 ...en-if-fs-size-is-not-divisible-by-sectors.patch | 34 ++++++++++++++++
 meta/recipes-devtools/mtools/mtools_3.9.9.bb       |  4 +-
 meta/recipes-devtools/mtools/mtools_4.0.18.bb      |  4 +-
 scripts/lib/wic/partition.py                       |  8 ----
 scripts/lib/wic/plugins/source/bootimg-efi.py      |  6 ---
 scripts/lib/wic/plugins/source/bootimg-pcbios.py   |  6 ---
 .../lib/wic/plugins/source/isoimage-isohybrid.py   |  6 ---
 12 files changed, 46 insertions(+), 117 deletions(-)
 delete mode 100644 meta/recipes-devtools/dosfstools/dosfstools/0001-mkfs.fat-fix-incorrect-int-type.patch
 delete mode 100644 meta/recipes-devtools/dosfstools/dosfstools/largefile.patch
 rename meta/recipes-devtools/dosfstools/{dosfstools_3.0.28.bb => dosfstools_4.0.bb} (60%)
 create mode 100644 meta/recipes-devtools/mtools/mtools/0001-Continue-even-if-fs-size-is-not-divisible-by-sectors.patch
Signature · 1 line
2.1.4