main/postmarketos-base: add dummy post-upgrade (MR 1964)

Add post-upgrade file with a warning, so we don't symlink it to the
post-install script.
[ci:skip-vercheck]: no need to rebuild the package

Related: build.postmarketos.org#85
This commit is contained in:
Oliver Smith 2021-02-17 16:46:03 +01:00 committed by Clayton Craft
parent f7f7716efa
commit 6e7b75abb5
No known key found for this signature in database
GPG Key ID: 7A3461CA187CEA54
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ depends="
util-linux
wpa_supplicant
"
install="$pkgname.post-install $pkgname.pre-upgrade"
install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade"
triggers="$pkgname.trigger=/etc"
subpackages="
$pkgname-elogind

View File

@ -0,0 +1,5 @@
#!/bin/sh
# WARNING: do not symlink this file to postmarketos-base.post-install!
# Otherwise it will enable services, as listed in that file. And we don't want
# this to happen during upgrade, especially not automatically enabling the sshd
# service! (build.postmarketos.org#85)