Coder Social home page Coder Social logo

diaspberry

Host diaspora* conveniently on your Raspberry Pi

Master Build status
Develop Build status

Build steps

  1. Install packages on the build host

  2. Clone Poky

    $ git clone [email protected]:diaspberry/poky.git
    
  3. Clone Raspberry Pi Meta Layer

    $ cd poky
    $ git clone [email protected]:diaspberry/meta-raspberrypi.git
    
  4. Clone Diaspberry Meta Layer

    $ git clone [email protected]:diaspberry/meta-diaspberry.git
    
  5. Checkout Yocto release branch

    $ git checkout -b krogoth origin/krogoth
    
  6. Initialize the Build Environment

    $ source oe-init-build-env build
    
  7. Adjust the build cofiguration

    $ vim conf/local.conf
    
    --- 8< ---
    BB_NUMBER_THREADS = "9"
    PARALLEL_MAKE = "-j 9"
    MACHINE ?= "raspberrypi"
    GPU_MEM = "16"
    --- >8 ---
    
  8. Adjust the Bit Bake Layers configuration

    $ vim conf/bblayers.conf
    BBLAYERS ?= " \
        /workspace/diaspberry/poky/meta \
        /workspace/diaspberry/poky/meta-yocto \
        /workspace/diaspberry/poky/meta-yocto-bsp \
        /workspace/diaspberry/poky/meta-raspberrypi \
        /workspace/diaspberry/poky/meta-diaspberry \
        "
    
  9. Build the Basic image, this takes some time (~1 hour on fast machines)

    $ bitbake rpi-basic-image
    
  10. Copy the image on a sd card. ATTENTION: Choose the right device for the SD Card carefully!

    $ sudo dd if=tmp/deploy/images/rpi-basic-image-raspberrypi.rpi-sdimg of=</dev/sdcard> bs=1M
    

Done. You can now put the SD Card into your Pi and boot Diaspberry.

Configuration

TODO: Write some instructions regarding the Setup Wizard.

Diaspberry's Projects

diaspberry icon diaspberry

Host diaspora* conveniently on your Raspberry Pi

diaspora icon diaspora

A privacy-aware, distributed, open source social network.

meta-diaspberry icon meta-diaspberry

Yocto Meta Layer that contains all packages required for Diaspberry

poky icon poky

Yocto Project Fork - Poky

wizard icon wizard

Configuration Wizard for Diaspberry

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.