ubports-installer icon indicating copy to clipboard operation
ubports-installer copied to clipboard

fastboot:reboot* should be similar to adb:reboot to_state

Open JamiKettunen opened this issue 2 years ago • 1 comments

Similar to

      - actions:
          - adb:reboot:
              to_state: "recovery"

the following should also work

      - actions:
          - fastboot:reboot:
              to_state: "recovery"

As it stands you have to use

      - actions:
          - fastboot:reboot_recovery:

and the same is also true for fastboot:reboot_fastboot and fastboot:reboot_bootloader.

Is there any reason adb:reboot and fastboot:reboot should work differently with regard to booting to different states?

JamiKettunen avatar Sep 15 '22 17:09 JamiKettunen

Not really, when implementing and adding more targets, i copy pasted what was already existing.

I agree, would be nicer to make them look the same.

amartinz avatar Sep 15 '22 18:09 amartinz