changeset 209:5b7cd39e6504

add coral driver
author drewp@bigasterisk.com
date Sat, 22 Jul 2023 12:07:47 -0700
parents 7642a2dc0ff0
children b1e897c9e5c3
files apt.py package_lists.py templates/sources.list.j2
diffstat 3 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/apt.py	Fri Jul 21 20:24:22 2023 -0700
+++ b/apt.py	Sat Jul 22 12:07:47 2023 -0700
@@ -24,6 +24,7 @@
             ('https://dl.google.com/linux/linux_signing_key.pub', 'chrome.gpg'),
             ('https://ftp-master.debian.org/keys/archive-key-11.asc', 'bullseye.gpg'),
             ('https://ftp-master.debian.org/keys/archive-key-11-security.asc', 'bullseye-security.gpg'),
+            ('https://packages.cloud.google.com/apt/doc/apt-key.gpg', 'coral.gpg'),
         ]
     ])
     if host.get_fact(Arch) == 'armv7l' or host.name == 'bang':  # I mean raspbian/debian
--- a/package_lists.py	Fri Jul 21 20:24:22 2023 -0700
+++ b/package_lists.py	Sat Jul 22 12:07:47 2023 -0700
@@ -96,6 +96,7 @@
     'zfsutils-linux',
     'libsubid4', # for podman
     'buildah', # for podman
+    'libedgetpu1-std',
 ]
 
 for_pipe = [
--- a/templates/sources.list.j2	Fri Jul 21 20:24:22 2023 -0700
+++ b/templates/sources.list.j2	Sat Jul 22 12:07:47 2023 -0700
@@ -30,6 +30,9 @@
 deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x lunar main
 {% endif %}
 
+{% if host.name in ['ditto'] %}
+deb [signed-by=/etc/apt/keyrings/coral.gpg] https://packages.cloud.google.com/apt coral-edgetpu-stable main
+{% endif %}
 
 {% if host.name in ['dash', 'ditto', 'bang', 'plus', 'slash'] %}
 deb http://us.archive.ubuntu.com/ubuntu lunar main restricted