update builder

This commit is contained in:
Ziyang Zhou
2022-01-07 21:55:47 +08:00
parent 7cc4a07fbe
commit 3c39875c9c
2 changed files with 4 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ RUN apt-get update \
&& apt-get install -y python3-pip pkg-config python3-dev ninja-build \
&& pip3 install mako meson \
&& echo "packages for legacy mesa3d (< 22.0.0)" \
&& apt-get install -y python2 python-mako python-is-python2 python-enum34
&& apt-get install -y python2 python-mako python-is-python2 python-enum34 gettext
RUN groupadd -g $groupid $username \

View File

@@ -45,6 +45,9 @@ cd <BUILD-OUT-DIR>
sudo mount system.img system -o ro
sudo mount vendor.img vendor -o ro
sudo tar --xattrs -c vendor -C system --exclude="vendor" . | docker import -c 'ENTRYPOINT ["/init", "qemu=1", "androidboot.hardware=redroid"]' - redroid
# create rootfs only image for develop purpose
tar --xattrs -c -C root . | docker import -c 'ENTRYPOINT ["/init", "qemu=1", "androidboot.hardware=redroid"]' - redroid-dev
```
## Note