Don't run Plinth setup as part of freedombox/setup

Instead run all of the setup process during the first boot. This enables us to
someday remove the reboot step entirely.

Tests: After building a new image with the changes, call the modules have shown
to be properly setup. Running the setup wizard, creating admin user and logging
works as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2017-08-30 17:00:34 +05:30 committed by James Valleroy
parent 3ba672f28a
commit 4bbbfd956c
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -34,12 +34,5 @@ a2ensite plinth-ssl.conf
echo "Done configuring Apache for Plinth."
echo "Running Plinth setup..."
# Run plinth setup to configure various necessary program
plinth --setup-no-install
# Ensure that DB and log file permissions are correct
chown -R plinth: /var/lib/plinth /var/log/plinth
echo "Done running Plinth setup."