add --no-best to dnf install in the early phases
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 24 Jan 2025 13:05:51 +0000 (14:05 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 24 Jan 2025 13:05:51 +0000 (14:05 +0100)
lbuild-initvm.sh

index cdb4473..a5b69ac 100755 (executable)
@@ -251,7 +251,7 @@ function fedora_download() {
     # So ideally if we want to be able to build f12 images from f18 we need an rpm that has
     # this patch undone, like we have in place on our f14 boxes (our f14 boxes need a f18-like rpm)
 
-    DNF="dnf --installroot=$INSTALL_ROOT --nogpgcheck -y --releasever=${fedora_release}"
+    DNF="dnf --installroot=$INSTALL_ROOT --no-best --nogpgcheck -y --releasever=${fedora_release}"
     echo "$DNF install $FEDORA_PREINSTALLED"
     $DNF install $FEDORA_PREINSTALLED || { echo "Failed to download rootfs, aborting." ; return 1; }