Minor adjustments

This commit is contained in:
Louis Abel 2024-04-13 23:55:05 -07:00
parent f4ed5d5b0a
commit e2f1bfdd87
Signed by untrusted user: label
GPG Key ID: 2A6975660E424560
2 changed files with 4 additions and 4 deletions

View File

@ -30,9 +30,9 @@ haven't tried it yet. Theory says it should work.
Note that selinux must be set to permissive.
#### Live Image Example
#### Live Image Example (EPEL)
The below makes an XFCE live image.
The below makes an XFCE live image using EPEL packages.
```
% mock -r rocky+epel-9-x86_64 --init

View File

@ -75,7 +75,7 @@ function switch_repo_to_peridot() {
sed -i "s;ZZ_INTERNAL_CRB_REPO_URL_ZZ;https://yumrepofs.build.resf.org/v1/projects/${ID}/repo/CRB/\$basearch;g" core-peridot.xml
sed -i "s;ZZ_INTERNAL_extras_REPO_URL_ZZ;https://yumrepofs.build.resf.org/v1/projects/${ID}/repo/extras/\$basearch;g" core-peridot.xml
rm core.xml
ln -s core-peridot.xml core.xml
ln -sf core-peridot.xml core.xml
popd
}
@ -85,7 +85,7 @@ function main() {
echo "${LIVE} was not found. Is it supported?"
exit 42
fi
ln -s "configs/rocky-live-${LIVE,,}.xml" config.xml
ln -sf "configs/rocky-live-${LIVE,,}.xml" config.xml
if [ -n "$PERIDOTID" ]; then
switch_repo_to_peridot "${PERIDOTID}"