Help adding epel repo to kickstart

Issues related to applications and software problems and general support
Post Reply
spk037
Posts: 1
Joined: 2017/05/25 16:16:28

Help adding epel repo to kickstart

Post by spk037 » 2021/04/06 16:55:12

Hello All,

I would like to add epel repo to my centos 8 dvd kickstart in order to install kde.

I installed the base system, then changed keepcache, installed epel-release, downloaded all the desired kde packages, then created an EPEL dir alongside the existing Appstream and base dirs at the root of my working dir. I downloaded epel's repodata dir from the web and placed it in EPEL along with the kde rpms i placed in the EPEL Packages dir.
EPEL
-repodata
-Packages

In my kickstart file I added the repo , like so,
# Create additional repo during installation
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
repo --name="EPEL" --baseurl=file:///run/install/repo/EPEL

Along with the kde files I added chromium files to the EPEL repo.
%packages
@^graphical-server-environment
@debugging
@file-server
@mail-server
@network-file-system-client
@network-server
@performance
@remote-desktop-clients
@remote-system-management
@smb-server
@system-tools
@legacy-x
@kde-desktop-environment
chromium

However when I attempt to install from the dvd , It give me the errors
missing packages: chromium
missing groups or modules: @kde-desktop-environment

I can see the package and group in my EPEL/repodata comps.xml file

I attempted to run createrepo kickstart_dvd/isolinux/EPEL/Packages/ , then copy the resultant repodata dir to
kickstart_dvd/isolinux/EPEL, but that didnt seem to help.

Can anyone point out what im missing so anaconda can see my epel packages at install time ?

Thanks,
Steve

Post Reply