[Parted-maintainers] Bug#1052462: parted: libparted2 package dependencies (dmidecode) differ between arm64 and amd64

Phil Roche phil.roche at canonical.com
Mon Sep 25 12:35:20 BST 2023


Thank you for the background. This can be marked as invalid.

On Fri, 22 Sept 2023 at 16:12, Colin Watson <cjwatson at debian.org> wrote:

> On Fri, Sep 22, 2023 at 03:41:53PM +0100, Phil Roche wrote:
> > While working on new arm64 Ubuntu 23.10 Mantic minimal cloud images
> > (http://cloud-images.ubuntu.com/minimal/daily/mantic/) we discovered
> that
> > `dmidecode` was not being installed in the arm64 images.
> >
> > In debugging, I found that the package dependencies of the libparted2
> > package
> > differ between arm64 and amd64. arm64 `libparted2` does not depend on
> > `dmidecode` but on amd64 it does.
>
> This is intentional, because libparted only uses dmidecode for
> identifying old Intel Macs with special GPT quirks, and that's only
> relevant on x86.  I don't personally see why this needs to be extended
> to arm64, although of course if somebody comes forward and explicitly
> confirms that it's relevant to partitioning on Apple Silicon or whatever
> then we could do that - but I wouldn't do it just for architectural
> symmetry.
>
> If you explicitly need dmidecode to be on your images, then I think you
> should have an explicit dependency or similar to ensure that, rather
> than relying on a dependency via libparted (which is an implementation
> detail).  Is that a problem?
>
> --
> Colin Watson (he/him)                              [cjwatson at debian.org]
>


-- 
Phil Roche
Staff Software Engineer
Canonical Public Cloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/parted-maintainers/attachments/20230925/a90ee1a0/attachment.htm>


More information about the Parted-maintainers mailing list