Re: Build-Pkg binary package creation broken?

Stefan Fiedler <[email protected]> Thu, 27 Apr 2006 22:14:13 +0200
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Am Freitag, 14. April 2006 14:34 schrieb Stefan Fiedler:
> Hi all,
>
> In current trunk, Build-Pkg will add to e.g. var/adm/md5sums/<pkg> and
> var/adm/cksums/<pkg> on each package build.
> This causes problems, as it will add duplicate entries to var/adm/* files,
> in the case of ../md5ums and .../cksums possibly even with different
> checksums (e.g. for binaries build differently in different stages).
> Furthermore, mine reports each file for which more than one entry in all
> md5sums files exists as modified/duplicate. That effectively means all
> files of packages that have been built in more than one stage will be seen
> as modified and not overwritten on updates. :(
> I strongly suggest to _overwrite_ .../var/adm/* files during package
> builds.
>

SubMaster patches 2006042722012983020 and 2006042722031485110 should fix this 
bug. 
A draft describing the binary package format in detail is available here: 
http://www.rocklinux.org/wiki/Packages#Binary_Package_Format_.28Draft.29 .

With best regards,
	Stefan Fiedler