forked from Mirror/pmbootstrap
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:
parent
fbdc68c3b6
commit
ba1e39f48e
1 changed files with 19 additions and 24 deletions
|
@ -355,15 +355,14 @@ 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"]],
|
"flash_kernel": [["fastboot", "flash", "$PARTITION_KERNEL",
|
||||||
"flash_kernel": [["fastboot", "flash", "$PARTITION_KERNEL",
|
"$BOOT/boot.img-$FLAVOR"]],
|
||||||
"$BOOT/boot.img-$FLAVOR"]],
|
"boot": [["fastboot", "--cmdline", "$KERNEL_CMDLINE",
|
||||||
"boot": [["fastboot", "--cmdline", "$KERNEL_CMDLINE",
|
"boot", "$BOOT/boot.img-$FLAVOR"]],
|
||||||
"boot", "$BOOT/boot.img-$FLAVOR"]],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
# Some Samsung devices need the initramfs to be baked into the kernel (e.g.
|
# Some Samsung devices need the initramfs to be baked into the kernel (e.g.
|
||||||
|
@ -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"],
|
||||||
|
@ -400,20 +397,18 @@ 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"],
|
["adb", "-P", "5038", "sideload",
|
||||||
["adb", "-P", "5038", "sideload",
|
"$RECOVERY_ZIP"]],
|
||||||
"$RECOVERY_ZIP"]],
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"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...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue