[neon/snap-packaging/plasma-core-desktop] hooks: Make sure the base snap doesn't have NetworkManager
Kevin Ottens
null at kde.org
Wed Jun 12 20:34:37 BST 2024
Git commit 1c854133623182fb37f9e78bfeaf850b611899b7 by Kevin Ottens.
Committed on 12/06/2024 at 15:57.
Pushed by ervin into branch 'master'.
Make sure the base snap doesn't have NetworkManager
We want the session and apps to use the NetworkManager snap package.
Also would create a race condition between the two copies, the first one
to start would win.
M +3 -0 hooks/006-zzz-add-plasma-session.chroot
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/1c854133623182fb37f9e78bfeaf850b611899b7
diff --git a/hooks/006-zzz-add-plasma-session.chroot b/hooks/006-zzz-add-plasma-session.chroot
index 9d15417..caccaba 100755
--- a/hooks/006-zzz-add-plasma-session.chroot
+++ b/hooks/006-zzz-add-plasma-session.chroot
@@ -65,6 +65,9 @@ rm -rf /usr/share/doc/plasma-discover-backend-fwupd/*
rm /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/kns-backend.so
rm /usr/share/metainfo/org.kde.discover.packagekit.appdata.xml
+rm /usr/sbin/NetworkManager
+rm /usr/lib/systemd/system/NetworkManager*.service
+
# Clean up the systemd and dbus activation environment at beginning
# of startup (just after startplasma pushed its own environment)
# this is necessary to avoid the desktop-launch routine wrongfully
More information about the Neon-commits
mailing list