ec65cb9968
Placing such files in /tmp/ is an unnecessary attack vector, as @pavelmachek showed. All udev rules, which mentioned /tmp/weston.log do not contain any path anymore. Logs can be read with: logread -f /var/log/messages | grep weston See also: <https://wiki.alpinelinux.org/wiki/Syslog>
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
pkgname=device-huawei-angler
|
|
pkgver=1
|
|
pkgrel=5
|
|
pkgdesc="Huawei Nexus 6P"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-huawei-angler mkbootimg firmware-aosp-broadcom-wlan msm-fb-refresher"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="
|
|
deviceinfo
|
|
90-android-touch-dev.rules
|
|
bcmdhd.cal
|
|
"
|
|
|
|
# Note: bcmdhd.cal is from https://github.com/LineageOS/android_device_huawei_angler/blob/752aaf664ab079f4ce9cbdeae6978f615d39b783/bcmdhd.cal
|
|
# TODO: this calibration file isn't valid for all variants of this device
|
|
# See https://github.com/LineageOS/android_device_huawei_angler/blob/cm-14.1/init.angler.rc#L450
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
install -D -m644 "$srcdir"/bcmdhd.cal \
|
|
"$pkgdir"/etc/wifi/bcmdhd.cal
|
|
}
|
|
|
|
sha512sums="255a6f15a30f41e3db02be591cf41e62f7ac80c1b4dae6ecc174b4f81968a54ffeec8088ded5d44ce36d8a21b4013c79090bed6ed7e115b39ada20975649212b deviceinfo
|
|
262f9f3e28cbb28d236cf6edce4919766baabb18e5b0cf35d672d306efeaf12fd66ffba57e6d9bef0eee90203dc98f95aab17145e4c12383055afb58b922ae58 90-android-touch-dev.rules
|
|
61fe1f91d7b0b570b77fcca76503373cbac2515ca3dcc2f2543b910dfaeb1e935a11975f824f6a72001df4e63329356a6aff2d016e9b4f5d8f7b739fee065c4e bcmdhd.cal"
|