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.
This commit is contained in:
Willow Barraco 2023-07-18 22:06:07 +02:00 committed by Clayton Craft
parent 0043344385
commit 8736351969
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

17
temp/sxmo-common/APKBUILD Normal file
View file

@ -0,0 +1,17 @@
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
#
# 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"
}