From 55870e6acf15dc0ee92a469ea5fefb6c6a088d2a Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Wed, 20 Jan 2021 20:41:05 -0500 Subject: Auto-start the game --- do_buildroot.sh | 12 ++++++++---- resources/ash-profile | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 resources/ash-profile 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 -- cgit v1.2.3