[Rpm-maint] [rpm-software-management/rpm] RFC: Aligned payloads and reflinked payload file content (PR #4294)
Daan De Meyer
notifications at github.com
Fri Aug 7 11:57:08 UTC 2026
@daandemeyer commented on this pull request.
> + /* Plain streams use physical file offsets. Compressed streams align the
+ * canonical cpio relative to its decompressed start. */
+ if (fdIsPlain(fd)) {
+ off_t base = Ftell(fd);
+ cpio->base = (base > 0) ? base : 0;
+ }
The mix is deliberate: the direct calls byte-compare tool output against the in-process API helper (which also runs on the host), while the `runroot` cases cover the configured-root path. Conversion doesn't depend on the macros that differ.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4294#discussion_r3735575525
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4294/review/4882617070 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260807/6f68e2ea/attachment.htm>
More information about the Rpm-maint
mailing list