refine build instructions

This commit is contained in:
Ziyang Zhou
2022-02-21 20:46:57 +08:00
parent 68e7ff58dc
commit f1e64eb4db
2 changed files with 6 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ RUN apt-get update \
gcc-multilib g++-multilib libc6-dev-i386 libncurses5 lib32ncurses5-dev x11proto-core-dev \ gcc-multilib g++-multilib libc6-dev-i386 libncurses5 lib32ncurses5-dev x11proto-core-dev \
libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig \ libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig \
&& echo "install utils" \ && echo "install utils" \
&& apt-get install -y sudo \ && apt-get install -y sudo rsync \
&& echo "install packages for build mesa3d or meson related" \ && echo "install packages for build mesa3d or meson related" \
&& apt-get install -y python3-pip pkg-config python3-dev ninja-build \ && apt-get install -y python3-pip pkg-config python3-dev ninja-build \
&& pip3 install mako meson \ && pip3 install mako meson \

View File

@@ -1,19 +1,20 @@
# Build ReDroid with docker # Build ReDroid with docker
## Sync Code ## Sync Code
ReDroid manifest include several branches / tags: ReDroid manifest include several branches / snapshots:
- `redroid-12.0.0` / `refs/tags/redroid-12.0.0_rxxxxxx` - `redroid-12.0.0`
- `redroid-11.0.0` / `refs/tags/redroid-11.0.0_rxxxxxx` - `redroid-11.0.0`
- `redroid-10.0.0` - `redroid-10.0.0`
- `redroid-9.0.0` - `redroid-9.0.0`
- `redroid-8.1.0` - `redroid-8.1.0`
- `snapshots/XXX` in `snapshot` branch
```bash ```bash
# fetch code # fetch code
mkdir ~/redroid && cd ~/redroid mkdir ~/redroid && cd ~/redroid
repo init -u https://github.com/remote-android/platform_manifests.git -b <REV> --depth=1 repo init -u https://github.com/remote-android/platform_manifests.git -b <REV> --depth=1
repo sync -c --no-tags repo sync -c
``` ```
## Build ## Build