view images/lfs-bootstrap/mnt/build/ @ 40:ef471ef37665 draft default tip

Yank reliance on ash.
author Rob Landley <>
date Sat, 18 Jul 2015 01:39:24 -0500
parents e2d5699cee3a
line wrap: on
line source


sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
  -i $(grep -rl '/etc/adjtime' .) &&
# uClibc hasn't got argp.h, and it's the wrong header to include anyway.
sed -e 's/<argp[.]h>/<errno.h>/' -i configure &&
# They never tested --disable-nls and use gettext() directly without masking it.
sed -e '/define _(/{n;/define N_(/a \# define gettext(Text) (Text)' -e '}' -i include/nls.h &&
mkdir -p /var/lib/hwclock &&
./configure --enable-arch --enable-partx --enable-write --disable-nls &&
make -j $CPUS &&
make install