Install ttyd and vsockip service by default
Bug: 363237196
Test: build and then `virt-ls`
Change-Id: I88d7ba7c366e888028d5a4d327e45766a2988dd3
diff --git a/build/debian/build.sh b/build/debian/build.sh
index 9136a67..d85f384 100755
--- a/build/debian/build.sh
+++ b/build/debian/build.sh
@@ -70,6 +70,12 @@
cp -R ${src}/* ${dst}
cp $(dirname $0)/image.yaml ${resources_dir}
+
+ local ttyd_version=1.7.7
+ local url=https://github.com/tsl0922/ttyd/releases/download/${ttyd_version}/ttyd.aarch64
+ mkdir -p ${dst}/files/usr/local/bin/ttyd
+ wget ${url} -O ${dst}/files/usr/local/bin/ttyd/AVF
+ chmod 777 ${dst}/files/usr/local/bin/ttyd/AVF
}
run_fai() {
@@ -96,4 +102,4 @@
install_prerequisites
download_debian_cloud_image
copy_android_config
-run_fai
+run_fai
\ No newline at end of file