Bootstrap

Requisites

  • Debian-based OS. It will be eventually possible to bootstrap on other OSes. See below for prebuilt images.

Process

  • Download and install this package: http://openinkpot.org/pub/SLIND/pool/host-tools/s/slind-core/clydesdale/slind-core_0.3.18_all.deb
  • Copy two .ini-files from /etc/slind to ~/.slind
  • Change the following settings in ~/.slind/slind-config.ini:
    • target_arch = armel
    • debian_mirror = <your preferred Debian mirror>
    • slind_mirror = http://openinkpot.org/pub/SLIND
    • gitbase_url = http://git.openinkpot.org http://git.slind.org/gitrepos/
    • work_dir = <directory for development chroot>
    • addon_packages = syslogd dropbear
    • Add slind-control oi-v3-build-firmware to base_hst_pkg_list
  • slindctl setup (creates development environment in $work_dir)

Prebuilt images

  • get and unpack the latest chroot tarball from http://openinkpot.org/pub/slind-devenv/
  • change the uid of user build to your uid in /etc/passwd
  • chown all files and directories owned by build user to your uid.
  • Use sudo chroot $workdir su - build instead of slindctl chroot in further instructions.

Create and build packages

Refer to SLIND documentation to get information about creating/building packages.

OpenInkpot changes:

Use dpkg-buildpackage for building packages. northern-cross is not functional yet.

Create update image

  • slindctl chroot (chroots to the development environment). From inside the chroot:
    • build-v3

Install built packages to rootfs

TBD