config adjustments

* make sure config.xml is a symlink
* make sure repositories have assigned priorities

Signed-off-by: Louis Abel <label@rockylinux.org>
This commit is contained in:
Louis Abel 2024-03-28 23:38:44 -07:00
parent e2942d1e4b
commit a00a5aad18
Signed by: label
GPG Key ID: 2A6975660E424560
6 changed files with 14 additions and 38 deletions

View File

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="7.4" name="Rocky">
<description type="system">
<author>Release Engineering (SIG/Core)</author>
<contact>releng@rockylinux.org</contact>
<specification>Rocky Linux</specification>
</description>
<preferences>
<version>9</version>
<packagemanager>dnf</packagemanager>
<locale>en_US</locale>
<keytable>us</keytable>
<timezone>UTC</timezone>
<release-version>9</release-version>
</preferences>
<include from="this://./repositories/core.xml"/>
<include from="this://./repositories/epel.xml"/>
<include from="this://./repositories/oracle.xml"/>
<include from="this://./components/boot.xml"/>
<include from="this://./components/users.xml"/>
<include from="this://./components/live/common.xml"/>
<include from="this://./components/live/xfce.xml"/>
<include from="this://./cloud/cloud.xml"/>
<include from="this://./container/container.xml"/>
<include from="this://./live/xfce.xml"/>
<packages type="bootstrap">
<package name="basesystem"/>
<package name="filesystem"/>
</packages>
</image>

1
config.xml Symbolic link
View File

@ -0,0 +1 @@
configs/rocky.xml

View File

@ -15,13 +15,19 @@
<release-version>9</release-version>
</preferences>
<include from="this://./repositories/core.xml"/>
<!-- research if these should be on for everything in general
would leaving these on affect what's pulled? original kickstarts used
would stick with our repos until the OCP images.
<include from="this://./repositories/epel.xml"/>
<include from="this://./repositories/oracle.xml"/>
<include from="this://./repositories/sig-cloud-common.xml"/>
-->
<include from="this://./components/boot.xml"/>
<include from="this://./components/users.xml"/>
<include from="this://./components/live/common.xml"/>
<include from="this://./components/live/xfce.xml"/>
<include from="this://./cloud/cloud.xml"/>
<include from="this://./container/container.xml"/>
<include from="this://./live/xfce.xml"/>
<packages type="bootstrap">
<package name="basesystem"/>

View File

@ -1,20 +1,20 @@
<image>
<repository type="rpm-md" alias="baseos">
<repository type="rpm-md" alias="baseos" priority="1">
<source path="https://download.rockylinux.org/stg/rocky/$releasever/BaseOS/$basearch/os">
<signing key="file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-$releasever"/>
</source>
</repository>
<repository type="rpm-md" alias="appstream">
<repository type="rpm-md" alias="appstream" priority="1">
<source path="https://download.rockylinux.org/stg/rocky/$releasever/AppStream/$basearch/os">
<signing key="file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-$releasever"/>
</source>
</repository>
<repository type="rpm-md" alias="crb">
<repository type="rpm-md" alias="crb" priority="1">
<source path="https://download.rockylinux.org/stg/rocky/$releasever/CRB/$basearch/os">
<signing key="file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-$releasever"/>
</source>
</repository>
<repository type="rpm-md" alias="crb">
<repository type="rpm-md" alias="extras" priority="1">
<source path="https://download.rockylinux.org/stg/rocky/$releasever/extras/$basearch/os">
<signing key="file:///usr/share/distribution-gpg-keys/rocky/RPM-GPG-KEY-Rocky-$releasever"/>
</source>

View File

@ -1,5 +1,5 @@
<image>
<repository type="rpm-md" alias="epel">
<repository type="rpm-md" alias="epel" priority="2">
<source path="https://dl.fedoraproject.org/pub/epel/$releasever/Everything/x86_64/">
<signing key="file:///usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-$releasever"/>
</source>

View File

@ -1,6 +1,6 @@
<!-- There isn't a way to exclude packages from a certain repo -->
<image>
<repository type="rpm-md" alias="oraclelinux-addons">
<repository type="rpm-md" alias="oraclelinux-addons" priority="50">
<source path="http://yum.oracle.com/repo/OracleLinux/OL$releasever/addons/$basearch/"/>
</repository>
</image>

View File

@ -1,6 +1,6 @@
<!-- There isn't a way to exclude packages from a certain repo -->
<image>
<repository type="rpm-md" alias="sig-cloud-common">
<repository type="rpm-md" alias="sig-cloud-common" priority="5">
<source path="http://dl.rockylinux.org/stg/sig/$releasever/cloud/$basearch/cloud-common"/>
</repository>
</image>