From 58300fd7e6a192c4732241c2fd2274e921c12e67 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 30 Mar 2016 14:49:17 -0700 Subject: [PATCH] Install iconograph into image. --- server/build_image.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/build_image.py b/server/build_image.py index 86b5c06..c185471 100755 --- a/server/build_image.py +++ b/server/build_image.py @@ -48,12 +48,14 @@ class ImageBuilder(object): 'debconf', 'devscripts', 'dialog', + 'git', 'gnupg', 'isc-dhcp-client', 'locales', 'nano', 'net-tools', 'iputils-ping', + 'python3-openssl', 'sudo', 'user-setup', 'wget', @@ -136,6 +138,13 @@ class ImageBuilder(object): 'apt-get', 'clean') + def _InstallIconograph(self, chroot_path): + self._ExecChroot( + chroot_path, + 'git', + 'clone', + 'https://github.com/robot-tools/iconograph.git') + def _Squash(self, chroot_path, union_path): self._Exec( 'mksquashfs', @@ -159,6 +168,7 @@ class ImageBuilder(object): chroot_path = self._Debootstrap(root) union_path = self._CreateUnion(root) self._InstallPackages(chroot_path) + self._InstallIconograph(chroot_path) if FLAGS.shell: self._Exec('bash') self._Squash(chroot_path, union_path)