All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] dosfstools upgrade + image gen. fixes
Date: Thu,  2 Jun 2016 13:49:02 +0300	[thread overview]
Message-ID: <cover.1464863090.git.jussi.kukkonen@intel.com> (raw)

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



             reply	other threads:[~2016-06-02 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 10:49 Jussi Kukkonen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1464863090.git.jussi.kukkonen@intel.com \
    --to=jussi.kukkonen@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.