mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
ci/android: Use prebuilt cuttlefish packages from ci-deb-repo
Make use of the prebuilt cuttlefish packages from the Debian Trixie base. These packages are built and published to an apt repository under ci-deb-repo Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37633>
This commit is contained in:
parent
1f7fae992c
commit
0e80e831f8
1 changed files with 3 additions and 19 deletions
|
|
@ -31,6 +31,8 @@ EPHEMERAL=(
|
|||
|
||||
DEPS=(
|
||||
aapt
|
||||
cuttlefish-base
|
||||
cuttlefish-user
|
||||
iproute2
|
||||
)
|
||||
apt-get install -y --no-remove --no-install-recommends \
|
||||
|
|
@ -111,7 +113,7 @@ rm -rf /VK-GL-CTS
|
|||
|
||||
############### Downloading Cuttlefish resources ...
|
||||
|
||||
section_start cuttlefish "Downloading, building and installing Cuttlefish"
|
||||
section_start cuttlefish "Downloading and setting up Cuttlefish"
|
||||
|
||||
mkdir /cuttlefish
|
||||
pushd /cuttlefish
|
||||
|
|
@ -135,24 +137,6 @@ curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
|
|||
|
||||
popd
|
||||
|
||||
############### Building and installing Debian package ...
|
||||
|
||||
ANDROID_CUTTLEFISH_VERSION=v1.0.1
|
||||
|
||||
mkdir android-cuttlefish
|
||||
pushd android-cuttlefish
|
||||
git init
|
||||
git remote add origin https://github.com/google/android-cuttlefish.git
|
||||
git fetch --depth 1 origin "$ANDROID_CUTTLEFISH_VERSION"
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
./tools/buildutils/build_packages.sh
|
||||
|
||||
apt-get install -y --allow-downgrades ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb
|
||||
|
||||
popd
|
||||
rm -rf android-cuttlefish
|
||||
|
||||
addgroup --system kvm
|
||||
usermod -a -G kvm,cvdnetwork root
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue