Browse Source

README.md: update sysroot decompress using unxz

Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
Rebecca Chang Swee Fun 1 year ago
parent
commit
bea0bb6cb0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -29,9 +29,9 @@ gclient sync --with_branch_heads
 
 4. Unpack the sysroot tarball into a specific folder path.
 ```
-mkdir -p build/linux/debian_sid_riscv64-sysroot
-pushd build/linux/debian_sid_riscv64-sysroot
-tar xf $HOME/riscv-chromium-patch/debian_sid_riscv64-sysroot/debian_starfive_chroot.tar.gz --strip-components=1
+pushd build/linux
+unxz $HOME/riscv-chromium-patch/debian_sid_riscv64-sysroot/debian_starfive_chroot.tar.xz
+tar xf $HOME/riscv-chromium-patch/debian_sid_riscv64-sysroot/debian_starfive_chroot.tar
 popd
 ```