diff --git a/scripts/makeupdates b/scripts/makeupdates index 0f9439115d..44e7076c43 100755 --- a/scripts/makeupdates +++ b/scripts/makeupdates @@ -36,6 +36,16 @@ def addRpms(updates, add_rpms): def createUpdatesImage(cwd, updates): os.chdir(updates) + # FIXME: hotfix for issue with missing file - remove when new Wayland native + # Anaconda is on Fedora Rawhide + if not os.path.exists("usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/spokes/askvnc.py"): + try: + os.makedirs("usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/spokes") + except FileExistsError: + pass + with open("usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/spokes/askvnc.py", "w") as f: + f.close() + os.system("find . | cpio -c -o | gzip -9cv > %s/updates.img" % (cwd,)) sys.stdout.write("updates.img ready\n") diff --git a/test/vm.install b/test/vm.install index 136c722a14..a78db0c7ad 100755 --- a/test/vm.install +++ b/test/vm.install @@ -41,6 +41,13 @@ def vm_install(image, verbose, quick): # Make sure builder can build packages if required, /var/tmp/build needs to be owned by builder machine.execute("su builder -c 'mkdir -p /var/tmp/build/SRPMS'") + # FIXME: remove when Anaconda migrated to Wayland native is present in Fedora Rawhide + machine.execute( + "dnf download --destdir /var/tmp/build/ systemd-devel python3-pam mesa-dri-drivers openssl llvm-libs", + stdout=sys.stdout, + timeout=300 + ) + # Pull cockpit dependencies from the image default compose # unless we are testing a PR on cockpit-project/cockpit, then pull it from the PR COPR repo packages_to_download = missing_packages