X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=569318d45d025bc9b5a7bf865224439428c29095;hb=fdfe3465d577792d614b8ceae56c5a30e9e20481;hp=edef44539a8b9761365def25c607e87516f7515a;hpb=b99ee4fadea43f239cf2df146fb93bfc95bd783e;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index edef445..569318d 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,18 +1,17 @@ #!/bin/bash -USE_LFS_PATCHES=1 -USE_BLFS_PATCHES=1 -USE_CLFS_PATCHES=1 - source ../functions/main update_packages_init ${*} -if [ "x${KERNEL}" = "x${NOUVEAU_NVIDIA_KERNEL}" ]; then +if [ x"${INSTALL_GLIBC}" == x"1" ]; then + if [ "x${KERNEL}" = "x${NOUVEAU_NVIDIA_KERNEL}" ]; then # Special case - fpkg -m hv ${KERNEL} -else - fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} ${KERNEL_URL} + fpkg -m hv ${KERNEL} + else + fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} \ + ${KERNEL_URL} + fi fi fpkg -e "tar.gz" ${FILE_PKG} "ftp://ftp.astron.com/pub/file" @@ -20,9 +19,13 @@ fpkg -m gnu ${NCURSES} fpkg -m gnu ${GMP} fpkg -m gnu ${MPFR} fpkg -e "tar.gz" ${MPC} "http://www.multiprecision.org/mpc/download" +fpkg ${ISL} "http://isl.gforge.inria.fr" fpkg -e "tar.gz" ${CLOOG} "http://www.bastoul.net/cloog/pages/download" fpkg -e "tar.bz2" -m gnu ${BINUTILS} fpkg -m gnu -s "gcc/${GCC}" ${GCC} -fpkg -m gnu ${GLIBC} + +if [ x"${INSTALL_GLIBC}" == x1 ]; then + fpkg -m gnu ${GLIBC} +fi exit $?