Git Product home page Git Product logo

artox / ignition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rabeeh/ignition

0.0 2.0 0.0 5.08 MB

ignition - CuBox-i and HummingBoard installer

License: GNU General Public License v2.0

Shell 4.26% Makefile 49.99% Arc 0.01% Batchfile 0.01% HTML 22.62% CSS 0.54% JavaScript 0.07% C 11.13% C++ 2.14% Perl 1.13% Lex 0.19% Yacc 0.45% CMake 0.08% Python 5.38% QMake 0.01% M4 1.99% Roff 0.01%

ignition's Introduction

ignition

ignition - CuBox-i and HummingBoard installer

ignition is a complete micro distribution based on buildroot that it's sole intention is to boot on all variants of CuBox-i and HummingBoard and display a GUI on a TV/display connected via the HDMI port.

Once booted it downloads an archive (default from github) which is a gzipped tarball that has a bunch of directories that each represents a possible distribution that can be installed.

Directory structure

Each directory can contain the following -

NAME - Name to be shown (first line on GUI)

DESCRIPTION - The description of the distribution (second line on the GUI)

install.sh - A script that downloads and installs the distribution

icon.png - A 100x100. The icon is best generated by running 'convert -resize 100x100 icon.png'

RECOMMENDED - A flag that shows that this OS to be shown on the first GUI (can be added only after making sure that the distrubtion is bullet proof and in a good shape).

CUSTOM0,CUSTOM1,CUSTOM2,CUSTOM3 - Those are flags that can be show to the user (if defined and has the following format) -

bool,bash variable,human readable text

for example - 'true,RESIZE,Resize system partition?'

When the user selects the required operating system he/she will get an optional tick to 'Resize system partition?' with default clicked (true).

If the user selects that field then the install.sh script is called while the environment variable names 'RESIZE' is set to 'true'; indicating to the install script to resize the partition after installation.

Modifying default URL

The user can modify the default URL where ignition downloads the default gzipped archive. This can be done by editing the file scripts/post-image.sh and modifying the following two lines -

echo "http://www.github.com/SolidRun/ignition-imx6/tarball/master" > ${BINARIES_DIR}/fs/repo.url

echo "SolidRun GitHub - http://www.github.com/SolidRun/ignition-imx6/" >> ${BINARIES_DIR}/fs/repo.url

The first line is the actual URL and the second line (optional) defines a name to be presented to the user in the GUI.

An alternative to changing the repo.url above is by flashing ignition.img, mounting it and then editing the repo.url that is on the micro SD.

ignition's People

Contributors

artox avatar rabeeh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.