From 87363519698ed90d7d2e0672e5e8288a35a8bf90 Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Tue, 18 Jul 2023 22:06:07 +0200 Subject: [PATCH] main/sxmo-common: Add a ghost package to fix upgrades (MR 4259) This old package had a pre-deinstall script to remove the necessary Sxmo daemons. We move those daemon management to the -dwm and -sway dedicated postmarketos packages. The problem is that apk can eventually install/upgrade the -dwm or -sway package before removing sxmo-common. This cause a deactivation of the daemons. To prevent this, we add back an empty sxmo-common to take place of the old one. This one does not contain the deinstall scripts. We will remove this in two stable release. --- temp/sxmo-common/APKBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 temp/sxmo-common/APKBUILD diff --git a/temp/sxmo-common/APKBUILD b/temp/sxmo-common/APKBUILD new file mode 100644 index 000000000..6d9d8029f --- /dev/null +++ b/temp/sxmo-common/APKBUILD @@ -0,0 +1,17 @@ +# Maintainer: Willow Barraco +# +# This package take place of an old one. It prevents deactivating Sxmo daemons. +# It should be removed in two major version. We are currently running v23.06 +pkgname=sxmo-common +pkgver=9999 +pkgrel=0 +pkgdesc="Simple Mobile: Ghost package" +url="http://sr.ht/~mil/Sxmo" +arch="noarch" +license="MIT" +options="!check" # has no tests + +package() { + mkdir -p "$pkgdir" +} +