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