clburlison/dmon

Install substitute on setup

clburlison opened this issue · 1 comments

Bug

In order for substitute to properly install we need to apt update & apt upgrade on the phone. Ideally we want this to occur silently but unsure if there are any supported CLI flags that will do this.

dmon/bin/setup

Lines 30 to 34 in d873255

# Requires https://repo.palera.in which should be added by default
ssh root@localhost -p 2222 'apt update'
ssh root@localhost -p 2222 'apt upgrade -y --allow-unauthenticated'
ssh root@localhost -p 2222 'apt install -y --allow-unauthenticated com.saurik.substrate.safemode'
ssh root@localhost -p 2222 'apt install -y --allow-unauthenticated com.ex.substitute'

Potential fix

If we can't get the following to work we should link the two correct .debs in the readme. The downside it they can't be easily updated via apt update.

Instead of messing with apt update I'll convert this to install the two required debs. That should have more consistent results.