motorola-maserati: use source_deviceinfo from devicepkg-utils (MR 4129)

This commit is contained in:
Newbyte 2023-05-30 08:53:01 +02:00
parent bc6800b368
commit 614ac1835d
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
. ./init_functions.sh . ./init_functions.sh
source_deviceinfo . /usr/share/misc/source_deviceinfo
mount_safestrap() { mount_safestrap() {
grep -q PMOS_NO_SAFESTRAP /proc/cmdline && return grep -q PMOS_NO_SAFESTRAP /proc/cmdline && return

View file

@ -1,13 +1,13 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-maserati pkgname=device-motorola-maserati
pkgdesc="Motorola Motorola Droid 4" pkgdesc="Motorola Motorola Droid 4"
pkgver=0.2 pkgver=0.2.1
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armhf" arch="armhf"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base linux-motorola-maserati" depends="postmarketos-base devicepkg-utils linux-motorola-maserati"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo 10-safestrap-maserati.sh" source="deviceinfo 10-safestrap-maserati.sh"
@ -24,5 +24,5 @@ package() {
} }
sha512sums=" sha512sums="
3d9c48f2b3574e8893674867a97e981adf5e03f85c39724b228b032f78421437907245f8fc712770949ddec15e5c68db85d4e8cc504517233a4f758e81e581b4 deviceinfo 3d9c48f2b3574e8893674867a97e981adf5e03f85c39724b228b032f78421437907245f8fc712770949ddec15e5c68db85d4e8cc504517233a4f758e81e581b4 deviceinfo
4a981b2a42515cf799a2c66e99e29f6a2da19884950287ced36d9021c460d30c8f8ea322dcb3b3a79ae44313eb6c8d1a1c939f0cd3ccdbc058371321222b9ed3 10-safestrap-maserati.sh 0f46df1da505f2a196d227763da3d7b7620382a01f1b5f0067c4a78eab02415b6f6fdb9277656ae0cfc41996c5ae49ee8605c88cde6ad4a0b5a20634f1d8a4f3 10-safestrap-maserati.sh
" "