File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,21 @@ EOF
124
124
fi
125
125
126
126
if [ " ${ARCH} " == " aarch64" ] && [ ${BUNDLE_TYPE} != " okd" ]; then
127
- # Install qemu-user-static-x86 package from fedora koji to run x86 image on M1
127
+ # Install qemu-user-static-x86 package from fedora-updates repo to run x86 image on M1
128
128
# Not supported by RHEL https://access.redhat.com/solutions/5654221 and not included
129
129
# in any subscription repo.
130
- ${SSH} core@${VM_IP} -- " sudo rpm-ostree install https://kojipkgs.fedoraproject.org//packages/qemu/8.2.6/3.fc40/aarch64/qemu-user-static-x86-8.2.6-3.fc40.aarch64.rpm"
130
+ cat > /tmp/fedora-updates.repo << 'EOF '
131
+ [fedora-updates]
132
+ name=Fedora 41 - $basearch - Updates
133
+ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=$basearch
134
+ enabled=1
135
+ type=rpm
136
+ repo_gpgcheck=0
137
+ gpgcheck=0
138
+ EOF
139
+ ${SCP} /tmp/fedora-updates.repo core@${VM_IP} :/tmp
140
+ ${SSH} core@${VM_IP} -- " sudo mv /tmp/fedora-updates.repo /etc/yum.repos.d"
141
+ ${SSH} core@${VM_IP} -- " sudo rpm-ostree install qemu-user-static-x86"
131
142
fi
132
143
133
144
cleanup_vm_image ${VM_NAME} ${VM_IP}
You can’t perform that action at this time.
0 commit comments