From e2f1bfdd870b2d8e92fe923d805036c5821e7941 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 13 Apr 2024 23:55:05 -0700 Subject: [PATCH] Minor adjustments --- README.md | 4 ++-- live-build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4a74b89..003fec5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/live-build.sh b/live-build.sh index 16b7082..352c872 100755 --- a/live-build.sh +++ b/live-build.sh @@ -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}"