[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "newc additions on runtime" feature?
From: |
Andrei Borzenkov |
Subject: |
Re: "newc additions on runtime" feature? |
Date: |
Fri, 29 Jan 2016 20:38:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
29.01.2016 18:18, Shea Levy пишет:
> Hi all,
>
> Commit 92750e4c ("Add ability to generate newc additions on runtime.")
> introduced special handling of initrd names starting with "newc:". I
> can't find any documentation for this feature nor any example of it
> actually in use; what are its semantics? Is there any chance this
> functionality can be removed?
>
> I ask because I am writing a new loader for android bootimgs and have to
> bypass the normal 'initrd' command.
>
Just ignore it. It is used to build cpio archive from directory on the
fly, but you have single initrd with known size. Just allocate and
initialize initrd_ctx directly and pass it to common code.