Revision | ddc36db45e1df40d4ecd9824e6d36f286e575dc3 (tree) |
---|---|
Zeit | 2012-03-31 14:49:05 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[LFS] SVN-20120328.
@@ -10,7 +10,9 @@ echo $CHAP: $TARGET | ||
10 | 10 | LFS=/mnt/lfs |
11 | 11 | |
12 | 12 | chroot "$LFS" /tools/bin/env -i \ |
13 | - HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ | |
13 | + HOME=/root \ | |
14 | + TERM="$TERM" \ | |
15 | + PS1='\u:\w\$ ' \ | |
14 | 16 | PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ |
15 | 17 | /tools/bin/bash --login +h |
16 | 18 |
@@ -13,6 +13,7 @@ ln -sv /tools/bin/{bash,cat,echo,pwd,stty} /bin | ||
13 | 13 | ln -sv /tools/bin/perl /usr/bin |
14 | 14 | ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib |
15 | 15 | ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib |
16 | +sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la | |
16 | 17 | ln -sv bash /bin/sh |
17 | 18 | |
18 | 19 | touch /etc/mtab |
@@ -44,10 +45,10 @@ mail:x:34: | ||
44 | 45 | nogroup:x:99: |
45 | 46 | EOF |
46 | 47 | |
47 | -touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} | |
48 | -chgrp -v utmp /var/run/utmp /var/log/lastlog | |
49 | -chmod -v 664 /var/run/utmp /var/log/lastlog | |
50 | -chmod -v 660 /var/log/btmp | |
48 | +touch /var/log/{btmp,lastlog,wtmp} | |
49 | +chgrp -v utmp /var/log/lastlog | |
50 | +chmod -v 664 /var/log/lastlog | |
51 | +chmod -v 600 /var/log/btmp | |
51 | 52 | |
52 | 53 | exec /tools/bin/bash --login +h |
53 | 54 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=3.2.11 | |
6 | +VER=3.3 | |
7 | 7 | TARGET=linux-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=3.37 | |
6 | +VER=3.38 | |
7 | 7 | TARGET=man-pages-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,9 +3,9 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=2.14.1 | |
6 | +VER=2.15 | |
7 | 7 | TARGET=glibc-$VER |
8 | -TARGETBALL=$TARGET.tar.bz2 | |
8 | +TARGETBALL=$TARGET.tar.xz | |
9 | 9 | TARGETDIR=$TARGET |
10 | 10 | |
11 | 11 | echo $CHAP: $TARGET |
@@ -33,14 +33,9 @@ sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl | ||
33 | 33 | |
34 | 34 | sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in |
35 | 35 | |
36 | -patch -Np1 -i $DLD/glibc-$VER-fixes-1.patch \ | |
37 | - 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 | |
38 | - | |
36 | +echo \ \ Patching... | |
39 | 37 | patch -Np1 -i $DLD/glibc-$VER-gcc_fix-1.patch \ |
40 | - 1>> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 | |
41 | - | |
42 | -sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \ | |
43 | -nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timed{rd,wr}lock.S | |
38 | + 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 | |
44 | 39 | |
45 | 40 | mkdir -v ../glibc-build |
46 | 41 | cd ../glibc-build |
@@ -50,9 +45,12 @@ case `uname -m` in | ||
50 | 45 | esac |
51 | 46 | |
52 | 47 | echo \ \ Configuring... |
53 | -../glibc-2.14.1/configure --prefix=/usr \ | |
54 | - --disable-profile --enable-add-ons \ | |
55 | - --enable-kernel=2.6.25 --libexecdir=/usr/lib/glibc \ | |
48 | +../glibc-$VER/configure \ | |
49 | + --prefix=/usr \ | |
50 | + --disable-profile \ | |
51 | + --enable-add-ons \ | |
52 | + --enable-kernel=2.6.25 \ | |
53 | + --libexecdir=/usr/lib/glibc \ | |
56 | 54 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
57 | 55 | |
58 | 56 | echo \ \ Making... |
@@ -30,6 +30,10 @@ sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in | ||
30 | 30 | sed -i "/exception_defines.h/d" ld/testsuite/ld-elf/new.cc |
31 | 31 | sed -i "s/-fvtable-gc //" ld/testsuite/ld-selective/selective.exp |
32 | 32 | |
33 | +echo \ \ Patching... | |
34 | +patch -Np1 -i $DLD/binutils-2.22-build_fix-1.patch \ | |
35 | + 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1 | |
36 | + | |
33 | 37 | mkdir -v ../binutils-build |
34 | 38 | cd ../binutils-build |
35 | 39 |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=4.6.3 | |
6 | +VER=4.7.0 | |
7 | 7 | TARGET=gcc-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.bz2 |
9 | 9 | TARGETDIR=$TARGET |
@@ -37,11 +37,16 @@ mkdir -v ../gcc-build | ||
37 | 37 | cd ../gcc-build |
38 | 38 | |
39 | 39 | echo \ \ Configuring... |
40 | -../gcc-$VER/configure --prefix=/usr \ | |
41 | - --libexecdir=/usr/lib --enable-shared \ | |
42 | - --enable-threads=posix --enable-__cxa_atexit \ | |
43 | - --enable-clocale=gnu --enable-languages=c,c++ \ | |
44 | - --disable-multilib --disable-bootstrap --with-system-zlib \ | |
40 | +../gcc-$VER/configure --prefix=/usr \ | |
41 | + --libexecdir=/usr/lib \ | |
42 | + --enable-shared \ | |
43 | + --enable-threads=posix \ | |
44 | + --enable-__cxa_atexit \ | |
45 | + --enable-clocale=gnu \ | |
46 | + --enable-languages=c,c++ \ | |
47 | + --disable-multilib \ | |
48 | + --disable-bootstrap \ | |
49 | + --with-system-zlib \ | |
45 | 50 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
46 | 51 | |
47 | 52 | echo \ \ Making... |
@@ -76,6 +81,18 @@ grep found dummy.log | ||
76 | 81 | |
77 | 82 | rm -v dummy.c a.out dummy.log |
78 | 83 | |
84 | +case `uname -m` in | |
85 | + i?86) GDBDIR=/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/$VER/ ;; | |
86 | + *) GDBDIR=/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/$VER/ ;; | |
87 | +esac | |
88 | + | |
89 | +mkdir -pv $GDBDIR | |
90 | +paco -p+ $TARGET "\ | |
91 | +mv -v /usr/lib/*gdb.py $GDBDIR" \ | |
92 | + 1>> $LOG/$CHAP.$TARGET.4_install.log 2>&1 || exit 1 | |
93 | + | |
94 | +unset GDBDIR | |
95 | + | |
79 | 96 | END=`date +'%Y/%m/%d %H:%M:%S.%N'` |
80 | 97 | |
81 | 98 | echo $CHAP, $TARGET, $START, $END \ |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=1.42 | |
6 | +VER=1.42.1 | |
7 | 7 | TARGET=e2fsprogs-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.gz |
9 | 9 | TARGETDIR=$TARGET |
@@ -27,10 +27,15 @@ mkdir -v build | ||
27 | 27 | cd build |
28 | 28 | |
29 | 29 | echo \ \ Configuring... |
30 | -PKG_CONFIG=/tools/bin/true LDFLAGS="-lblkid -luuid" \ | |
31 | - ../configure --prefix=/usr --with-root-prefix="" \ | |
32 | - --enable-elf-shlibs --disable-libblkid --disable-libuuid \ | |
33 | - --disable-uuidd --disable-fsck \ | |
30 | +PKG_CONFIG=/tools/bin/true \ | |
31 | +LDFLAGS="-lblkid -luuid" \ | |
32 | +../configure --prefix=/usr \ | |
33 | + --with-root-prefix="" \ | |
34 | + --enable-elf-shlibs \ | |
35 | + --disable-libblkid \ | |
36 | + --disable-libuuid \ | |
37 | + --disable-uuidd \ | |
38 | + --disable-fsck \ | |
34 | 39 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
35 | 40 | |
36 | 41 | echo \ \ Making... |
@@ -33,8 +33,9 @@ patch -Np1 -i $DLD/coreutils-$VER-i18n-1.patch || exit 1 | ||
33 | 33 | #sed -i 's/^cmp sparse copy/wait; cmp sparse copy/' tests/cp/sparse-to-pipe |
34 | 34 | |
35 | 35 | echo \ \ Configuring... |
36 | -./configure --prefix=/usr --libexecdir=/usr/lib \ | |
37 | - --enable-no-install-program=kill,uptime \ | |
36 | +./configure --prefix=/usr \ | |
37 | + --libexecdir=/usr/lib \ | |
38 | + --enable-no-install-program=kill,uptime \ | |
38 | 39 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
39 | 40 | |
40 | 41 | echo \ \ Making... |
@@ -27,10 +27,14 @@ cd $TARGETDIR | ||
27 | 27 | #patch -Np1 -i $DLD/inetutils-1.6-no_server_man_pages-1.patch |
28 | 28 | |
29 | 29 | echo \ \ Configuring... |
30 | -./configure --prefix=/usr --libexecdir=/usr/sbin \ | |
31 | - --localstatedir=/var --disable-ifconfig \ | |
32 | - --disable-logger --disable-syslogd --disable-whois \ | |
33 | - --disable-servers \ | |
30 | +./configure --prefix=/usr \ | |
31 | + --libexecdir=/usr/sbin \ | |
32 | + --localstatedir=/var \ | |
33 | + --disable-ifconfig \ | |
34 | + --disable-logger \ | |
35 | + --disable-syslogd \ | |
36 | + --disable-whois \ | |
37 | + --disable-servers \ | |
34 | 38 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
35 | 39 | |
36 | 40 | echo \ \ Making... |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=3.2.0 | |
6 | +VER=3.3.0 | |
7 | 7 | TARGET=iproute2-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=6 | |
6 | +VER=7 | |
7 | 7 | TARGET=kmod-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -30,8 +30,12 @@ liblzma_CFLAGS="-I/usr/include" \ | ||
30 | 30 | liblzma_LIBS="-L/lib -llzma" \ |
31 | 31 | zlib_CFLAGS="-I/usr/include" \ |
32 | 32 | zlib_LIBS="-L/lib -lz" \ |
33 | -./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc \ | |
34 | - --with-xz --with-zlib \ | |
33 | +./configure --prefix=/usr \ | |
34 | + --bindir=/bin \ | |
35 | + --libdir=/lib \ | |
36 | + --sysconfdir=/etc \ | |
37 | + --with-xz \ | |
38 | + --with-zlib \ | |
35 | 39 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
36 | 40 | |
37 | 41 | echo \ \ Making... |
@@ -24,13 +24,17 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'` | ||
24 | 24 | cd $TARGETDIR |
25 | 25 | |
26 | 26 | echo \ \ Configuring... |
27 | -PKG_CONFIG=/tools/bin/true \ | |
28 | - libpipeline_CFLAGS='' \ | |
29 | - libpipeline_LIBS='-lpipeline' \ | |
30 | - ./configure --prefix=/usr --libexecdir=/usr/lib \ | |
31 | - --docdir=/usr/share/doc/man-db-$VER --sysconfdir=/etc \ | |
32 | - --disable-setuid --with-browser=/usr/bin/lynx \ | |
33 | - --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap \ | |
27 | +PKG_CONFIG=/tools/bin/true \ | |
28 | +libpipeline_CFLAGS='' \ | |
29 | +libpipeline_LIBS='-lpipeline' \ | |
30 | +./configure --prefix=/usr \ | |
31 | + --libexecdir=/usr/lib \ | |
32 | + --docdir=/usr/share/doc/man-db-2.6.1 \ | |
33 | + --sysconfdir=/etc \ | |
34 | + --disable-setuid \ | |
35 | + --with-browser=/usr/bin/lynx \ | |
36 | + --with-vgrind=/usr/bin/vgrind \ | |
37 | + --with-grap=/usr/bin/grap \ | |
34 | 38 | 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1 |
35 | 39 | |
36 | 40 | echo \ \ Making... |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=181 | |
6 | +VER=182 | |
7 | 7 | TARGET=udev-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -1,8 +1,8 @@ | ||
1 | 1 | #!/bin/sh |
2 | 2 | |
3 | 3 | #./6paco.sh || exit |
4 | -./6.07.sh || exit | |
5 | -./6.08.sh || exit | |
4 | +#./6.07.sh || exit | |
5 | +#./6.08.sh || exit | |
6 | 6 | ./6.09.sh || exit |
7 | 7 | ./6.10.sh || exit |
8 | 8 | ./6.11.sh || exit |
@@ -3,7 +3,7 @@ | ||
3 | 3 | THISFILE=`basename $0` |
4 | 4 | CHAP=`echo $THISFILE | sed s/\.sh//` |
5 | 5 | |
6 | -VER=3.2.11 | |
6 | +VER=3.3 | |
7 | 7 | TARGET=linux-$VER |
8 | 8 | TARGETBALL=$TARGET.tar.xz |
9 | 9 | TARGETDIR=$TARGET |
@@ -1,5 +1,5 @@ | ||
1 | -BOOTSCRIPTVER=20120229 | |
2 | -SVNVER=20120314 | |
1 | +BOOTSCRIPTVER=20120322 | |
2 | +SVNVER=20120328 | |
3 | 3 | |
4 | 4 | LFS=/mnt/lfs |
5 | 5 | SRC=$LFS/sources/LFS |