Skip to content
Snippets Groups Projects
Commit 792e8c2b authored by don's avatar don
Browse files

Moved package updates to the end of the install,

updated the installation notes.
parent b3a39b3c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
apt-get -y update
apt-get -y dist-upgrade
apt-get -y install enscript feh ghostscript gsfonts imagemagick imagemagick-6-common imagemagick-6.q16 libjpeg9 libjpeg-progs libjxr0:armhf libjxr-tools liblqr-1-0 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libnetpbm10 libwmf0.2-7 netpbm poppler-utils python3-magic python-magic rclone zsh zsh-common
/home/pi/kiosk/bin/change-file a /etc/lightdm/lightdm.conf 'xserver-command=X -nocursor -s 0 dpms'
/home/pi/kiosk/bin/change-file a /etc/xdg/lxsession/LXDE/autostart '@xset s noblank' '@xset s off' '@xset -dpms'
/home/pi/kiosk/bin/change-file c /etc/rc.local 'exit 0' '#exit 0'
/home/pi/kiosk/bin/change-file a /etc/rc.local 'sleep 9' 'sudo -u pi /home/pi/kiosk/bin/show' 'exit 0'
apt-get -y update
apt-get -y dist-upgrade
......@@ -64,11 +64,9 @@ This is a topic for a different set of documentation.
On the "Check for Updates" screen:
Just click Next and be prepared to wait for a long time. This might be a good
time to get lunch, or a beverage of your choice, or catch up on your email.
This has been known to take several hours at times.
It is recommended that you click "Skip"; updates can be installed later. If you do choose "Next", that is fine but be prepared to wait for a long time. This might be a good time to get lunch, or a beverage of your choice, or catch up on your email. This has been known to take as much as six hours (or as little as twenty minutes).
Once the updates finish, click to reboot the system. After the reboot, on the pop-up information window, click "OK" to get rid of it.
Now click to reboot the system. After the reboot, on the pop-up information window, click "OK" to get rid of it.
Go to the Raspberry icon at the top left corner of the screen and select Preferences -> Raspberry Pi Configuration from the pull-down menu. Click on the "Interfaces" tab. Change "SSH" from "Disable" to "Enable".
......@@ -80,10 +78,17 @@ From a terminal window, on the "pi" account:
cd
git clone https://gitlab.eecs.umich.edu/don/kiosk.git
Now run the installer. The last step of the installer will be to run all Raspberry Pi operating system updates; this part can take many hours:
cd kiosk
./install-script
Set up your "rclone" credentials
Finally set up your "rclone" credentials:
cd
rclone config
(you can also copy /home/pi/.rclone.conf from a system that has already been configured with credentials).
You may need to adjust paths in /home/pi/kiosk/bin/run to match your installation; in particular, change the path in the "remote" variable to reflect the slide source path on Google Drive that you are using.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment