[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Can ltib generate rootfs as rootfs.tar.bz2
From: |
Peter Barada |
Subject: |
Re: [Ltib] Can ltib generate rootfs as rootfs.tar.bz2 |
Date: |
Wed, 22 Feb 2012 11:24:15 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19 |
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
address@hidden