[OE-core] [PATCH 1/1] Image_types: use ustar format in cpio command

Burton, Ross ross.burton at intel.com
Mon Jun 25 15:47:19 UTC 2018


Was reminded about this by a bug review.

The original bug was about cpio images in general, not initramfs.  It
was a sdk-ptest image so no doubt that does have some huge files, but
yes 4GB is still bigger than you'd expect.

I'll kick a build and see if I can replicate...

Ross

On 14 November 2017 at 19:10, Andre McCurdy <armccurdy at gmail.com> wrote:
> On Tue, Nov 14, 2017 at 2:11 AM, André Draszik <git at andred.net> wrote:
>> On Tue, 2017-11-14 at 22:14 +0800, Shashwat Pandey wrote:
>>> Using ustar format due to ROOTFS size exceeding issue.
>>> Ustar supports up to 8GB.
>>> Where as newc support up to 4GB.
>>>
>>> [YOCTO #11674]
>>
>> Do recent kernels actually support ustar for initramfs? I thought it only
>> supported newc? My 4.9 kernel certainly still only mentions newc...
>
> Also note that the sizes being referred to are actually the "file size
> limits for individual files" not the total cpio archive size.
>
>   https://www.gnu.org/software/cpio/manual/cpio.html
>
> What's the case where > 4GB files are needed in an initramfs?
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list