Skip to content

Commit

Permalink
builder - allow manually setting which dists to build for with __dist=
Browse files Browse the repository at this point in the history
 * currently defaults to "stretch buster"
  • Loading branch information
joolswills committed Jun 25, 2019
1 parent ce40053 commit 438b015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scriptmodules/admin/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ function chroot_build_builder() {
local ip="$(getIPAddress)"

local dist
local dists="$__dists"
[[ -z "$dists" ]] && dists="stretch buster"
local sys

for dist in stretch; do
for dist in $dists; do
local use_distcc=0
if [[ -d "$rootdir/admin/crosscomp/$dist" ]]; then
use_distcc=1
Expand Down

2 comments on commit 438b015

@joolswills
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction for commit msg - car is __dists=

@hhromic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi Jools, nice to see you are already working on Buster!

I've been tracking an issue related to building binaries for Buster under qemu here: RPi-Distro/pi-gen#271

This is affecting the building of official Raspbian images, so they moved internally to ARM-build server. The problem seems to be qemu running on non-arm hosts. In particular the readdir() function is broken (check the issue for more info).

I understand you also use qemu to build binaries for RetroPie, therefore I think is good for you to be aware of this problem.

Please sign in to comment.