Skip to content

Commit ebc27f5

Browse files
committed
appimages: Further remove flatpak dependencies & flatpak skel
1 parent d44f22f commit ebc27f5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

recipes/recipe-appimages.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ modules:
1313
- from-file: general.yml
1414
# Remove Gnome Software, as it doesn't support AppImage installation
1515
# Nuke flatpaks & anything related to it, like Fedora 3rd party repos
16+
# Flatpak selinux policy doesn't harm, so it won't be removed
1617
- type: dnf
1718
remove:
1819
packages:
1920
- gnome-software
2021
- flatpak
22+
- flatpak-libs
23+
- flatpak-session-helper
24+
- fedora-flathub-remote
2125
- fedora-third-party
26+
- fedora-workstation-repositories
2227
- type: script
2328
snippets:
2429
# Nuke flatpak autostart units
@@ -56,6 +61,15 @@ modules:
5661
echo -e "\e[1;31mNuking unrelevant flatpak section in 'yafti'\e[0m"
5762
- |
5863
sed -i '/^ applications:/,/^ configure-gidro-os:/ { /^ configure-gidro-os:/!d }' /usr/share/ublue-os/firstboot/yafti.yml
64+
# Nuke flatpak related skel
65+
- |
66+
echo -e "\e[1;31mNuking flatpak-related skel\e[0m"
67+
- "rm -r /etc/skel/.var/"
68+
# Nuke flatpak & fedora-third-party tmpfiles.d entries
69+
- |
70+
echo -e "\e[1;31mNuking flatpak & fedora-third-party tmpfiles.d entries\e[0m"
71+
- |
72+
sed -i '/\/var\/lib\/flatpak/d; /\/var\/lib\/fedora-third-party/d' /usr/lib/tmpfiles.d/rpm-ostree-autovar.conf
5973
# Install 'am' AppImage manager
6074
- |
6175
echo -e "\e[1m\e[38;5;214mInstalling 'am' AppImage manager\e[0m"

0 commit comments

Comments
 (0)