It's hard to Flatpak as it needs access to the entire filesystem and
should be included by default so we include it in the base image.
See: https://pagure.io/fedora-kde/SIG/issue/13
This includes corrections for per-arch packages, thanks to the
improvements to comps-sync.py in the previous commit.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
- Spectacle is not yet available as a Flatpak
- plasma-nm-openconnect, plasma-nm-openvpn and plasma-nm-vpnc are common
VPN options so keep them installed by default. The other ones are
either less common or insecure and will work fine as overlayed
packages.
plasma-pk-updates was previously excluded and plasma-discover-notifier
will gain support for rpm-ostree based systems in an upcoming release.
Flatpak and fwupd support is already functionnal.
No Flatpak available yet:
- firewall-config
- khelpcenter
- kmag
- kmenuedit
- plasma-desktop-doc
Can not be turned into a Flatpak (yet?):
- kcm_systemd
- kdegraphics-thumbnailers
- pinentry-qt
- plasma-workspace-geolocation
- qt-at-spi
Keep at least one browser, file manager and terminal application in the
base image:
* those applications are almost always needed,
* we can not pre-install Flatpak replacement yet,
* we must ensure they work well.
This conversion can be validated using this script:
#!/bin/bash
mkdir -p repo && cd repo && ostree init --repo . --mode=archive && cd ..
variants=('silverblue' 'kinoite' 'xfce' 'lxqt')
for v in ${variants[@]}; do
sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.yaml.out
done
git checkout --quiet HEAD~
for v in ${variants[@]}; do
sudo rpm-ostree compose tree --repo=repo --print-only fedora-$v.yaml > $v.json.out
done
for v in ${variants[@]}; do
if [[ ! -z $(diff $v.json.out $v.yaml.out) ]]; then
echo ""
echo "$v: JSON != YAML"
diff $v.json.out $v.yaml.out
echo ""
has_diff="true"
fi
done
git checkout --quiet master
rm -rf ./repo
for v in ${variants[@]}; do
rm ./$v.json.out ./$v.yaml.out
done
if [[ $has_diff == "true" ]]; then
echo "Found some diff!"
else
echo "OK!"
fi