Stage2 semble compléter ok
[hvlinux.git] / stage2 / packages-update
index 01ce4d0..fd191a2 100755 (executable)
@@ -1,6 +1,5 @@
-#!/bin/sh
+#!/bin/bash
 
-LFS_STAGE="stage2"
 USE_LFS_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_CLFS_PATCHES=1
@@ -14,15 +13,20 @@ source ../packages-list
 
 update_packages_init
 
+if [ ${#} -eq 1 -a "x${1}" = "xtest" ]; then
+    export TEST_INTEGRITY=1
+fi
+
 # These packages were already downloaded for stage0:
 lpkg     0 ${KERNEL}
 lpkg     0 ${EGLIBC}
 lpkg     0 ${GMP}
 lpkg     0 ${MPFR}
+lpkg     0 ${MPC}
 lpkg     0 ${PPL}
 lpkg     0 ${CLOOG_PPL}
 lpkg     0 ${BINUTILS}
-lpkg     0 ${GCC_CORE}
+lpkg     0 ${GCC}
 
 # These packages were already downloaded for stage1:
 lpkg     1 ${ZLIB}
@@ -53,7 +57,7 @@ lpkg     1 ${UDEV}
 lpkg     1 ${XZ_UTILS}
 
 # These packages are only for stage2
-fpkg       ${PERL} http://ftp.funet.fi/pub/CPAN/src
+fpkg -e tar.gz ${PERL} http://www.cpan.org/src/5.0
 fpkg       ${MANPAGES} http://www.kernel.org/pub/linux/docs/manpages
 fpkg       ${PKG_CONFIG} http://pkgconfig.freedesktop.org/releases
 fpkg       ${IANA} http://www.sethwklein.net/projects/iana-etc/downloads