Commit f4703982 authored by Mylène Josserand's avatar Mylène Josserand
Browse files

cros-build: hana-kevin: Fix depot_tools path

According to the documentation[1], the path should be absolute.
This commit fixes an error while using the script under a
debian-bullseye system:

depot_tools/bootstrap_python3: line 28: cipd: command not found
depot_tools/bootstrap_python3: line 32: bootstrap-2@3.8.10.chromium.20_bin/python3/bin/python3: No such file or directory
cat: depot_tools/python_bin_reldir.txt: No such file or directory

[1] https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/docs/linux/build_instructions.md#install

Signed-off-by: Mylène Josserand's avatarMylène Josserand <mylene.josserand@collabora.com>
parent 3c5a824d
......@@ -15,7 +15,7 @@ cp setup/hana.sh build_hana
cd build_hana
git clone --depth=1 \
https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=depot_tools:$PATH
export PATH=$PWD/depot_tools:$PATH
# Download the sources
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git \
......
......@@ -15,7 +15,7 @@ cp setup/kevin.sh build_kevin
cd build_kevin
git clone --depth=1 \
https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=depot_tools:$PATH
export PATH=$PWD/depot_tools:$PATH
# Download the sources
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment