RPM BUILD > 2 gig

Panu Matilainen pmatilai at laiskiainen.org
Sat Apr 14 08:44:39 UTC 2012


On 04/13/2012 01:43 PM, Masatake YAMATO wrote:
> Hi,
>
>> On 04/13/2012 05:28 AM, Rashmi Jain (rashmij) wrote:
>>>
>>> I need to build and rpm which is>2gig.
>>>
>>> Is it possible and  what plugins  do I need to use
>>>
>>> Rashmi
>>>
>> RPM up to 4.4.x is limited to 2GB package content size. From 4.6 on
>> the package content is uses 64bit ints (8 Exibytes) but the files are
>> limited to 4GB each due to cpio restrictions.
>
> How about the number of files in a rpm?

The practical limit is somewhere in tens of thousands of files per 
package, depending on path lengths, number of different directories 
involved and such. The limitation comes from the header total and 
individual tag data sizes being artificially capped to 32MB and 16MB 
respecively.

	- Panu -


More information about the Rpm-list mailing list