fairphone-fp4: add support for using super partition (MR 3344)

Set the necessary flag in deviceinfo so a user can use a logical
partition that was flashed using fastbootd.

$ fastboot create-logical-partition postmarketOS 1000000000
$ pmbootstrap flasher flash_rootfs --partition postmarketOS

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Luca Weiss 2022-08-04 14:49:12 +02:00 committed by Oliver Smith
parent d34f9020da
commit 113a5baa3e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4"
pkgver=0.6
pkgver=0.7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -9,6 +9,7 @@ arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm6350
make-dynpart-mappings
mesa-dri-gallium
mesa-vulkan-freedreno
mkbootimg
@ -67,7 +68,7 @@ phosh() {
sha512sums="
2974ccc172bf1299daeb0bc746879b3a1db1fbc3a2b163a02a6554fed6ed9f733144bcf976cd2441c5664d496dcce3ae943f4314c653470dc07dda0de5ad632b 90-feedbackd-aw8695.rules
1f27d0fdab73e820eb0785f3127802b9d63b952caa643998fe5de4aec873d3eb405023ac0671d0a10518c35f3bd63d9b1bbfbac158fe0896fb9b67e54d594e60 deviceinfo
fc191e9de87e4d3ee2a8bde1694f8fdb2c558bbc2c0e5de125b6c22d835130c77cfc436d32681f310ae07bf29545a5f1e73cea6c180d6f9cc1a08556f3b4435b deviceinfo
25a93dcbe6dbc6cff24f57cbf5539bc475c5fe0f6bf5e8374c7032b9c38a939bef0aa0cde1707afcc16b1ec2d0859c03c6ee92d80d8048d1c6adc6e25178b85f gtk.css
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
"

View file

@ -36,3 +36,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00000000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_rootfs_image_sector_size="4096"
deviceinfo_super_partitions="/dev/sda10 /dev/sda10"