Hi Roman, I _believe_ that such squashfs image is generated when you choose the livecd or liveusb image format. I can see three potential options based on my limited understanding of how mic works: - Extract the squashfs from the liveusb/livecd image created - Use the 'fs image' option and then manually run mksquashfs on it - Cook up your own 'squashfs' subcommand to be passed to 'mic create', you should be able to draw inspiration from the existing ones (in /usr/lib/python2.7/site-packages/mic/imager/)
HTH, Geoffroy -----Original Message----- From: General [mailto:[email protected]] On Behalf Of Roman Peniaev Sent: Friday, May 02, 2014 6:29 AM To: [email protected] Subject: [Tizen General] mic: how to execute specific tool in %post --nochroot section? Hello. I have to make squashfs image from install_root folder. The first idea was to modify mic/imager/fs.py and to add some param for that, but then I decided just to add some specific %post --nochroot section to .ks. But according to my understanding %post --nochroot script executes inside bootstrap sandbox, thus any of the specific tool is not being seen. So, the question is: what is the good way to execute tool which does not exist in bootstrap, but exists on the host? I even can't follow my first plan: add specific param to fs.py, because the whole mic is chrooted to bootstrap folder, so again mksquashfs tool will be invisible. Please, advise some proper way. -- Roman _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general Intel Corporation NV/SA Kings Square, Veldkant 31 2550 Kontich RPM (Bruxelles) 0415.497.718. Citibank, Brussels, account 570/1031255/09 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
