On Thu, 2009-01-29 at 04:50 -0700, Daniel Baeyens wrote:
> Hi all,
> 
> I've tested mic2 and it created successfully a liveusb image...
> 
> My problem is that now I would like to modify it's contents. With mic1
> is easy to do (getting a console and rebuilding the image), but is it
> possible with mic2? Do we have to wait for some features added (like
> chroot-ing an existing image)?
> 
> Is it possible to do something with mic1 and the mic2 image? I would
> like something easier than extracting the squashfs.img file and
> rebuild it after the changes...
> 
> Any idea? Or is it better to still continue with mic1?

I've expressed the same desire to Anas, but I don't think he ever had a
chance to implement it (and i know i never gave it a try.)  Anas... i
didn't see any new command line options.  Did i miss something?

BTW, you can create a 'loop' device which is a filesystem on on a file,
so you can: 

# sudo moblin-image-creator -c some.ks -f loop -k /var/tmp/my-cache
# sudo mount -o loop some-TIMESTAMP.img /some/mount/point
# sudo mount --bind /proc /some/mount/point # so you can use yum
# sudo cp /etc/hosts /some/mount/point/ect/ # so you can use yum
# sudo chroot /some/mount/point

Anas, seems all we really need is a way to say:
'take this loop file and transform it into <pick an image type>'

Or maybe something more generic to allow transforming between any format
type (like take a vmware disk and transform it into a usbkey)

    --rusty

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to