Skip to content

Commit

Permalink
fix: run update script from monsterpi
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzwa committed Oct 14, 2023
1 parent 190803f commit 93cd05c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
submodules: true

# wget -c --trust-server-names 'https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.2-preinstalled-server-arm64+raspi.img.xz'
- name: Download Raspbian Image
- name: Download Raspbian or Ubuntu Image
run: |
cd repository/src/image
wget -c --trust-server-names 'https://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.5-preinstalled-server-arm64+raspi.img.xz'
Expand Down
5 changes: 3 additions & 2 deletions src/modules/monsterpi/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ npm install -g yarn

pushd /home/"${BASE_USER}"
# Install FDM Monster
sudo -u "${BASE_USER}" git clone https://github.com/fdm-monster/fdm-monster.git /home/"${BASE_USER}"/fdm-monster --branch "${tag}"
cd /home/"${BASE_USER}"/fdm-monster-daemon/
bash ./update-fdm-monster.sh

# Update the packages (this is really slow on QEMU!)
cd /home/"${BASE_USER}"/fdm-monster/server
cd /home/"${BASE_USER}"/fdm-monster/
yarn install --production --frozen-lockfile --network-timeout 1000000000

# Prepare the systemd service
Expand Down

0 comments on commit 93cd05c

Please sign in to comment.