e885f6a725
The hook flashes every LED it can find, as well as the vibration motor. More paths are probably necessary to support more devices and kernels.
16 lines
660 B
Text
16 lines
660 B
Text
pkgname=postmarketos-mkinitfs-hook-maximum-attention
|
|
pkgver=0.1.0
|
|
pkgrel=0
|
|
pkgdesc="Script to activate all user-visible outputs from the initramfs (to confirm working kernel, for debugging only)"
|
|
url="https://github.com/postmarketOS"
|
|
depends="postmarketos-mkinitfs"
|
|
source="00-maximum-attention.sh"
|
|
arch="noarch"
|
|
license="GPL2"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
|
|
install -Dm644 "$srcdir"/00-maximum-attention.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/
|
|
}
|
|
sha512sums="c29cc41649c284c0ec8201715cd9452f838801a22ea6c2a312ea87a58c61c1caa05a3b1ff33ce4a4d680a95e79fb10108308b72173f1fa97bac5cefde7ab30ee 00-maximum-attention.sh"
|