fossable / goldboot

Immutable infrastructure for the desktop!

Home Page:https://goldboot.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export to ISO9660

cilki opened this issue · comments

Because of how widespread the ISO9660 format is, it may be worthwhile to optionally allow exporting a bootable .iso instead of a regular .gb image. The main obstacle is goldboot works below the filesystem level, so copying the files manually would be really difficult (especially universally).

One alternative may be to utilize goldboot-linux virtually along with xorriso after the provisioning step. This is similar to how merging multiboot images is envisioned to work, so the necessary machinery may already be in place by the time I get to this issue. That would reduce the effort needed to just what's required to figure out the arcane xorriso arguments.

Well thank you. I was not anticipating such a rapid response.
Yes, if you can see a way to export customised .iso files, that would be an enhancement from our point of view. Everyone knows how to handle a .iso file. Using your .gb image files would be an education issue for average users.
I agree xorriso arguments are obscure. There is an option to use it in mkisofs mode where it just emulates mkisofs with the same arguments as mkisofs. That works, I used it. And, the mkisofs emulation provided by xorriso is different from and better than the version provided by genisoimage or the original mkisofs.
Regards
Neville

There is an example that may help with xorriso here
https://github.com/void-linux/void-mklive/
look at mklive.sh.in
That is the tool used by Void to make their distribution iso's
You dont need the whole script, just have a look at how they use xorriso
It is a bit easier to read if you fork the repository and do a build to get mklive.sh

Regards
Neville