GithubHelp home page GithubHelp logo

ignition-imx6's Introduction

Ignition-imx6

Ignition scripts for SolidRun's i.MX6 based mini computers.

Those scripts are intended to be downloaded by Ignition as a gzipped tarball. For that Ignitio uses github API.

After being downloaded Ignition scans the directories and provides the user a list of distributions to install from.

Each directory is a distribution installation cookbook that provides name, description, icon and installation script.

Optionally it might provide a list to the user to choose from, and up to 4 custom checkboxes with different defaults that the user can choose from.

Ignition scripts directory structure

Directory

NAME - Name of the distribution

DESCRIPTION - Description of the distribution

icon.png - A 100x100 pixels icon

install.sh - Installation script

list.sh - Optional script to provide the GUI a list to choose from

CUSTOM0 - Optional checkbox that the user can choose

CUSTOM1 - Optional checkbox that the user can choose

CUSTOM2 - Optional checkbox that the user can choose

CUSTOM3 - Optional checkbox that the user can choose

Development and improvement cycle

Following is a recommended diagram how to improve Ignition scripts -

  • Fork / clone ignition-imx project
  • Modify it by creating a directory with new cookbook or fix bugs
  • Create a gzipped tarball of the project
  • Host the tarball into a local web server
  • Boot Ignition and change the repository URL to the local web server with the file URL
  • Debug
  • Once ready push the changes to your fork and issue a pull request

Notes

  • The UI has progress indication scans the install.sh stdout/stderr and accepts a format like the following - " number%". For instance "##### 30.5%"
  • Once Ignition recognizes such a pattern it updates the progress bar with the requested percentage
  • When reaching 100% Ignition changes the progress bar title from "Download..." to "Installing...". It will still accept progress indication.
  • Best method to provide such progress is using 'curl' with the '--progress' flag
  • Bare in mind that the installation script should run on a 512MByte systems (like CuBox-i1 and HummingBoard-i1).

ignition-imx6's People

Contributors

rabeeh avatar artox avatar dz0ny avatar jnettlet avatar lundmar avatar rod-murphy avatar ianjohnson avatar warped-rudi avatar

Watchers

 avatar James Cloos 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.