On Mon, Sep 24, 2012 at 1:59 PM, Frederick Grose <fgrose(a)gmail.com> wrote:
On Sun, Sep 23, 2012 at 2:39 PM, Marcelo Guazzardo
<mguazzardo76(a)gmail.com
> wrote:
> Fred:
>
> Thank you for you reply. I was playing with editliveos, and I created my
> own spin, using the chroot shell. But... I would like ask you if I took a
> tar.gz from my current install and uncompress it, in the chroot shell for
> editliveos, should it work?. I tried it, but I received a locale error, and
> then, the python scripts failed, and delete the squashfs.
>
editliveos.py is designed to work with LiveOS structured images (see
https://fedoraproject.org/wiki/LiveOS_image) in a Live CD .iso file,
mounted Live CD or Live USB/SD, or a directory containing the LiveOS
components. One option is an uncompressed 'ext3fs.img' (as might exist
when the disk was loaded with the --skipcompress option).
So if your customized image were copied into an uncompressed ext3fs.img
file, and placed in a /LiveOS folder under a directory (along with the
necessary SYSLINUX boot components), such as,
/directory
/LiveOS
|- ext3fs.img
/syslinux (or isolinux folder with boot files,
initrd0, vmlinuz, etc.)
You could call editliveos.py with /directory as the LiveOS_source
argument, such as,
./editliveos.py [other options] /directory
I'm sorry for not testing exactly what I suggested!
The image without an overlay outside of an .iso file causes some errors on
attempted overlay handling.
I've patched the files to fix those errors.
You probably also want to use the --compress --compress-type xz options to
generate a squashfs.img.
./editliveos.py [other options] --compress --compress-type xz /directory
--Fred