guysoft / FullPageOS
- четверг, 2 июня 2016 г. в 03:12:28
Shell
A raspberrypi distro to display a full page browser on boot
A Raspberry Pi distribution to display one webpage in full screen. It includes Chromium out of the box and the scripts necessary to load it at boot. This repository contains the source script to generate the distribution out of an existing Raspbian distro image.
FullPageOS is a fork of OctoPi
Official mirror is here
Nightly builds are available here (currenlty built on demand)
fullpageos-network.txt
on the root of the flashed card when using it like a flash drivefullpageos.local
if your computer supports bonjour or the IP address assigned by your router), default username is "pi", default password is "raspberry", change the password using the passwd
command and expand the filesystem of the SD card through the corresponding option when running sudo raspi-config
.FullPageOS can be built from Debian, Ubuntu, Raspbian, or even FullPageOS. Build requires about 2.5 GB of free space available. You can build it by issuing the following commands:
sudo apt-get install realpath qemu-user-static git clone https://github.com/guysoft/FullPageOS.git cd OctoPi/src/image curl -J -O -L http://downloads.raspberrypi.org/raspbian_latest cd .. sudo modprobe loop sudo bash -x ./build
FullPageOS supports building variants, which are builds with changes from the main relesae build. An example and other variants are avilable in the folder src/variants/example
.
To build a variant use:
sudo bash -x ./build [Variant]
There is a vagrant machine configuration to let build OctoPi in case your build enviroment behaves diffrently. Unless you do extra configuration, vagrant must run as root to have nfs folder sync working.
To use it:
sudo apt-get install vagrant nfs-kernel-server sudo vagrant plugin install vagrant-nfs_guest sudo modprobe nfs cd OctoPi/src/vagrant sudo vagrant up
After provisioning the machine, its also possible to run a nightly build which updates from devel using:
cd OctoPi/src/vagrant run_vagrant_build.sh
src/config.local
. You can override all settings found in src/config
. If you need to override the path to the Raspbian image to use for building OctoPi, override the path to be used in ZIP_IMG
. By default, the most recent file matching *-raspbian.zip
found in src/image
will be used.src/build
as root.src/workspace
Code contribution would be appreciated!