view images/lfs-bootstrap/mnt/build/util-linux.sh @ 18:8b2a876d74a5

Apparently hg export/import don't properly support replacing a file with a symlink to another file, instead you get a file containing the symlink destination as text. Fix that.
author Rob Landley <rob@landley.net>
date Wed, 02 Nov 2011 00:47:41 -0500
parents 0bdce741ba83
children e2d5699cee3a
line wrap: on
line source

#!/bin/sh

sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
  -i $(grep -rl '/etc/adjtime' .) &&
mkdir -p /var/lib/hwclock &&
./configure --enable-arch --enable-partx --enable-write --disable-nls &&
make -j $CPUS &&
make install