Giter Club home page Giter Club logo

raspberrypi-build's Introduction

raspberrypi-build

Build Status

Tool used to create custom Debian GNU/Linux images for Raspberry Pi. Based on pi-gen tool used to create the official raspberrypi.org Raspbian images.

Table of contents

Dependencies

On Debian-based systems:

apt-get install bash quilt parted qemu-user-static debootstrap zerofree \
dosfstools libcap2-bin grep rsync binfmt-support

Build

Run sudo ./run ./build.sh && sudo ./run ./mkimg.sh to build the image. The following files will be created:

  • rootfs/ - the root file system (/ and /boot/ partitions)
  • deploy/raspberrypi.img - the image to write to SD card

WARNING

During the execution of sudo ./run ./build.sh host directories /dev, /dev/pts, /proc and /sys are binded into rootfs/ to provide environment for chroot. They are unmounted in the end of script. However, script may fail, so they will remain mounted. If you run sudo rm -rf rootfs/, you can corrupt your host operating system state and you will have to reboot. Please be careful.

System configuration

The following information can be helpful when you connect:

  • Root password is disabled
  • User user has access via SSH with password password
  • SSH host keys are generated at first startup, so fingerprint is different for each installation of the same image
  • User has passwordless sudo

raspberrypi-build's People

Contributors

andrewmichaelsmith avatar bennuttall avatar bparzella avatar cfstras avatar chzchzchz avatar dcwangmit01 avatar gregmac avatar jsiverskog avatar knghtbrd avatar kotovalexarian avatar martignoni avatar rschulman avatar sam3d avatar staroselskii avatar tjstyle avatar xecdesign avatar

Stargazers

 avatar

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.