On Sun, Feb 28, 2021 at 11:43:28PM +0800, Jinyan wrote:
I tried to boot fedora in qemu according to the steps given in [1].
During this process, I used the disk image named `Fedora-Developer-
Rawhide-*.raw.xz`.
They are built by Koji, and TBH I'm not precisely sure how. I think
Koji has a way to compose disk images. CC-ing David Abdurachmanov who
runs the Koji RISC-V instance.
I am curious about what is inside and how to
compile and generate it. Where can I get the steps to generate it ?
If you mean how are the component RPMs built, then it's using the Koji
instance here:
http://fedora.riscv.rocks/koji/
and they are built in exactly the same way as any other Fedora
architecture, except we have our own Koji instance and RISC-V
hardware. The sources are the regular Fedora dist-git.
You can use virt-install + anaconda to build your own disk image, and
that should work exactly the same as for any other architecture
(except for adjusting paths to point to the RISC-V repos rather than
the normal Fedora ones). In fact there are instructions on the page
linked above for using virt-install.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org