Re: Does diffoscope compares disk partitions

2023-03-02 Thread intrigeri
Hi, Mattia Rizzolo (2023-03-01): > On Wed, Mar 01, 2023 at 10:55:41AM +, Chris Lamb wrote: >> > Does it support disk partitions or do I missing something? >> >> The short answer is that that diffoscope *should* support comparing your >> partition images properly, instead of falling back to a

Re: Does diffoscope compares disk partitions

2023-03-02 Thread Arnout Engelen
On Thu, Mar 2, 2023, at 02:09, John Gilmore wrote: > I have been surprised at how much effort has gone into "diffoscope" as a > total fraction of the Reproducible Builds effort. How do you know? > Perhaps it is a case > akin to the drunk looking for his keys under the streetlight where he > can s

Re: Does diffoscope compares disk partitions

2023-03-02 Thread Mattia Rizzolo
On Wed, Mar 01, 2023 at 10:07:33PM -0800, Vagrant Cascadian wrote: > I daresay it is more akin to someone looking for lost keys by inventing > a flashlight to look near where they dropped them, and they happen to > have dropped the keys into a bin with miscelaneous arbitrary pieces and > bits of th

Re: Does diffoscope compares disk partitions -> The German word is 'jein' (yes and no)

2023-03-01 Thread Roland Clobus
Hello, On 01/03/2023 22:59, Thomas Schmitt wrote: Mattia Rizzolo wrote: ... ... The file tree and the data files' content is only a part of a bootable ISO 9660 image. There's executable code in the blind spots of such a view: MBR legacy BIOS boot code, EFI programs in the EFI partition, "hidde

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Vagrant Cascadian
On 2023-03-01, John Gilmore wrote: >>> So, overall, I actually don't think that diffoscope has the requested >>> support, and it's not "just" a bug of failed identification. > > I have been surprised at how much effort has gone into "diffoscope" as a > total fraction of the Reproducible Builds effo

Re: Does diffoscope compares disk partitions

2023-03-01 Thread John Gilmore
>> So, overall, I actually don't think that diffoscope has the requested >> support, and it's not "just" a bug of failed identification. I have been surprised at how much effort has gone into "diffoscope" as a total fraction of the Reproducible Builds effort. Perhaps it is a case akin to the drun

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Thomas Schmitt
Hi, Mattia Rizzolo wrote: > I already knew that hybrid ISO 9660 are pretty much devil's offspring, > and I guess I could have done without your introduction to them /o\ Since i am helping to create them i feel obligated to warn the public. {:) > FWIW, currently diffoscope _does_ have a iso9660

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Mattia Rizzolo
Hello Thomas, On Wed, Mar 01, 2023 at 09:44:56PM +0100, Thomas Schmitt wrote: > There are various layouts. Some are quite awkward and invite for getting > lost in the woods. (Actually they lure firmwares out of the woods.) Duh. I already knew that hybrid ISO 9660 are pretty much devil's offspring

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Thomas Schmitt
Hi, Mattia Rizzolo wrote: > So, overall, I actually don't think that diffoscope has the requested > support, and it's not "just" a bug of failed identification. If it gets support for detecting partitions in image files then it will have to handle hybrid bootable ISO 9660 images which bear partit

RE: Does diffoscope compares disk partitions

2023-03-01 Thread Venkata.Pyla
Hi Chris, Thanks for your replay, please see my inline comments. >-Original Message- >From: Chris Lamb >Sent: 01 March 2023 16:26 >To: pyla venkata(TSIP TMIEC ODG Porting) tsip.com>; rb-general >Subject: Re: Does diffoscope compares disk partitions > >Hey Venka

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Mattia Rizzolo
On Wed, Mar 01, 2023 at 10:55:41AM +, Chris Lamb wrote: > > Does it support disk partitions or do I missing something? > > The short answer is that that diffoscope *should* support comparing your > partition images properly, instead of falling back to a raw > xxd(1) comparison. The reason diff

Re: Does diffoscope compares disk partitions

2023-03-01 Thread Chris Lamb
Hey Venkata, > Does it support disk partitions or do I missing something? The short answer is that that diffoscope *should* support comparing your partition images properly, instead of falling back to a raw xxd(1) comparison. The reason diffoscope doesn't do that right now is either due to a bug,

Does diffoscope compares disk partitions

2023-02-27 Thread Venkata.Pyla
Hi, I am using diffscope to compare two images that are created using yocto wks files that means the image has partitions, and it doesn't produce any output and exited after some time. Below is the debug output of the diffoscope === $ diffoscope --debug image1.wic image2.wic 2023-02-27