From 16f5f86575b5f11fd689ab32752b971c9e87ad41 Mon Sep 17 00:00:00 2001
From: nakst <>
Date: Sat, 22 Jan 2022 10:01:30 +0000
Subject: [PATCH] create build_default.sh

---
 util/automation/build_default.sh | 9 +++++++++
 util/automation/build_minimal.sh | 1 -
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 util/automation/build_default.sh

diff --git a/util/automation/build_default.sh b/util/automation/build_default.sh
new file mode 100644
index 0000000..b863893
--- /dev/null
+++ b/util/automation/build_default.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -eux
+
+cd essence
+mkdir -p bin root
+echo "accepted_license=1" >> bin/build_config.ini
+echo "automated_build=1"  >> bin/build_config.ini
+./start.sh get-toolchain
+./start.sh build
diff --git a/util/automation/build_minimal.sh b/util/automation/build_minimal.sh
index d333454..bfba958 100755
--- a/util/automation/build_minimal.sh
+++ b/util/automation/build_minimal.sh
@@ -9,7 +9,6 @@ echo "Flag.DEBUG_BUILD=0"               >> bin/config.ini
 echo "BuildCore.NoImportPOSIX=1"        >> bin/config.ini
 echo "BuildCore.RequiredFontsOnly=1"    >> bin/config.ini
 echo "Emulator.PrimaryDriveMB=32"       >> bin/config.ini
-echo "Emulator.PrimaryDriveMB=32"       >> bin/config.ini
 echo "Dependency.ACPICA=0"              >> bin/config.ini
 echo "Dependency.stb_image=0"           >> bin/config.ini
 echo "Dependency.stb_image_write=0"     >> bin/config.ini