X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=569318d45d025bc9b5a7bf865224439428c29095;hb=fdfe3465d577792d614b8ceae56c5a30e9e20481;hp=e6e9b0d262b9ee611f023c0c4739db91e2d4fc97;hpb=cd4743168caa0d3a5869188db99d0b0f5801bf42;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index e6e9b0d..569318d 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,20 +1,17 @@ #!/bin/bash -USE_LFS_PATCHES=1 -USE_LFS_OLD_PATCHES=1 -USE_BLFS_PATCHES=1 -USE_CLFS_PATCHES=1 -USE_HV_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" @@ -22,20 +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 -s "$(get_pkg_ver ${PPL})" ${PPL} \ - "http://bugseng.com/products/ppl/download/ftp/releases" +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} - -# For GCC, we don't use LFS or BLFS patches because we want to carefully -# select which patch get applied -unset USE_LFS_PATCHES -unset USE_BLFS_PATCHES fpkg -m gnu -s "gcc/${GCC}" ${GCC} -USE_LFS_PATCHES=1 -USE_BLFS_PATCHES=1 -fpkg ${EGLIBC} ${CLFS_PKG_COSMO_URL} -fpkg ${EGLIBC_PORTS} ${CLFS_PKG_COSMO_URL} +if [ x"${INSTALL_GLIBC}" == x1 ]; then + fpkg -m gnu ${GLIBC} +fi exit $?