main/asus-transformer-blobtools: Add blob signing (MR 1803)

This adds a patch that enables signing blobs via flag.

Certain recent Asus Tegra devices (tf201, tf300, tf700/1)
only accept signed blobs, this was implemented upstream
but seems that some lines got deleted.

This also updates upstream repository to use PMOS one.
This commit is contained in:
Ion Agorria 2020-12-10 23:12:50 +01:00 committed by Oliver Smith
parent 4351a5bc1c
commit e4a99772e8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 20 additions and 22 deletions

View file

@ -0,0 +1,20 @@
pkgname=asus-transformer-blobtools
pkgver=1.1.0
pkgrel=0
pkgdesc="Tools for unpacking & repacking blobs used for updating 'hidden' partitions on ASUS Transformer"
url="https://gitlab.com/postmarketOS/asus-transformer-blobtools/"
arch="all"
license="Apache-2.0"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/asus-transformer-blobtools/-/archive/$pkgver/asus-transformer-blobtools-$pkgver.tar.gz"
options="!check" # No tests
build() {
make
}
package() {
for i in blobpack blobunpack; do
install -Dm755 "$i" "$pkgdir"/usr/bin/"$(basename "$i")"
done
}
sha512sums="04cab2462e06b7b756ff28be838d1bf0de2748c95a8692c6d5847c8469d5f6735d074c0d0e15bfc9746bb415621abdb6645bb3ce69acda90084a85c9b1426f6f asus-transformer-blobtools-1.1.0.tar.gz"

View file

@ -1,22 +0,0 @@
pkgname=blobtools
pkgver=0.0_git20121024
pkgrel=1
_commit="6186e33baa10ce6f1c738d7b91eb5153743105af"
pkgdesc="Tools for unpacking & repacking blobs used for updating 'hidden' partitions on ASUS Transformer"
url="https://github.com/AndroidRoot/BlobTools"
arch="all"
license="Apache-2.0"
source="$pkgname-$_commit.tar.gz::https://github.com/AndroidRoot/BlobTools/archive/$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/BlobTools-$_commit"
build() {
make
}
package() {
for i in blobpack blobunpack; do
install -Dm755 "$i" "$pkgdir"/usr/bin/"$(basename "$i")"
done
}
sha512sums="69e1113c1d99f1aa930cc6674d6a0473baf9648c4c3f4da37aa44cb42648a40fe15d0a4a72815baa1118bdca36b0084b4efe82ff75549d233498a5637e98508d blobtools-6186e33baa10ce6f1c738d7b91eb5153743105af.tar.gz"