From 354c39b72fee18487c99914fc6e9e200127bc7e1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 26 Apr 2024 17:25:35 +0300 Subject: [PATCH] Remove Rawhide repo & no mock group This is branched Fedora version thus Rawhide repo is no longer available, and DNF simply quits if it cannot find listed repo. Mock is not installed in Minimal disk image thus mock user group is not available too. Signed-off-by: David Abdurachmanov --- fedora-riscv64-minimal-f40.ks | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fedora-riscv64-minimal-f40.ks b/fedora-riscv64-minimal-f40.ks index dcac10d..3713e22 100644 --- a/fedora-riscv64-minimal-f40.ks +++ b/fedora-riscv64-minimal-f40.ks @@ -78,7 +78,7 @@ cloud-utils-growpart %post # Disable default repositories (not riscv64 in upstream) -dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-cisco-openh264 +dnf config-manager --set-disabled updates updates-testing fedora fedora-cisco-openh264 dnf -y remove dracut-config-generic @@ -96,7 +96,8 @@ sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout= /usr/sbin/useradd -c "Fedora RISCV User" riscv echo fedora_rocks! | passwd --stdin riscv /usr/sbin/usermod -aG wheel riscv -/usr/sbin/usermod -aG mock riscv +# Mock is not installed by default in Minimal disk image +#/usr/sbin/usermod -aG mock riscv # Create Fedora RISC-V repo cat << EOF > /etc/yum.repos.d/fedora-riscv.repo