Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/hacking/building-for-openharmony.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ The following command can be used to install previously built servoshell applica
./mach install --ohos --release [--flavor=harmonyos]
```

### Installing the nightly release on an HarmonyOS device

The official nightly releases on [GitHub](https://github.com/servo/servo/releases) or [servo.org](https://servo.org/download/) are suitable for installation on OpenHarmony devices without additional steps. It is possible to install them on an HarmonyOS5 (or later) device, but the `hap` must self-signed first using the `hdc` tool.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but the hap must self-signed first using the hdc tool.

After the suggestions, this is incorrect now. hdc is just like adb, and only handles interaction with the device (e.g. in this case you use hdc to install the signed package).
We don't yet have steps for how to self-sign - I'd be fine with leaving how to do the self-sign undocumented right now (because I would still need to investigate what the best course here is).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we just change the last line to:
It is possible to install them on an HarmonyOS5 (or later) device but the hap must be self-signed first.

cc @richerfu

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but i agree with jonathan. We may need some docs how to self-sign. I'm trying it. :)


## Further reading

[OpenHarmony Glossary](https://gitee.com/openharmony/docs/tree/master/en/glossary.md)