On 26.9.2018 02:41, Adam Williamson wrote:
Hi Adam. CCing Python Devel, so others can hop in the discussion.
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:
but it also includes fedora-live-workstation.ks, which includes fedora-
workstation-common.ks, which does this:
...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?
The idea behind this was:
Python Classroom (GNOME) is used for (usually one-time of)
installations/live on classroom computers for a workshop at a conference
or an actual course at school or university, or similar. Most of
classrooms I've seen do not have printers and scanners attached to the
computers. Hence I decided to save space while removing this. If anybody
want's to use the Classroom Lab in an environment other than a classroom
(such as a Python developer who finds it a good balance of default
packages) or a printer + scanner is connected to a classroom computer,
they can install the packages.
However I didn't examine how much space this actually saves and if it's
not a significant amount, we can simply go with 1.
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.
Having scanning and not having printing seems a bit weird. But again, if
printing is huge and scanning is not, we can use 2.
3. Keep fedora-live-minimization.ks and add excludes for
drivers-scanners and libsane-hpaio to fedora-live-python-classroom.ks .
This would lose scanning support, and save a bit of space.
I'd use this if we realize the space savings to be distinguishable.
What would you like to do? Thanks!
Before I build 3 images and compare their sizes, do you have any idea
about a better way to find this out?