This commit is contained in:
2026-02-27 13:46:31 +09:00
parent c31240ec37
commit fcc52759cd
8 changed files with 151 additions and 13 deletions

13
cfg/pkg.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
ROOTFS="$1"
arch-chroot $ROOTFS /bin/sh -c '
cd /tmp
git clone https://git.syui.ai/ai/gpt && cd gpt && cargo build --release && cp target/release/aigpt /usr/local/bin/ && cd ..
git clone https://git.syui.ai/ai/log && cd log && cargo build --release && cp target/release/ailog /usr/local/bin/ && cd ..
git clone https://git.syui.ai/ai/shell && cd shell && cargo build --release && cp target/release/aishell /usr/local/bin/ && cd ..
rm -rf gpt log shell
'