pmb.config: Fix formatting for flash methods (!1871)

For some reason, the formatting for the flash method definitions
is really messed up. Let's fix it!
This commit is contained in:
Minecrell 2020-02-03 19:25:59 +01:00 committed by Alexey Min
parent fbdc68c3b6
commit ba1e39f48e
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448

View file

@ -355,8 +355,7 @@ uuu specific: $UUU_SCRIPT
flashers = {
"fastboot": {
"depends": ["android-tools"],
"actions":
{
"actions": {
"list_devices": [["fastboot", "devices", "-l"]],
"flash_rootfs": [["fastboot", "flash", "$PARTITION_SYSTEM",
"$IMAGE"]],
@ -373,8 +372,7 @@ flashers = {
# "isorec" (isolated recovery), a term coined by Lanchon.
"heimdall-isorec": {
"depends": ["heimdall"],
"actions":
{
"actions": {
"list_devices": [["heimdall", "detect"]],
"flash_rootfs": [
["heimdall_wait_for_device.sh"],
@ -388,8 +386,7 @@ flashers = {
# fastboot compatible devices. Example: s7562, n7100
"heimdall-bootimg": {
"depends": ["heimdall"],
"actions":
{
"actions": {
"list_devices": [["heimdall", "detect"]],
"flash_rootfs": [
["heimdall_wait_for_device.sh"],
@ -401,8 +398,7 @@ flashers = {
},
"adb": {
"depends": ["android-tools"],
"actions":
{
"actions": {
"list_devices": [["adb", "-P", "5038", "devices"]],
"sideload": [["echo", "< wait for any device >"],
["adb", "-P", "5038", "wait-for-usb-sideload"],
@ -412,8 +408,7 @@ flashers = {
},
"uuu": {
"depends": ["uuu"],
"actions":
{
"actions": {
"flash_rootfs": [
# There's a bug(?) in uuu where it clobbers the path in the cmd
# script if the script is not in pwd...