Files
pmaports-rtwo/modem/rmtfs/APKBUILD
T
Richard Acayan 0f5258d3ba modem/rmtfs: reference new executable path in OpenRC service
In version 1.1.1, the new install target in the Makefile was used to
install rmtfs. This installs rmtfs to /usr/bin instead of the expected
/usr/sbin. Use the new /usr/bin directory for the OpenRC service file so
rmtfs can keep working under OpenRC.

Fixes: f7052461da ("modem/rmtfs: subpackage -systemd")
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7517>
2025-12-07 15:48:00 -05:00

39 lines
1.6 KiB
Bash

# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=rmtfs
pkgver=1.1.1
pkgrel=2
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
url="https://github.com/linux-msm/rmtfs"
arch="all"
license="BSD-3-Clause"
makedepends="eudev-dev qrtr-dev"
subpackages="$pkgname-doc $pkgname-openrc $pkgname-systemd $pkgname-udev"
source="
https://github.com/linux-msm/rmtfs/archive/v$pkgver/rmtfs-v$pkgver.tar.gz
rmtfs.confd
rmtfs.initd
udev.rules
0002-storage-Add-modem_study-into-partition_table.patch
"
options="!check"
build() {
make rmtfs
}
package() {
DESTDIR="$pkgdir" make prefix=/usr install
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-$pkgname.rules"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
15b8dd0e0b2105e331feb7632c44e213566b1feb42c5bef7fe342e96a948fc6fe1e16c767fb67d726a771088a04f4b17c8fd813c469bf6c289beb2b9d11627d8 rmtfs-v1.1.1.tar.gz
f27225e88be7906b0987bfc6fff4f2d5fe1be835d6df4299b7f240a9bf48f4d8cc635353e845d61c291e7857b059933cc567e39b03c7c655e3205bbcbacae3d3 rmtfs.confd
3b8f9f1d620ec0779cdb75f07bb55343563f38905291b46f278b20350cb6b3099f924b01e54c1dde4101e814ed7dab941f665fc5e89989787d4483d18ac8da23 rmtfs.initd
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
60cf74936db55f26559d81a61a7ed1fb27e89a6c8650bb0f43fbb789ba208f52bd9bd3359c52ce4c9a98bc3014c7ce231e8f468b9856eb43449d8561e4f72b44 0002-storage-Add-modem_study-into-partition_table.patch
"