From 54779990fc83e0db0a9e3e86b28968901d4a159f Mon Sep 17 00:00:00 2001
From: Seth Foster <seth@opentrons.com>
Date: Wed, 27 May 2020 16:23:12 -0400
Subject: [PATCH 1/2] config/ot2_defconfig: select git, gnutls

gnutls enables fetch of https urls with wget; git is useful for external
contributors adding more complex workflows.
---
 configs/ot2_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/ot2_defconfig b/configs/ot2_defconfig
index 037a828dd3..afffa11e62 100644
--- a/configs/ot2_defconfig
+++ b/configs/ot2_defconfig
@@ -71,6 +71,8 @@ BR2_PACKAGE_DHCP=y
 BR2_PACKAGE_DHCP_CLIENT=y
 BR2_PACKAGE_DROPBEAR=y
 # BR2_PACKAGE_DROPBEAR_CLIENT is not set
+BR2_PACKAGE_GIT=y
+BR2_PACKAGE_GNUTLS=y
 BR2_PACKAGE_IW=y
 BR2_PACKAGE_NETWORK_MANAGER=y
 BR2_PACKAGE_NGINX=y

From 1f12e3d774153ec8cc13f424579b4a6e9acda397 Mon Sep 17 00:00:00 2001
From: Mike Cousins <mike@opentrons.com>
Date: Tue, 15 Sep 2020 13:25:58 -0400
Subject: [PATCH 2/2] fixup: add ca-certificates to fix git+wget and grep, sl,
 curl for fun

---
 configs/ot2_defconfig | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/configs/ot2_defconfig b/configs/ot2_defconfig
index dc433c8f52..0419d3ffdc 100644
--- a/configs/ot2_defconfig
+++ b/configs/ot2_defconfig
@@ -26,8 +26,11 @@ BR2_PACKAGE_FFMPEG_GPL=y
 BR2_PACKAGE_FFMPEG_NONFREE=y
 BR2_PACKAGE_FFMPEG_SWSCALE=y
 BR2_PACKAGE_MPG123=y
+BR2_PACKAGE_GIT=y
+BR2_PACKAGE_GREP=y
 BR2_PACKAGE_E2FSPROGS=y
 BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
+BR2_PACKAGE_SL=y
 BR2_PACKAGE_RPI_FIRMWARE=y
 BR2_PACKAGE_RPI_WIFI_FIRMWARE=y
 BR2_PACKAGE_OPENTRONS_SMOOTHIE_FIRMWARE=y
@@ -59,12 +62,15 @@ BR2_PACKAGE_PYTHON_PYRSISTENT=y
 BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO=y
 BR2_PACKAGE_PYTHON_SYSTEMD=y
 BR2_PACKAGE_ALSA_LIB=y
+BR2_PACKAGE_CA_CERTIFICATES=y
 BR2_PACKAGE_LIBRESSL=y
 BR2_PACKAGE_LIBRESSL_BIN=y
 BR2_PACKAGE_DTC=y
 BR2_PACKAGE_DTC_PROGRAMS=y
 BR2_PACKAGE_LIBGPIOD=y
 BR2_PACKAGE_JSON_C=y
+BR2_PACKAGE_LIBCURL=y
+BR2_PACKAGE_CURL=y
 BR2_PACKAGE_AVAHI=y
 # BR2_PACKAGE_AVAHI_AUTOIPD is not set
 BR2_PACKAGE_AVAHI_DAEMON=y
@@ -79,12 +85,11 @@ BR2_PACKAGE_DHCP=y
 BR2_PACKAGE_DHCP_CLIENT=y
 BR2_PACKAGE_DROPBEAR=y
 # BR2_PACKAGE_DROPBEAR_CLIENT is not set
-BR2_PACKAGE_GIT=y
-BR2_PACKAGE_GNUTLS=y
 BR2_PACKAGE_IW=y
 BR2_PACKAGE_NETWORK_MANAGER=y
 BR2_PACKAGE_NGINX=y
 BR2_PACKAGE_NGINX_HTTP_SSL_MODULE=y
+BR2_PACKAGE_WGET=y
 BR2_PACKAGE_WPA_SUPPLICANT=y
 BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
 BR2_PACKAGE_WPA_SUPPLICANT_EAP=y