Skip to content

ZigMeowNyan/ignition-imx6

This branch is 3 commits ahead of, 52 commits behind SolidRun/ignition-imx6:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

be02306 · May 15, 2017
Dec 7, 2015
Dec 7, 2015
Feb 17, 2017
Jul 23, 2015
May 15, 2017
May 15, 2017
May 15, 2017
May 15, 2017
May 24, 2016
Oct 18, 2016
May 15, 2017
Nov 3, 2014
May 2, 2016
Mar 23, 2016
Mar 17, 2015
Feb 19, 2016
Jul 23, 2015
Aug 18, 2016
Mar 13, 2016
Aug 15, 2015
Aug 15, 2015
Oct 28, 2014

Repository files navigation

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).

About

Ignition scripts for i.MX6 based machines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%