diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 20:41:05 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 55870e6acf15dc0ee92a469ea5fefb6c6a088d2a (patch) | |
| tree | 5f866ba627a22b9342e8ea56639c0e5cc020b445 /do_buildroot.sh | |
| parent | df6a566cd30f26e14b76cfc6d4d5b71f5fef9081 (diff) | |
Auto-start the game
Diffstat (limited to 'do_buildroot.sh')
| -rwxr-xr-x | do_buildroot.sh | 12 |
1 files changed, 8 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 |
