view images/lfs-bootstrap/mnt/build/ @ 20:e2d5699cee3a

Fix a couple problems with the util-linux build.
author Rob Landley <>
date Sun, 06 Nov 2011 21:08:49 -0600
parents 0bdce741ba83
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