Update cuttlefish-common packages setup process.
Update the acloud setup commands of the cuttlefish (source from https://android.googlesource.com/device/google/cuttlefish/)
Bug: 218507610
Test: acloud-dev setup --host
acloud-dev create --local-instance
Change-Id: I3c5c5e1e0b43de435b90df4c4b2bd2ec88524395
diff --git a/internal/constants.py b/internal/constants.py
index 8dbcec8..7e1f815 100755
--- a/internal/constants.py
+++ b/internal/constants.py
@@ -107,7 +107,7 @@
USER_ANSWER_YES = {"y", "yes", "Y"}
# Cuttlefish groups
-LIST_CF_USER_GROUPS = ["kvm", "cvdnetwork"]
+LIST_CF_USER_GROUPS = ["kvm", "cvdnetwork", "render"]
# Report keys
IP = "ip"
diff --git a/setup/host_setup_runner.py b/setup/host_setup_runner.py
index fef6b41..28cccc0 100644
--- a/setup/host_setup_runner.py
+++ b/setup/host_setup_runner.py
@@ -44,9 +44,8 @@
_INSTALL_CUTTLEFISH_COMMOM_CMD = [
"git clone https://github.com/google/android-cuttlefish.git {git_folder}",
"cd {git_folder}",
- "yes | sudo mk-build-deps -i -r -B",
- "dpkg-buildpackage -uc -us",
- "sudo apt-get install -y -f ../cuttlefish-common_*_amd64.deb"]
+ "debuild -i -us -uc -b",
+ "sudo dpkg -i ../cuttlefish-common_*_*64.deb || sudo apt-get install -f"]
class BasePkgInstaller(base_task_runner.BaseTaskRunner):