← Back to team overview

torios-dev team mailing list archive

ISOmaker etc...

 

Hi all,
I have had to rapidly rebuild things multiple times recently trying to fix some minor issues to test this out.

I have come up with a way (I think.. we shall see) to do this very simply.

The issue for me is running a VM, updating the system, and then cleaning up and recompressing it.

So this requires a separate VM disk for holding the tarball, one for my base OS, and then my testbed
I have to boot into the baseOS, then update.
Then boot into live and then compress.
Then I rebuild the entire ISO.

So, I am currently testing a few scripts
*updateTarball*
I decompress the tarball, then I update the system in a chroot.
then I recompress it again.

*mkISO*
This simply rebuilds the already existing chroot into a squashfs and will update the system, and include the current tarball

So far I have tested mkISO and it produces a bootable ISO, as it should.
This will allow me to tweak files individually until I get things correct.
I will only have to wait a for the time it takes to make the squashfs.

So far this has sped up the process considerably. I am testing the tarball update script, and will have my results soon.

I will be pushing these changes to github when It is appropriate.

I am also tweaking the old OSmaker script in hopes that someone could make a working tarball from a chroot. I have learned a lot about chroot and the OBI since I originally tried this, so I may be able to adequately do this.

--
Regards