Git Product home page Git Product logo

redpesk-sdk-tools's Introduction

redpesk LocalBuilder installer

This set of two scripts is dedicated to developers.

install-redpesk-localbuilder.sh setups a build container on your machine, this container has all the things you need to perform cross-compilation for a redpesk embedded target. It can also install other flavours of supported containers.

install-redpesk-sdk.sh installs the redpesk ApplicationFramework build environnement on your host (ie, the AFB binder, with the needed libraries and header files), for developers that feel more comfortable with developing in a native development.

# To configure LXD on your host
./install-redpesk-localbuilder.sh config_host
# To Install the container
./install-redpesk-localbuilder.sh create -c <your_container_name>

and follow the instructions.

You will be prompted for your host's root password to perform the installation of LXD

At the end of the script, you will also be asked for an optional host directory that you want to have to access to within the container.

Depending of your host distribution, you may need to relaunch the script after a reboot or not.

./install-redpesk-localbuilder.sh clean -c <your_container_name>

can be useful when things go bad.

Once the container is created, is is accessible through ssh:

ssh devel@${container_name}
passwd:*devel*

To set the environnement to compile for aarch64, do:

. /usr/aarch64-linux-gnu/bin/cross-profile-setup-aarch64.sh

Troubleshooting

Error: TLS certificate

In case of you encounter follow error message :
Error: get "https://download.redpesk.bzh:8443/1.0": tls: failed to verify certificate:x509: certificate has expired or is not yet valid

Just relaunch installation script with --clean-remote option :

# launch the script
./install-redpesk-localbuilder.sh create -c ${container_name} --clean-remote

Cleans things up

If you want to deletes container and cleans things up, use clean action:

./install-redpesk-localbuilder.sh clean -c ${container_name}

redpesk-sdk-tools's People

Contributors

ronan22 avatar kooltux avatar val-gfr avatar sebd71 avatar armandbeneteau avatar johanng56 avatar ddtlk avatar salmaraiss avatar eargouarch avatar aaillet avatar tbultel 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.