From 7045d9187860166990c301261bb8ab1d68f964fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 31 Oct 2018 07:17:06 +0100 Subject: [PATCH] Stop using fedora-live-minimization from Python Classroom From Adam Williamson: The Python Classroom spin images no longer build in recent Rawhide, because of a dnf behaviour change that exposes dependency issues as failures rather than hiding them by silently excluding packages. (This change will likely get into F29 soon too). The issue is this. fedora-live-python-classroom.ks includes fedora-live-minimization.ks , which does this: -sane-backends but it also includes fedora-live-workstation.ks, which includes fedora- workstation-common.ks, which does this: @gnome-desktop ...and @gnome-desktop includes sane-backends-drivers-scanners and libsane-hpaio, which both require sane-backends. Until recently dnf was simply silently excluding sane-backends-drivers- scanners and libsane-hpaio from the image, to 'resolve' this. Now it fails on the problem, and we get to make a choice. You basically have three options: 1. Just drop fedora-live-minimization.ks from fedora-live-python- classroom.ks . It's pretty old and random at this point. It's basically trying to drop printing and scanning stuff to save a bit of space. Do you actually want printing and scanning not to work on your image? 2. Keep fedora-live-minimization.ks but explicitly add back `sane- backends` to %packages in fedora-live-python-classroom.ks . This would override the exclusion and fix the dep issue, and include the scanning bits in the image. 3. Keep fedora-live-minimization.ks and add excludes for sane-backends- drivers-scanners and libsane-hpaio to fedora-live-python-classroom.ks . This would lose scanning support, and save a bit of space. I went with option 1. --- fedora-live-python-classroom.ks | 1 - 1 file changed, 1 deletion(-) diff --git a/fedora-live-python-classroom.ks b/fedora-live-python-classroom.ks index 2f59b01..d2bf73f 100644 --- a/fedora-live-python-classroom.ks +++ b/fedora-live-python-classroom.ks @@ -5,5 +5,4 @@ # The Workstion based Python Classroom Lab %include fedora-live-workstation.ks -%include fedora-live-minimization.ks %include fedora-python-classroom-gnome-common.ks