Coder Social home page Coder Social logo

buildroot's Introduction

Buildroot container

Build Status

This is a Docker container for Buildroot for building root file systems (rootfs). It was created to support the Docker nano project.

The configuration for this repository builds an empty rootfs because it is intended to serve as a template for your own configurations. Get started building your own product by cloning the template repository.

Building

To build the rootfs follow these steps.

  1. ./nano build image – Build the Docker image locally and tag as buildroot.
  2. ./nano run – Removes any previous container started by this script and runs a new interactive container named Buildroot from the local buildroot image.
  3. buildroot-configure – Configure Buildroot to install desired packages.
  4. buildroot – Build new rootfs.
  5. [Ctrl]+[D] – Exit container.
  6. ./nano pull rootfs – Copies the compressed rootfs tarball from the Buildroot container to the working directory.
  7. ./nano pull config – Copies the Buildroot configuration if changes have been made.

BusyBox

To build BusyBox follow these steps.

  1. busybox-configure – Configure BusyBox to install the desired utilities.
  2. buildroot-configure – Configure Buildroot to build BusyBox from the target packages menu.
  3. Change the BusyBox configuration file setting to point to /etc/busybox.conf.

Creating a Docker image

A rootfs tarball can be directly imported as a new Docker image using the following command, where foo is the name of the image.

docker import - foo < rootfs.tar.xz

The image can be run normally using a command similar to the following.

docker run -it foo /usr/bin/bar

buildroot's People

Contributors

bilge avatar

Watchers

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