Skip to content

b-s101/build-raspberrypi-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Raspberry Pi Image

Build (and cross-compile) your own image for Raspberry Pi

Set of bash scripts for your Debian or Ubuntu Linux to create your own .img file for Raspberry Pi. Have your own image with YOUR content in minutes!

Initial script was taken from the [Klaus Maria Pfeiffer blog] (http://blog.kmp.or.at/2012/05/build-your-own-raspberry-pi-image/).

About initial code

Original script was created to burn Debian Wheezy, my target is Raspbian, which is better for Raspberry Pi. You can read more about Raspbian (and its difference from stock Debian) at project page: http://raspbian.org Anyways... it is possible to create pure Debian Wheezy images as well.

Instructions

It is possible to prepare environment on almost every Linux, where chroot, QEMU and debootstrap exists. I strictly recommend to install apt-cacher-ng (apt-get install apt-cacher-ng), that caches all downloaded deb packages and lets you to use deb_local_mirror, what's extreamely useful for further experiments, system won't download packages from internet anymore! [Read more about apt-cacher-ng] (https://www.unix-ag.uni-kl.de/~bloch/acng/html/config-servquick.html#config-client)

  1. run install.sh to install the required applications

  2. Run build_raspbian_sd_card.sh script, to write diretly to your SD card:

./build_raspbian_sd_card.sh /dev/sdX

OR to create IMG file

./build_raspbian_sd_card.sh

The resulting image will be placed in a folder named rpi within your build environment.

About

Build (and cross-compile) your own image for Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%