diff --git a/custom/theia/00-packages b/custom/theia/00-packages deleted file mode 100644 index 93da2a5..0000000 --- a/custom/theia/00-packages +++ /dev/null @@ -1 +0,0 @@ -git \ No newline at end of file diff --git a/custom/theia/00-run.sh b/custom/theia/00-run.sh deleted file mode 100755 index 351514c..0000000 --- a/custom/theia/00-run.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -e - -install -d ${ROOTFS_DIR}/opt/theia -install files/package.json ${ROOTFS_DIR}/opt/theia -install -d -o 1000 -g 1000 ${ROOTFS_DIR}/home/pi/projects -install -D -m 644 files/theia.service ${ROOTFS_DIR}/etc/systemd/system/theia.service - -curl -SL https://nodejs.org/dist/latest-v8.x/node-v8.16.2-linux-armv6l.tar.gz | \ - tar xzC ${ROOTFS_DIR}/usr/local/ --strip-components=1 -curl -SL https://yarnpkg.com/latest.tar.gz | \ - tar xzC ${ROOTFS_DIR}/usr/local/ --strip-components=1 - -on_chroot << EOF -cd /opt/theia -/usr/local/bin/yarn -/usr/local/bin/yarn theia build -systemctl enable theia.service -systemctl daemon-reload -EOF - diff --git a/custom/theia/files/package.json b/custom/theia/files/package.json deleted file mode 100644 index c0f6f96..0000000 --- a/custom/theia/files/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "private": true, - "dependencies": { - "typescript": "latest", - "@theia/typescript": "next", - "@theia/navigator": "next", - "@theia/terminal": "next", - "@theia/outline-view": "next", - "@theia/preferences": "next", - "@theia/messages": "next", - "@theia/git": "next", - "@theia/file-search": "next", - "@theia/markers": "next", - "@theia/preview": "next", - "@theia/callhierarchy": "next", - "@theia/merge-conflicts": "next", - "@theia/search-in-workspace": "next", - "@theia/json": "next", - "@theia/textmate-grammars": "next", - "@theia/mini-browser": "next", - "@theia/python": "next", - "@theia/cpp": "next" - }, - "devDependencies": { - "@theia/cli": "next" - } - } \ No newline at end of file diff --git a/custom/theia/files/theia.service b/custom/theia/files/theia.service deleted file mode 100644 index 6833160..0000000 --- a/custom/theia/files/theia.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Theia Ide - -[Service] -Type=simple -PIDFile=/run/theia.pid -ExecStart=/usr/local/bin/yarn theia start --hostname 0.0.0.0 /home/pi/projects -User=pi -Group=pi -WorkingDirectory=/opt/theia -Restart=always -RestartSec=10 -#KillMode=mixed - -[Install] -WantedBy=multi-user.target \ No newline at end of file