[yocto] Heads up

Gary Thomas gary at mlbassoc.com
Thu Apr 30 05:30:19 PDT 2015


On 2015-04-30 01:45, Khem Raj wrote:
> On Wed, Apr 29, 2015 at 7:18 AM, Gary Thomas <gary at mlbassoc.com> wrote:
>> This is just a note that the recent upgrade of util-linux
>> to version 2.26.1 (from 2.25.2) was much more major than
>> the version change implies.  The 'sfdisk' tool changed a
>> lot and will no longer be compatible with many scripts out
>> there that still use it.
>
> Can we document the needed differences and info for users ?
> may be it will handy in release notes too eventually when release time comes
>

 From the 2.26 release notes:
  This version provides a completely new sfdisk(8) command; the new version is
  based on libfdisk. If your use cases depend on sfdisk(8), then it is strongly
  recommended to be careful and re-test your scripts. The new version supports
  MBR and GPT disk labels (SGI and SUN are also supported but not well tested).
  The new version no longer supports some obscure MBR-specific command-line
  options nor legacy CHS addressing.

What this means is that any script (there are a ton of them out there)
that tries to create a label for a disk device using Cylinder-Head-Sectors
style will have to be rewritten as the new sfdisk only does sector unit
addressing.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list