Mercurial > hg > aboriginal
comparison sources/native-builds/bootstrap-skeleton/files/build-one-package.sh @ 1269:7a60afa1846c
More tweaks to bootstrap-skeleton, implement the first half of lfs-bootstrap for Linux From Scratch 6.7 against the new infrastructure, and tweak gentoo build to stay current with bootstrap-skeleton changes. (Now more common infrastructure, and requires package-list file.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 24 Oct 2010 04:17:15 -0500 |
parents | c264495fbf21 |
children |
comparison
equal
deleted
inserted
replaced
1268:30bab195be94 | 1269:7a60afa1846c |
---|---|
23 rm -rf "/home/$1" && | 23 rm -rf "/home/$1" && |
24 cp -sfR "/mnt/packages/$1" "$1" && | 24 cp -sfR "/mnt/packages/$1" "$1" && |
25 cd "$1" || exit 1 | 25 cd "$1" || exit 1 |
26 | 26 |
27 # Lobotomize config.guess so it won't complain about unknown target types. | 27 # Lobotomize config.guess so it won't complain about unknown target types. |
28 # 99% of packages do not care, but autoconf throws a temper tantrum if | |
29 # the version of autoconf that created this back when the package shipped | |
30 # didn't know what a microblaze or hexagon was. Repeat after me: | |
31 # "Autoconf is useless" | |
28 | 32 |
29 for guess in $(find . -name config.guess) | 33 for guess in $(find . -name config.guess) |
30 do | 34 do |
31 rm "$guess" && | 35 rm "$guess" && |
32 echo -e "#!/bin/sh\ngcc -dumpmachine" > "$guess" || exit 1 | 36 echo -e "#!/bin/sh\ngcc -dumpmachine" > "$guess" || exit 1 |