All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] dosfstools upgrade + image gen. fixes
@ 2016-06-02 10:49 Jussi Kukkonen
  2016-06-02 10:49 ` [PATCH 1/3] mtools: Patch out a useless sanity check Jussi Kukkonen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jussi Kukkonen @ 2016-06-02 10:49 UTC (permalink / raw)
  To: openembedded-core

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

-- 
2.1.4



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-02 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02 10:49 [PATCH 0/3] dosfstools upgrade + image gen. fixes Jussi Kukkonen
2016-06-02 10:49 ` [PATCH 1/3] mtools: Patch out a useless sanity check Jussi Kukkonen
2016-06-02 10:49 ` [PATCH 2/3] image-live, image-vm, wic: Remove fs size workaround Jussi Kukkonen
2016-06-02 10:49 ` [PATCH 3/3] dosfstools: Upgrade 3.0.28 -> 4.0 Jussi Kukkonen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.