-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image sequencer, infragram, and RPi Cam for Raspberry Pi camera (wrong branch) #53
Changes from 17 commits
7a66d11
26ef947
609673d
32fbea8
42ee9e2
01cdcbc
f5d4905
a094e04
1493a02
7c89233
a30c924
11c7d2b
fd8e252
0bf4bce
3244044
3c390c0
fcfa38f
ca35fc9
a7a95be
8fdb1c3
96fa3e5
5806d3b
4faa6b5
473fbd4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,6 +144,12 @@ apt-get -o Dpkg::Options::=--force-confdef \ | |
pi-bluetooth \ | ||
lsb-release \ | ||
gettext \ | ||
unzip \ | ||
zip \ | ||
libav-tools \ | ||
gstreamer1.0-tools \ | ||
motion \ | ||
gpac \ | ||
cloud-init | ||
|
||
|
||
|
@@ -202,10 +208,43 @@ lighttpd-enable-mod fastcgi-php | |
systemctl disable dhcpcd | ||
systemctl disable hciuart | ||
|
||
echo "Installing infragram" | ||
|
||
# install npm/node: | ||
curl -o node-v9.7.1-linux-armv6l.tar.gz https://nodejs.org/dist/v9.7.1/node-v9.7.1-linux-armv6l.tar.gz | ||
tar -xzf node-v9.7.1-linux-armv6l.tar.gz | ||
sudo cp -r node-v9.7.1-linux-armv6l/* /usr/local/ | ||
sudo apt-get install git | ||
|
||
cd /var/www/ | ||
|
||
# install infragram in the web public folder: | ||
# prerequisites: | ||
sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config python2.7 python2.7-dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe this doesn't install as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think this may be needed: |
||
git clone https://github.com/publiclab/infragram.git | ||
cd infragram | ||
npm install | ||
cd /var/www/ | ||
|
||
echo "Installing image-sequencer" | ||
# install image-sequencer in the web public folder: | ||
git clone https://github.com/publiclab/image-sequencer.git | ||
cd image-sequencer | ||
npm install | ||
cd / | ||
|
||
echo "Installing rpi-serial-console script" | ||
wget -q https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O usr/local/bin/rpi-serial-console | ||
chmod +x usr/local/bin/rpi-serial-console | ||
|
||
echo "Installing RPi Cam Web Interface" | ||
wget -q https://github.com/silvanmelchior/RPi_Cam_Web_Interface/archive/master.zip -O /tmp/rpicam.zip | ||
cd /tmp/ | ||
unzip rpicam.zip | ||
cd RPi_Cam_Web_Interface-master | ||
cp /etc/rpicam_config.txt config.txt | ||
bash ./install.sh q | ||
|
||
# fix eth0 interface name | ||
ln -s /dev/null /etc/systemd/network/99-default.link | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh -e | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And one more spot I'm uncertain - this doesn't exist in https://github.com/publiclab/pi-builder/pull/40/files for example, which builds properly and is supposed to be almost the same as this PR. |
||
# | ||
# rc.local | ||
# | ||
# This script is executed at the end of each multiuser runlevel. | ||
# Make sure that the script will "exit 0" on success or any other | ||
# value on error. | ||
# | ||
# In order to enable or disable this script just change the execution | ||
# bits. | ||
# | ||
# By default this script does nothing. | ||
|
||
exit 0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
rpicamdir="cam" | ||
webserver="" | ||
webport="80" | ||
user="" | ||
webpasswd="" | ||
autostart="yes" | ||
jpglink="no" | ||
phpversion="7" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ ROOTFS_TAR_CHECKSUM="d1e7e6d48a25b4a206c5df99ecb8815388ec6945e4f97e78413d5a80778 | |
|
||
# name of the ready made raw image for RPi | ||
RAW_IMAGE="rpi-raw.img" | ||
RAW_IMAGE_VERSION="v0.2.2" | ||
RAW_IMAGE_CHECKSUM="2fbeb13b7b0f2308dbd0d82780b54c33003ad43d145ff08498b25fb8bbe1c2c6" | ||
RAW_IMAGE_VERSION="master" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, one more, apologies. this is the last spot. |
||
RAW_IMAGE_CHECKSUM="e32c0b9f3cdb9c60bad97a724103fc1283cdc135848e6142d588cd96fac1d6a8" | ||
|
||
# specific versions of kernel/firmware and docker tools | ||
export KERNEL_BUILD="1.20190517-1" | ||
export KERNEL_BUILD="1.20190709~stretch-1" | ||
# For testing a new kernel, use the CircleCI artifacts URL. | ||
# export KERNEL_URL=https://62-32913687-gh.circle-artifacts.com/0/home/circleci/project/output/20180320-092128/raspberrypi-kernel_20180320-092128_armhf.deb | ||
# export KERNEL_VERSION="4.14.98" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@icarito can you check if this should be here? It exists on https://github.com/publiclab/pi-builder/pull/40/files but not sure if it's an artifact of rebasing.