[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] build atomic workstation live usb (iso)




On Wed, May 16, 2018, at 12:38 AM, Damian Ivanov wrote:
> Hello,
> 
> I would like to test Fedora Atomic Workstation and make custom images
> of it (like I used to with livecd-tools). There are guides for
> building VM images, what would be needed to convert them into *iso
> images that can be written to USB?

I think the first thing you want is to use `rpm-ostree compose tree`
to build a custom host image/tree - you can then rebase an existing
install to it.

To make an ISO, it's https://pagure.io/fedora-lorax-templates/tree/master
which are used as inputs to lorax to generate a "traditional" ISO,
the same method is used for FAH and FAW/Silverblue.
Notably currently FAW/Silverblue is not a "live" installer which
is probably more what you're thinking.  (It'd make sense to switch
Silverblue to live, but would require some work in Anaconda)

As for how it's used, the "pungi" tool in Fedora is what knows
how to pass the templates to lorax.  You can get a sense of things work by
looking at logs:

https://kojipkgs.fedoraproject.org/compose//branched/Fedora-28-20180427.n.0/logs/x86_64/AtomicWorkstation/ostree_installer-4/runroot.log

Sometimes to reproduce things locally I've just copy/pasted
a command like that from logs, massaged it to use local data, etc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]