We have a blocker bug for KDE https://bugzilla.redhat.com/show_bug.cgi?id=1436873 the crux of which is that we need different behavior on the live from the installed environment.
Rex and I both have the vague memory that stuff done outside of /home/liveuser gets copied to the actual install. But, I see that in the fedora-workstation.ks, all sorts of stuff is being messed with in /usr. How does this actually work? Can we have in the kickstart %post:
dnf -C remove plasma-pk-updates
and have that still end up on the final system?
On Fri, Jun 30, 2017 at 2:57 AM, Matthew Miller mattdm@fedoraproject.org wrote:
We have a blocker bug for KDE https://bugzilla.redhat.com/show_bug.cgi?id=1436873 the crux of which is that we need different behavior on the live from the installed environment.
Rex and I both have the vague memory that stuff done outside of /home/liveuser gets copied to the actual install. But, I see that in the fedora-workstation.ks, all sorts of stuff is being messed with in /usr. How does this actually work? Can we have in the kickstart %post:
dnf -C remove plasma-pk-updates
Yes, you can have that (see the removal of dracut-config-generic
and have that still end up on the final system?
No, because the install is basically a dd of the partitions, but if it's mandatory in fedora-comps in theory dnf should install it on the first update
On Fri, Jun 30, 2017 at 01:14:36PM +0100, Peter Robinson wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1436873 dnf -C remove plasma-pk-updates
Yes, you can have that (see the removal of dracut-config-generic
and have that still end up on the final system?
No, because the install is basically a dd of the partitions, but if it's mandatory in fedora-comps in theory dnf should install it on the first update
Ah -- unfortunately, that won't work here, because the thing we want different is _the thing that tells you to apply updates_.
But fedora-live-workstation.ks¹ has this:
# disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
How does that work without being copied to the final system?
1. https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-workstation.ks
On Fri, Jun 30, 2017 at 9:36 AM, Matthew Miller mattdm@fedoraproject.org wrote:
But fedora-live-workstation.ks¹ has this:
# disable updates plugin
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
How does that work without being copied to the final system?
The creation of that file is within the /etc/rc.d/init.d/livesys file, I believe that is why it only applies to the live environment.
On Fri, Jun 30, 2017 at 12:03:16PM -0400, Dan Book wrote:
How does that work without being copied to the final system?
The creation of that file is within the /etc/rc.d/init.d/livesys file, I believe that is why it only applies to the live environment.
Yep! Now it all makes sense. Thanks :)
I definitely knew this at one time but it fell out of my brain, and I didn't read the whole thing closely enough last night.