This is a very compressed version of How to become a PTXdist Guru.
PTXdist is a build system to reproducably build Linux distributions from source. DistroKit is a Board Support Package for embedded systems, using PTXdist.
- get a fast machine with at least ~15 GB of free space
- install PTXDist, version 2016.07.0
- install the OSELAS.Toolchain, version 2014.12.x for
arm-v7a-linux-gnueabihf
git clone https://github.com/rohieb/DistroKit-rpi-ibrdtn
cd DistroKit-rpi-ibrdtn
- optionally,
ptxdist menuconfig
to select software to build - optionally,
ptxdist get
to download all necessary source tarballs before building. Otherwise, this is done by the next step on the fly.
- if some source packages are not found while downloading, google them (including the version!) and place the tarball in
src/
. (Luckily, the Internet does not forget.) - if the toolchain is not autodetected, do something like
ptxdist toolchain /path/to/OSELAS.Toolchain-2014.12.*/arm-1136jfs-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized/bin/
ptxdist images
- get a coffee. Or go to sleep. This will take some time.
- use the boot partition from a Raspbian image, and use
platform-rpi/images/root.ext2
for the second partition of your SD card.