Mercurial > hg > control-images
view common/builder.sh @ 29:f3e1afd794a5
The zlib developers remove each old version as the new one as released, to discourage people from using it (I.E. zlib). Remind me to copy the mirroring architecture into the control image shared infrastructure.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 10 Jun 2012 20:30:25 -0500 |
parents | 242a1e03ce15 |
children |
line wrap: on
line source
#!/bin/bash # Control image generation infrastructure using common bootstrap files. # Copy common infrastructure to target cp "$TOP/common/"{utility_functions.sh,bootstrap/*} "$WORK" || exit 1 if [ -e "$MYDIR/mnt" ] then cp -a "$MYDIR/mnt/." "$WORK" || exit 1 fi # Put package cache in the control image, so the target system image can # build from this source. SRCTREE="$WORK/packages" && mkdir "$SRCTREE" && announce "Download/extract source code" && EXTRACT_ALL=1 source "$MYDIR"/download.sh || exit 1 cleanup_oldfiles