update builder
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user