Red Hat Bugzilla – Bug 1276987
missing snippets/packagekit-cached-metadata.ks file
Last modified: 2015-11-15 19:22:38 EST
Description of problem:
I think spin-kickstarts's subpackage fedora-kickstarts is missing file to be packaged snippets/packagekit-cached-metadata.ks
I am getting error for missing this file when I attempt to build livecd using fedora-live-workstations.ks
Version-Release number of selected component (if applicable):
Steps to Reproduce:
It looks like snippets wasn't originally for stuff that was to be included so we didn't miss not including them. templates and tools should get put into a subpackage as well for completeness. If snippets are to be includable, they'll need to be required. I'll take a look at this and see what makes sense.
In this specific case I am note sure we should be using snippets/packagekit-cached-metadata.ks. Thus seems like a hack and it isn't obvious to me if that data is easily rebuildable later. (For possible GPL need.)
Probably the best short term fix is to move the include file out of snippets into the main level.
We probably want a misc sub package that has the tools and snippets folders. The templates folder stuff should probably be moved to snippets.
In the longer run the packagekit-cached-metadata.ks feature should probably be dropped. KDE dropped it because it will be out of date by release. Live images probably aren't going to make much use of it. It makes the images bigger. (Though for now it's just workstation.)
I notice that workstation's post does another bad thing, by removing install files rather than not having them installed.
We need this on Workstation to make initial gnome-software startup quick. See https://blogs.gnome.org/hughsie/2014/08/29/putting-packagekit-metadata-on-the-fedora-livecd/ for details.
As for moving it out of snippets/ -- sure, fine with me. Although I wonder if we should instead clean up the unused include files in there, looks like a whole lot of unneeded stuff, and then ship the whole directory.
> I notice that workstation's post does another bad thing, by removing install files rather than not having them installed.
I don't understand, can you elaborate what you mean?
I pushed a few fixes to try to get things working again. Bruno, do the changes look good to you?
For F23, I pushed a fix to spin-kickstarts packaging to install the missing file, so that we can keep the changes minimal there and also so that we could keep using the GA tarball:
For master, I went with a bit more invasive changes that require a respin of the tarball:
spin-kickstarts-0.23.6-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-a558c54a4c
spin-kickstarts-0.23.6-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update spin-kickstarts'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-a558c54a4c
spin-kickstarts-0.23.6-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.