Builders, e.g. for OpenWrt or Linux, prepared by Docker
Go to file
Martin Kennedy 7b2d32bb59 Add an example setting up an env for the previous commit
Quoting:

  As for what ${args} would need to be for this to work:

  - You need to mount a +x build system prep script to /input.sh

  - You need to mount a +x build system output extractor to /output.sh

  - You need to mount a folder with input resources to /input

  - You need to mount an output folder to /output

  So, /input.sh could `cp /input/diffconfig /builder/openwrt/.config`,
  then cd to /builder/openwrt and run `make defconfig`. The ${CMD}
  could then actually build, and /output.sh could collect logs and
  build artefacts to /output.

This lot provides exactly that. The makefile in this new dir just
requires diffconfig to be populated; then run `make output` and wait.

Q: What about adding LibreMesh

A: Just add to input.sh (or add a script to it) which does the steps
described here: https://libremesh.org/development.html. You can avoid
the 'make menuconfig' bits by pre-building a diffconfig as needed. And
if you need to debug, add a /bin/sh.
2021-02-08 15:20:55 +00:00
openwrt Add an example setting up an env for the previous commit 2021-02-08 15:20:55 +00:00
.gitignore gitignore built/ -- for build sentinels 2021-02-08 15:06:19 +00:00
builder-entry.sh Initial setup 2021-02-06 21:47:58 +00:00
builder-start.sh Initial setup 2021-02-06 21:47:58 +00:00
builder.dockerfile Initial setup 2021-02-06 21:47:58 +00:00
docker_vars.sh Set up certain environment variables into a vars file 2021-02-08 14:54:02 +00:00
Makefile openwrt-builder-commit: For commit-specific OpenWrt builds 2021-02-08 15:11:41 +00:00
openwrt-builder-commit.dockerfile openwrt-builder-commit: For commit-specific OpenWrt builds 2021-02-08 15:11:41 +00:00
openwrt-builder-entry.sh openwrt-builder: dockerfile for an openwrt builder 2021-02-08 15:04:23 +00:00
openwrt-builder.dockerfile openwrt-builder: dockerfile for an openwrt builder 2021-02-08 15:04:23 +00:00