Skip to content

Commit

Permalink
Merge pull request #5051 from M4rtinK/master-webui_fix_live_image_bui…
Browse files Browse the repository at this point in the history
…lding_docs

Improve image building docs
  • Loading branch information
M4rtinK committed Aug 17, 2023
2 parents 0fe2d16 + 6f0198e commit c95142f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,30 @@ There are two options to develop and test changes which are not yet released.

To find out more information about quick way to propagate your changes into the existing installation ISO image see `this blogpost <https://rhinstaller.wordpress.com/2019/10/11/anaconda-debugging-and-testing-part-1/>`_.

Another way is to build the boot.iso directly (takes more time but it's easier to do).
Building installation images
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Another way is to build the boot.iso or Live image directly (takes more time but it's easier to do).

Build Anaconda RPM files with our container::
**First build Anaconda RPM files with our container**::

make -f ./Makefile.am container-rpms-scratch

Then build ISO from these RPMs by this call (beware because of loop device mounting it needs root priviledges)::
Then build an image containing those RPMs.

**NOTE: Do not run this in the Anaconda toolbox - it will not work due to the need for root privileges.**

To build a regular boot.iso from these RPMs use (loop device mounting requires root privileges)::

sudo make -f ./Makefile.am anaconda-iso-creator-build # to build the container if it doesn't exists already
sudo make -f ./Makefile.am container-iso-build

or for Web UI image run::
To build a Web UI boot.iso run::

sudo make -f ./Makefile.am anaconda-iso-creator-build # to build the container if it doesn't exists already
sudo make -f ./Makefile.am container-webui-iso-build

or for Web UI in Live media run::
To build a Web UI in Live image run::

sudo make -f ./Makefile.am anaconda-live-iso-creator-build # to build the container if it doesn't exists already
sudo make -f ./Makefile.am container-live-iso-build
Expand Down

0 comments on commit c95142f

Please sign in to comment.