Contents

Creating a Test Day Live Image

The following steps outline how to create a Fedora live image based on current Rawhide packages for use during Test Days.

This guide is intended mainly for Fedora QA teamOrdinary users who want to participate on a test day don't have to follow this guide, the pre-built images will be published and available for them to download on a Test Day pages.

Install required packages:

yum install livecd-tools git

Download the kickstart script used by Fedora 28 by using the F-28 git branch:
<pre<noinclude></noinclude>>git clone 'git://git.fedorahosted.org/spin-kickstarts.git' -b f28</pre<noinclude></noinclude>>
or if you have done it in the past, just update it:
<pre<noinclude></noinclude>>cd spin-kickstarts; git checkout f28; git pull; cd ..</pre<noinclude></noinclude>>

(of course replace spin-kickstarts/custom/qa-test-day.ks with my-test-day.ks if you have created your custom kickstart file)

Different architectureYou can use setarch command to create a x86 Live CD/DVD on a x86_64 system. Example: setarch i686 livecd-creator <...>. (Or you can hardcode the architecture inside the kickstart by replacing $basearch variable.)

Solving problems

Anaconda dependencies broken

Sometimes the image can't be built because of broken package dependencies. You may solve the problem by removing anaconda package. Anaconda requires a lot of dependencies and it may very often be the culprit. To remove anaconda you just put -anaconda line in the %packages section.

SELinux complaints

For building Test Days LiveCD you must have SELinux installed and enabled. Ideally it should be in the enforcing mode and everything should run fine. In case you have problems with that, you may switch the mode temporarily into permissive mode with this command run as root:

setenforce 0

If that doesn't help, you may also modify your my-test-day.ks kickstart file and after %include line add a directive

selinux --permissive

(Note: Due to RHBZ #547152 you may also need to add /usr/sbin/lokkit inside %packages.)