view sources/sections/ @ 1839:c8293b3ab81f draft default tip

Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author Rob Landley <>
date Sun, 17 Jan 2016 21:18:52 -0600
parents acaa88463c0c
line wrap: on
line source

# wire around some tests ./configure can't run when cross-compiling.
echo -e "ac_cv_func_setvbuf_reversed=no\nbash_cv_sys_named_pipes=yes\nbash_cv_have_mbstate_t=yes\nbash_cv_getenv_redef=no\nac_cv_func_bindtextdomain=nyet" > config.cache &&
  RANLIB="${CC_PREFIX}ranlib" ./configure --prefix="$STAGE_DIR" \
  --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --cache-file=config.cache \
  --without-bash-malloc --disable-readline &&
# note: doesn't work with -j
make &&
make install &&
# Make bash the default shell.
ln -sf bash "$STAGE_DIR/bin/sh"