]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Allow RPM to return total file sizes larger than 4GB
authorNils Hanke <nils.hanke@outlook.com>
Mon, 13 Feb 2023 17:59:55 +0000 (18:59 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 Feb 2023 15:31:09 +0000 (16:31 +0100)
commit2dcfbbcaefc12706fcf7a4d2fbcb752dadfae3e5
tree3172aaffc1eba562cd57e212f05ef7efafceecd0
parentd68e5d497d53a53ee86c3dbf76822b5acb74963d
Allow RPM to return total file sizes larger than 4GB

When an RPM has a total content size over 4GB, the --qf parameter
needs to use LONGSIZE instead of SIZE to display the total package
content file size, likely to keep compatibility with code
expecting 32 bit friendly values.

Otherwise, if a package is larger than 4GB, RPM returns (none).
Since this is later given as input to Python's int(),
it will throw an exception due to (none) not being a number.
mkosi/manifest.py