Currently we have install_factory_toolkit.run and that contains factory.par. Also a factory-mini.par in test images.
However, Python can find dependent packages from zip files (without having that extracted to some where) - this is how our PAR was done.
This results an interesting question - do we really need factory.par inside installer?
If we can deprecate the makeself and replace with a python file and change format to zip, maybe we can make factory.par = install.run so we won't have to worry about repacking. Just one single PAR.
factory.par gooftool # run as gooftool
factory.par install # run the toolkit installer and unzip to somewhere
One thing to address is that Python does not support symlink when loading python modules files in ZIP file. But I think there are ways to solve, for example to de-reference when packing.
Comment 1 by hungte@chromium.org
, Apr 21 2017