
On Montag, 25. Januar 2021, 16:21:43 CET Dan Čermák wrote:
Hi Andreas,
Andreas Schwab <schwab@linux-m68k.org> writes:
On Jan 25 2021, Dan Čermák wrote:
I am wondering, how is the md5sum of a package[1] calculated? I have tried the md5sum of all the files[2], but that did not appear to match
For non-linked packages: md5sum * | md5sum Ie., the MD5 sum of the md5sum output.
Is that done exactly via this shell command in bash?
For linked packages, it is quite a bit more complicated.
Could you elaborate what is done differently here? I would have expected to run above command over the expanded sources.
you would get the verifymd5 sum then. But not the xsrcmd5, which includes also the linkinformation of the _link files. So it depends which md5sum you actually want. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer