GithubHelp home page GithubHelp logo

sergelhr / docker_libreboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from risapav/docker_libreboot

0.0 0.0 0.0 13.76 MB

Generate alternative bios, LibreBoot

License: GNU General Public License v3.0

Shell 19.74% C 62.54% Ada 3.14% Makefile 2.63% Dockerfile 6.79% ASL 5.15%

docker_libreboot's Introduction

docker_libreboot

Generate alternative bios, LIBREBOOT

Brief Introductions

In order for everything to work properly, it is necessary to familiarize yourself with the information from the page

and have the necessary Git and Docker utilities ready. The system I use is Ubuntu.

How to prepare utilities

Clone repository to local PC

Make sure git is installed.

git clone [email protected]:risapav/docker_libreboot.git && cd docker_libreboot


git clone https://github.com/risapav/docker_libreboot.git && cd docker_libreboot

Build libreboot docker environment

Prepare Docker environment, Docker should be installed and running. The philosophy of creating the final bios file is searchable on the site:

# building pure sshd resvice with root access sourced from github
docker build https://github.com/risapav/docker_libreboot.git -t libreboot-sdk 

# building pure sshd resvice with root access from local repository
docker build -t libreboot-sdk .

# or
docker build risapav/docker_libreboot -t libreboot-sdk 

How to run container

You should run container:

docker run \
  --rm \
  -it \
  --user "$(id -u):$(id -g)" \
  --entrypoint /bin/bash \
  -v $PWD/project:/project \
  -v $PWD/lbmk/tmp:/home/sdk/lbmk/tmp \
  -v $PWD/lbmk/src:/home/sdk/lbmk/src \
  -v $PWD/lbmk/bin:/home/sdk/lbmk/bin \
  -v $PWD/lbmk/elf:/home/sdk/lbmk/elf \
  -v $PWD/lbmk/resource:/home/sdk/lbmk/resource \
  -v $PWD/lbmk/config:/home/sdk/lbmk/config \
  -v $PWD/lbmk/include:/home/sdk/lbmk/include \
  -v $PWD/lbmk/script:/home/sdk/lbmk/script \
  -v $PWD/lbmk/util:/home/sdk/lbmk/util \
  libreboot-sdk

docker run \
  --rm \
  -it \
  --user "$(id -u):$(id -g)" \
  --entrypoint /bin/bash \
  -v $PWD/project:/project \
  -v $PWD/lbmk:/home/sdk/lbmk \
  libreboot-sdk

# -v $PWD/config:/home/sdk/lbmk/config \
# --mount type=bind,source="$(pwd)"/cfg,target=/home/sdk/lbmk/config \

Libreboot’s build system named lbmk is accessible within docker container. How to work with lbmk is described in the following link:

Solved cases when deploying LibreBoot

docker_libreboot's People

Contributors

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