Bug 1965115

Summary: livecd-creator fails with: Kickstart "must have at least one repository" error
Product: [Fedora] Fedora EPEL Reporter: Scott Dowdle <dowdle>
Component: livecd-toolsAssignee: Neal Gompa <ngompa13>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel8CC: adam.stokes, bcl, bruno, dhuff, katzj, metherid, ngompa13, svein.olav.bjerkeset, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-23 19:04:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott Dowdle 2021-05-26 21:27:19 UTC
Description of problem: livecd-creator won't build and gives error about needing to add repositores.  kickstart gets overwritten and becomes a 0 byte file.


Version-Release number of selected component (if applicable): 28.0-2
 

How reproducible:
Trying to run livecd-creator with the following command line:
livecd-creator --cache=/root/livecd-creator/package-cache -c ml-a8-xfce.ks -f ML-A8-XFCE-0526

Steps to Reproduce:
1. Run the above command and it complains that I need some repositories defined and it overwrites the .ks file which becomes 0 bytes
2. All of my files I'm using to try and build with can be found here:
http://img.cs.montana.edu/linux/montanalinux/config/a8/
3. I use an include for the list of repositories and an include for the package list.  That has worked for me in the past.
4. Removing the %include statements and inserting the contents of my included files into the kickstart... and then running the livecd-creator command line... it still complains that the repos aren't defined and the kickstart gets overwritten and becomes 0 bytes.

Actual results:
Build process does not start with error about repositories need to be defined

Expected results:
Build media

Additional info:
If you have any follow-up questions, just let me know.

Comment 1 Svein Olav Bjerkeset 2021-05-27 12:55:44 UTC
See https://github.com/livecd-tools/livecd-tools/issues/155 (fixed in git)

Comment 2 Scott Dowdle 2021-09-23 19:04:17 UTC
This has been fixed.