main/watchdog-kick: move install= into top-level scope

and run default_openrc which will move watchdog-kick.init to the right
subpkg

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7443>
This commit is contained in:
Achill Gilgenast
2025-11-30 19:21:10 +01:00
committed by The Friendly Merge Bot
parent 8fa9f9548f
commit be53edf1b0
+2 -9
View File
@@ -5,13 +5,14 @@ pkgdesc="Periodically kich watchdogs"
url="https://postmarketos.org"
arch="noarch"
license="GPL-2.0-or-later"
options="!check"
install="$pkgname-openrc.post-install"
subpackages="$pkgname-openrc $pkgname-systemd"
source="
watchdog-kick
watchdog-kick.init
watchdog-kick.service
"
options="!check"
package() {
install -Dm755 "$srcdir/watchdog-kick" \
@@ -22,14 +23,6 @@ package() {
-t "$pkgdir/usr/lib/systemd/system"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install"
depends="openrc"
mkdir -p "$subpkgdir"
}
sha512sums="
6c4d60db6e1b2b231ba6cc5a046be5436f348e3da49927bb98f89f1194a49ca07402cfa4a389936ce34936f4cfe15093f1c2a27b72375096475b98827e8a6ef5 watchdog-kick
de1608d98a9132cf97459698ec5ead22947ecb938fc0f8fdb7684566c3466afe99303d954598f548dc27cd677f0172ffa3f21c88d84c5c7a288c45e4a11fca06 watchdog-kick.init