aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-26 22:07:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-26 22:09:48 +0100
commitf68448d349b3d7caf5a0e8df3bda4e544f7d70bf (patch)
treea90507881d929f449198f7db19bc07ab73bd562f
parentc2f08f65b89e1c358a8650b6d1eab96a87877a54 (diff)
downloadaports-f68448d349b3d7caf5a0e8df3bda4e544f7d70bf.tar.bz2
aports-f68448d349b3d7caf5a0e8df3bda4e544f7d70bf.tar.xz
testing/low-memory-monitor: install initscript as executable
-rw-r--r--testing/low-memory-monitor/APKBUILD7
-rw-r--r--testing/low-memory-monitor/low-memory-monitor.initd2
2 files changed, 5 insertions, 4 deletions
diff --git a/testing/low-memory-monitor/APKBUILD b/testing/low-memory-monitor/APKBUILD
index 02a29fe019..4c31230ab9 100644
--- a/testing/low-memory-monitor/APKBUILD
+++ b/testing/low-memory-monitor/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=low-memory-monitor
pkgver=2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Daemon to monitor memory usage and signal processes and the kernel"
options="!check" # No testsuite
url="https://gitlab.freedesktop.org/hadess/low-memory-monitor"
arch="all"
license="GPL-3.0-or-later"
makedepends="meson glib-dev"
+subpackages="$pkgname-openrc"
source="https://gitlab.freedesktop.org/hadess/low-memory-monitor/-/archive/$pkgver/low-memory-monitor-$pkgver.tar.gz
low-memory-monitor.initd
musl.patch
@@ -31,8 +32,8 @@ package() {
# Remove systemd service
rm -rf "$pkgdir"/DELETEME
- install -Dm644 "$srcdir"/low-memory-monitor.initd "$pkgdir"/etc/init.d/low-memory-monitor
+ install -Dm0755 "$srcdir"/low-memory-monitor.initd "$pkgdir"/etc/init.d/low-memory-monitor
}
sha512sums="f63d0ccd9e3978b3321150d03ef9e0df82a4c453116c29d008b64b8133f7cb5c32874d4f6400384bd22b5530c761327b50e252c2ff171061e0338bc9ccc8daee low-memory-monitor-2.0.tar.gz
-3ff5e250974c4ac474da4eb45317acd2d782b42997ee336b7d006481043a5c0cba57b9d06d13ed68bca61bd228e31b47993eae4f9da4977a863eaaa704bce866 low-memory-monitor.initd
+3a214208355d138365af14d90ea790e49e04c3e3fb979796d6ce8f49c116212f1c98edaf05eb346ff033dd14a3d489d2f79a2844a572c5bc8e075f33958ac094 low-memory-monitor.initd
7cd0bfa4e2b374a3b7d252a18fc83ff4ecbd52d22c40e406e10ba776daad80e7dc3d3c339b556a89a97786fe541e2aff7f32097aed5473a069612344d981ab23 musl.patch"
diff --git a/testing/low-memory-monitor/low-memory-monitor.initd b/testing/low-memory-monitor/low-memory-monitor.initd
index 5821d5090c..62f39560d3 100644
--- a/testing/low-memory-monitor/low-memory-monitor.initd
+++ b/testing/low-memory-monitor/low-memory-monitor.initd
@@ -13,6 +13,6 @@ depend() {
start_pre() {
# We need /proc/pressure directory that contains information about memory
# pressure. this requires CONFIG_PSI=y, if CONFIG_PSI_DEFAULT_DISABLED is
- # also used then you need to pass pse=1 on the kernel cmdline
+ # also used then you need to pass psi=1 on the kernel cmdline
checkpath --directory /proc/pressure
}