main/msm-fb-refresher: move cleanup from initramfs into msm-fb-refresher (MR 5191)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
mae 2024-06-02 13:25:20 +02:00
parent 25ad7892a1
commit 61133a23ae
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 12 additions and 6 deletions

View file

@ -1,2 +1,6 @@
#!/bin/sh
/usr/sbin/msm-fb-refresher --loop &
{
echo "#!/bin/sh"
echo "kill $!"
} > /hooks-cleanup/msm-fb-refresher-cleanup.sh

View file

@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=msm-fb-refresher
pkgver=0.2
pkgrel=4
pkgrel=5
pkgdesc="Display refresher for Qualcomm devices"
arch="all"
url="https://github.com/AsteroidOS/msm-fb-refresher"
@ -34,7 +34,9 @@ package() {
install -Dm755 "$srcdir"/00-msm-fb-refresher.files \
"$initfsdir/files/00-msm-fb-refresher.files"
}
sha512sums="5e2920cf86f2e373e2411a89cf3ac6745af042ff7d91ae581f26b72772bc9ab621ea4154bc33ef57dce0c04ba3f88ee3b9f98c2a17b2579df368b0929cf0bfa7 msm-fb-refresher-0.2.tar.gz
sha512sums="
5e2920cf86f2e373e2411a89cf3ac6745af042ff7d91ae581f26b72772bc9ab621ea4154bc33ef57dce0c04ba3f88ee3b9f98c2a17b2579df368b0929cf0bfa7 msm-fb-refresher-0.2.tar.gz
e4dc12848d5615ff758ad3ba4165bef5501c92350f46072d30d9924821bf63ad89fe69e78f248562c8377d537bf8c3cefd275130a97040741bd80ff32a1838a3 msm-fb-refresher.init
1b6168037293db465a5a55d5c263cb60ac46cccb601329b193110bbdffc23207b3d38419d2ad128020bf4ddbcdb868e8fa2f561764adf02c7db0526b0177ee5a 00-msm-fb-refresher.sh
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files"
d9620a58052f4a0b21bfb5ced4941d959e5620f2293b5f6715a95622767d7801d22d7882f8eef4ccc5f43cb3960b46a8baa6b7a71d22271e955b92d8d713f6ae 00-msm-fb-refresher.sh
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files
"

View file

@ -88,7 +88,7 @@ sha512sums="
9c0e8f6f61d5da191e03a1aa9d5d0ceb5baf1eae6dbb9bfb0af59817783525119ac8394b135f303f7b6434a3eab0b49185fb90379e06823db847a4999c75ce33 00-initramfs-base.dirs
ab41b45b0613f25a61114ed8c8b92bc53c60838f6e2e0ba18c76e5369b2984e6023a0661887692673aca3f647f268c468a468f6b1ac424cfee609017a89481dd 00-initramfs-base.files
8a4adad3785af474b36a09a05f6a3b2c4b4f43aac331a53b903abfa51ea12be1e3d1d807b7a6e66a1346815f3b0044daf8cd62e21e2dc75d2db13ee265a72985 00-initramfs-extra-base.files
36cfba159ed5e934dd81117485f68ec260e968def31da0c2acab69cdbea8b40363ed7c5c26679b996efd2368a8981bc0045cd98508d3170e7e43cd34e09de8aa init.sh
102cb49a5b44282afee7808945c69e9bb9310677efeefc681d92217f0399a90fcbb37eb9ac7aed89cc27c324780298c7c2de6de2bdb89a77499faad1c312e539 init.sh
eec9cd4e9b123270615ba9ff840818ae2f1a0dddbe8cf3ea863b5ee4ba3229628adb804d50ac7105c582073fba8f75141af249ebeb60c369da0052ca0fabda19 init_functions.sh
ba3275a9af788c7c782322a22a0f144d5e50e3498ea6886486a29331f23ae89cd32d500a3635cfa7cab369afba92edc18aeca64ccbf0cd589061cce23d15b46c unudhcpd.conf
675e7d5bee39b2df7d322117f8dcaccc274d61beaf4d50ead19bbf2109446d64b1c0aa0c5b4f9846eb6c1c403418f28f6364eff4537ba41120fbfcbc484b7da7 mdev.conf

View file

@ -88,7 +88,7 @@ setup_bootchart2
# Switch root
run_hooks /hooks-cleanup
killall mdev udevd msm-fb-refresher 2>/dev/null
killall mdev udevd 2>/dev/null
# shellcheck disable=SC2093
exec switch_root /sysroot "$init"