Copy all agent/*.py files into rootfs

This commit is contained in:
2026-04-08 01:58:06 +00:00
parent ca224a0ae9
commit fdfa468960

View File

@@ -308,7 +308,7 @@ else
log "Installing agent script, skills, and config..."
sudo mkdir -p /tmp/agent-build-mnt/opt/agent /tmp/agent-build-mnt/opt/skills /tmp/agent-build-mnt/etc/agent
sudo cp "$SCRIPT_DIR/agent/agent.py" /tmp/agent-build-mnt/opt/agent/agent.py
sudo cp "$SCRIPT_DIR/agent/"*.py /tmp/agent-build-mnt/opt/agent/
sudo chmod +x /tmp/agent-build-mnt/opt/agent/agent.py
sudo cp -r "$SCRIPT_DIR/skills/"* /tmp/agent-build-mnt/opt/skills/
sudo chmod +x /tmp/agent-build-mnt/opt/skills/*/run.*