Skip to content

[UX][Bug] docs: OpenHarmony SDK - wrong `tar xfz $DOWNLOADS/code-v3.0.1-LTS.tar.g` procedure

The module affected

https://docs.oniroproject.org/en/latest/meta-openharmony/supported-technologies/openharmony-sdk.html#usage

What is the action to reproduce the bug? (Steps to reproduce)

  1. Go to Usage section docs/supported-technologies/openharmony/openharmony SDK/Usage
  2. Try to o install the oniro-openharmony-bundle using guide procedures
tar xfz $DOWNLOADS/code-v3.0.1-LTS.tar.gz

What is the result you see? (Actual result)

felldn2@felldn2-ThinkPad-T490s:~/Downloads$ tar xfz $DOWNLOADS/code-v3.0.1-LTS.tar.gz
tar (child): /code-v3.0.1-LTS.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

What is the result you expect? (Expected behaviour)

Please change tar xfz $DOWNLOADS/code-v3.0.1-LTS.tar.gz to:

cd ~/Downloads
tar xfz code-v3.0.1-LTS.tar.gz

or add before:

 export DOWNLOADS=~/Downloads

Frequency? (always, sometimes, one-time issue)

Always

Tested version (image name and version, platform)

Kirkstone

Do you know any workaround of this issue? (link to workaround/mitigation steps etc)

n/a

Do you have a fix for this issue?

n/a

Edited by Michał Felak
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information