pmaports/device
Pablo Castellano ff968a751e Implement sparse system images (fix #299) (#303)
* Packaged libsparse

libsparse from the Android project provides multiple tools like img2simg
and simg2img.
These are used to split a large image for the system partition into
separate smaller chunks with sparse headers

This is required for several devices (at least bullhead, fp2 and titan)
because it fixes the "Invalid sparse file format at header magi" error

https://github.com/postmarketOS/pmbootstrap/issues/299

* Added new variable deviceinfo_flash_sparse (fixes #299)

Right after the system image is generated, pmbootstrap checks this
variable. In case it is true, run img2simg on it

* motorola-titan: enable deviceinfo_flash_sparse

* libsparse: use source from github: anestisb/android-simg2img

It is not that easy to use the upstream archive because everytime
you download it, the files have the current date as creation date
and that makes the file have a different checksum every download
https://github.com/postmarketOS/pmbootstrap/pull/303#issuecomment-319017197
2017-08-02 16:21:50 +00:00
..
device-asus-grouper Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-htc-ace Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-htc-bravo Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-d855 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-hammerhead Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-lg-mako Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-motorola-titan Implement sparse system images (fix #299) (#303) 2017-08-02 16:21:50 +00:00
device-nokia-rx51 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-qemu-amd64 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-qemu-vexpress Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-i9070 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-i9100 Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-maguro Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-samsung-n7100 Add device Samsung Galaxy Note 2 (N7100) (#293) 2017-07-31 18:02:44 +00:00
device-sony-amami Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
linux-asus-grouper Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-htc-ace Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-htc-bravo Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-d855 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-hammerhead Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-lg-mako Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
linux-motorola-titan Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-i9070 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-i9100 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-samsung-n7100 Add device Samsung Galaxy Note 2 (N7100) (#293) 2017-07-31 18:02:44 +00:00
linux-samsung-tuna Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
linux-sony-amami Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00