2017-08-24 21:07:36 +00:00
|
|
|
pkgname=postmarketos-android-recovery-installer
|
2019-01-22 23:02:25 +00:00
|
|
|
pkgver=0.1.10
|
2019-04-17 16:34:42 +00:00
|
|
|
pkgrel=1
|
2017-08-24 21:07:36 +00:00
|
|
|
pkgdesc="TWRP compatible postmarketOS installer script"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2017-08-24 21:07:36 +00:00
|
|
|
# multipath-tools: kpartx
|
2017-10-14 15:41:12 +00:00
|
|
|
depends="busybox-extras lddtree cryptsetup multipath-tools device-mapper parted util-linux zip e2fsprogs tar"
|
2017-08-24 21:07:36 +00:00
|
|
|
source="build_zip.sh
|
|
|
|
update-binary
|
2019-01-22 23:02:25 +00:00
|
|
|
disable-warning.c
|
2017-11-16 22:20:57 +00:00
|
|
|
pmos_chroot
|
2017-08-24 21:07:36 +00:00
|
|
|
pmos_install
|
|
|
|
pmos_install_functions
|
|
|
|
pmos_setpw"
|
2019-01-22 23:02:25 +00:00
|
|
|
arch="all"
|
|
|
|
options="!check"
|
2017-08-24 21:07:36 +00:00
|
|
|
license="GPL3"
|
|
|
|
|
2019-01-22 23:02:25 +00:00
|
|
|
build() {
|
|
|
|
gcc -static -o disable-warning disable-warning.c
|
|
|
|
}
|
|
|
|
|
2017-08-24 21:07:36 +00:00
|
|
|
package() {
|
|
|
|
install -Dm755 "$srcdir/build_zip.sh" \
|
|
|
|
"$pkgdir/sbin/build-recovery-zip"
|
|
|
|
install -Dm644 "$srcdir"/update-binary \
|
|
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/META-INF/com/google/android/update-binary"
|
2017-11-16 22:20:57 +00:00
|
|
|
install -Dm755 "$srcdir"/pmos_chroot \
|
|
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/pmos_chroot"
|
2019-01-22 23:02:25 +00:00
|
|
|
install -Dm755 "$srcdir"/disable-warning \
|
|
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/disable-warning"
|
2017-08-24 21:07:36 +00:00
|
|
|
for file in pmos_install pmos_install_functions pmos_setpw; do
|
|
|
|
install -Dm755 "$srcdir/$file" \
|
2017-11-16 22:20:57 +00:00
|
|
|
"$pkgdir/var/lib/postmarketos-android-recovery-installer/chroot/bin/$file"
|
2017-08-24 21:07:36 +00:00
|
|
|
done
|
|
|
|
}
|
2019-04-17 16:34:42 +00:00
|
|
|
sha512sums="cd3c4a4bb246d8e2480a9968d3519373ab55126a5b77e975ce53333ed39349194f1afb0dea472d62bdb0ffef1ac93bbadaf3de6362db47ef34c922a1e65c95db build_zip.sh
|
2019-01-22 23:02:25 +00:00
|
|
|
bb152e86ce420761dd2dca660552131610bb8f39cb7e30c75689aacc7cccddce17a90c998097f1b63b3d68a20f9c2c4823d8d591de156dff827381fe436f3b9d update-binary
|
2019-06-25 06:29:37 +00:00
|
|
|
3e6388602665367990bdf4c068268160c26a80dda7fa43380755f36f1ca8751f4ec8a584a4cce3b37f41d405a992716c4280077d062e186b4027d6b74db84b3c disable-warning.c
|
2018-10-19 16:10:32 +00:00
|
|
|
2400d18734d08b3d2f5ec2fe4e802cdcacddea851644b47505eff1aac47302699c171b880bca55dd1704cc9cef9ac26082ac89cee802b6bf57ff8cf649373328 pmos_chroot
|
2018-08-24 10:58:13 +00:00
|
|
|
ef6377f6c062b9a86eb9dfb2aa2c0049fda20f24ec75865a682a50e4655710a18bd7a470deab527e1dd4c273f9ea6a003ec03fc5748d44b1c4fbfc91baa9e358 pmos_install
|
2018-06-13 11:01:55 +00:00
|
|
|
1b19d507a9142e537d052037a0c0768f064ad9131ac8019b234178dc15c0590dbc549ccf553b7a7d55e977df269d4dc0567b520c890738cb80184fc8235222aa pmos_install_functions
|
2017-12-22 18:39:44 +00:00
|
|
|
c6355b6d823dac883e1a352f59a9a2199e2934d78a73df72dc3c4fc14ef93765a15179203d4a8a2ca0d841b63cd4c25c4689b63c8cf4d4da2bcec1f8ff76bff5 pmos_setpw"
|