Code Monkey home page Code Monkey logo

balenafin-raspbian's Introduction

balenaFin Raspbian support packages and tools

  • Download sd8887-mrvl
  • Download balenafin-firmware

balenaFin

This repository includes metadata and tools for generating and maintaining balenaFin specific Debian packages. The Debian repository is available on bintray at balenaos/raspbian.

Debian packages generation

The packages supported are structured as subdirectories in debs. In order to generate Debian artefacts for one of these packages run gen-deb-container.sh with appropriate arguments (see tool's help for more info). This will generate the artefacts in the respective package's directory.

For example, running ./gen-deb-container.sh --package FOO, will generate the deb package (and additional artefacts) in debs/FOO/.

Upload to bintray

In order to upload a deb file to bintray use upload-to-bintray.sh. This requires an API key passed to the tool.

Upgrading a package

Each package, structured as a subdirectory in debs, has the following content:

    .
    ├── deb-root		# This is the workspace of the debian package generator.
    │   └── debian		# Debian package metadata. See [debian manual](https://www.debian.org/doc/manuals/maint-guide/dreq.en.html) for more info.
    └── src			# Package's source directory - usually a git submodule.

In order to upgrade a package

  • Update the src git submodule to the new version (if required).
  • Add changelog entry for the new version (if src was updated, specify the new package version and reset the revision to 1 or increment the revision if only files in debian directory were modified).
    • For example: Current version is 1.0.0-3 and updated src from 1.0.0 to 2.0.0 -> Add changelog entry for 2.0.0-1.
    • For example: Current version is 2.0.0-2 and changed the rules files in debian directory -> Add a changelog entry for 2.0.0-3
  • The changelog is parsed for the package's version so be careful when adding changelog entries. See debian manual:changelog for more info.
  • Regenerate the deb as per above instructions.
  • Upload the new deb as per above instructions.

Run Raspbian image with balenaFin support

If you are running a pristine Raspbian image, you can install and configure it to support balenaFin by taking advantage of the balenafin-ify.sh tool. This script is meant to run on target (on a balenaFin board). It will configure the OS and download all the needed packages. Check the tool's help message for more info.

License

Copyright 2019 Rulemotion Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

balenafin-raspbian's People

Watchers

 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.