aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdo_buildroot.sh12
-rw-r--r--resources/ash-profile1
2 files changed, 9 insertions, 4 deletions
diff --git a/do_buildroot.sh b/do_buildroot.sh
index 1e50bda..cdcbbe6 100755
--- a/do_buildroot.sh
+++ b/do_buildroot.sh
@@ -4,17 +4,21 @@ BR="$1"
board="$BR/board/raspberrypi0/"
overlay="$board/rootfs_overlay/"
-dirs="/usr/bin"
+# Build configuration
+cp resources/config-buildroot "$BR/.config"
+# resources/linux.config
+cp resources/{post-build,ct1986}.sh resources/genimage-raspberrypi0.cfg "$board"
+
+# Overlay filesystem
+dirs="/usr/bin"
for dir in $dirs; do
if [ ! -d "$overlay/$dir" ]; then
mkdir -p "$overlay/$dir"
fi
done
-cp resources/config-buildroot "$BR/.config"
-cp resources/{post-build,ct1986}.sh resources/genimage-raspberrypi0.cfg resources/linux.config "$board"
-
cp ctaklm ct1986 "$overlay/usr/bin"
+cp resources/ash-profile "$overlay/.profile"
cd "$BR" && make
diff --git a/resources/ash-profile b/resources/ash-profile
new file mode 100644
index 0000000..71c3dbb
--- /dev/null
+++ b/resources/ash-profile
@@ -0,0 +1 @@
+ct1986