[packaging] Comment #5: re LSB 4.0 Core beta specification

Jeff Johnson n3npq at mac.com
Sat Dec 27 17:49:08 PST 2008


The text in section "22.2.2.2.2 Index Tag Values" below "Table 22-4.  
Header Private Tag Values" at

  http://dev.linux-foundation.org/betaspecs/booksets/LSB-Core-generic/LSB-Core-generic/pkgformat.html#AEN36803

The tag RPMTAG_HEADERIMMUTABLE is present __ONLY__ in RPMv4 package,  
is __NEVER__
present in "LSB Format" packages:

     RPMTAG_HEADERIMMUTABLE
     This tag contains an index record which specifies the portion of  
the Header Record which was used for the calculation of a signature.  
This data shall be preserved or any header-only signature will be  
invalidated.



There is no attempt to define "preserved" or "calculation".



All RPMTAG_HEADERIMMUTABLE tags also __REQUIRE__ a trailer section,  
essentially

the 16b of the "index record" duplicated after the contiguous region  
that

constitutes the "immutable region" in a header.



Again, lest it be forgotten, RPMTAG_HEADERIMMUTABLE is __NEVER__ seen

in "LSB form" packages.



hth



73 de Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4664 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/packaging/attachments/20081227/e08bce69/attachment.bin 


More information about the packaging mailing list