GSoC 2012: On-Demand Fedora Build Service: Update #4
In my last update, I reported that I had the basic code to create a boot.iso including extra packages specified by the NVR or Koji build IDs.
Couple of days back, I added the support for creating a DVD iso (using ‘pungi’). Basically the code requires a pungi.conf file to be specified. For example, here is a sample pungi.conf:
#Specify a working directory
# specify packages via NVR
# specify packages via Build IDs (separated by a semicolon)
If you are familiar with pungi, you will notice the resemblance of the configuration options with the pungi command line options. The code basically reads this configuration file and fires pungi appropriately.
As you can see, the last two options allow you to specify more recent builds of packages (via NVR and Build IDs) which are not yet available in any of the release repositories and include them instead of the less recent ones. Since pungi requires a kickstart file to be specified, I update the kickstart file by adding the side repository URL to the list of repositories specified (script here at ). (I have hit a problem with this step: https://www.redhat.com/archives/kickstart-list/2012-May/msg00002.html)
The updated code is now in the git repository  and a sample command line to build a DVD iso would be:
python imagebuild.py -t dvd -a i686 (after you have created the appropriate pungi.conf file). You can also use the
run_imagebuild shell script for the same.
I am beginning to think of modifying the earlier boot.iso code to read in a configuration file instead of command line arguments, like I have done for the DVD iso. This is keeping in mind the fact this code will really be the backend of the web-based build service. Hence, .conf files created at the web based frontend and sent to this image builder code would be a good way to go about it, me thinks. No? We will see.
Next up will be support for creating Live media.