On 02/22/2012 02:35 AM, Lv Terry-R65388 wrote:
> Hi,
>
>       Currently, our ltib will generate rootfs.ext2.gz, but customer asked if 
> we can provide rootfs.tar.bz2.
>
>       Is there any config in ltib that can do this?

The short answer is no, but it is trivial to create rootfs.tar.gz from
the results of a LTIB build.

Run "./ltib -c", then under "Target Image Generation" enable "Keep
temporary staging directory", save/exit to have LTIB populate
rootfs.tmp/ from rootfs/, where rootfs.tmp/ is a cleaned up version of
rootfs (and is used to create rootfs.ext2.gz).

Then simply:

sudo tar -C rootfs.tmp -zcf /tmp/rootfs.tar.gz .

-- 
Peter Barada
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to