[Rpm-maint] [rpm-software-management/rpm] Updated v3 and v4 package + header format documentation (PR #2861)
Daniel Alley
notifications at github.com
Sat Jan 20 04:34:37 UTC 2024
@dralley commented on this pull request.
> +
+Field | Value
+--------|------
+tag | Must equal the Index Entry (ie 62 or 63)
+type | BIN
+offset | Size of the region entries in the Index
+count | 16
+
+The number of entries in the region (aka region index length) can thus be
+calculated as `ril = -offset / sizeof(struct index_entry)`.
+
+When reading a package from disk, the number of region entries is expected
+to be the same as the index length in the Intro. However when a package
+is installed, extra data such as the install time is added to the header,
+that data falls outside the otherwise invisible region line in the index.
+These tags outside the immutable region are called "dribbles" in the RPM
This happens to satisfy https://github.com/rpm-software-management/rpm/issues/2462, so thanks for that! Feel free to close it or mark it to be closed automatically on merge of the commit.
I do also have a side remark under that issue, and I'm wondering if that should be tracked as a brand new issue, or discussion, etc. https://github.com/rpm-software-management/rpm/issues/2462#issuecomment-1493217258
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2861#pullrequestreview-1834612619
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2861/review/1834612619 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240119/e5bf053c/attachment.html>
More information about the Rpm-maint
mailing list