X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=3fe8587b3d72e65a9a5df9051d16355caffb267b;hb=6890ab467c34bc0ae1fccf18a521c3cedfa442a2;hp=4b1ad8bb32eeb21b56893eb3b838bb04615d26d3;hpb=2ad910e22979500192ea43d5599ad003440744a4;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index 4b1ad8b..3fe8587 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,34 +1,29 @@ #!/bin/bash -# We don't use LFS or BLFS patches because we want to carefully -# select which patch get applied +USE_LFS_PATCHES=1 +USE_BLFS_PATCHES=1 USE_CLFS_PATCHES=1 -USE_HV_PATCHES=1 -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -source ../functions-fpkg -source ../config/packages-list +source ../functions/main -update_packages_init +update_packages_init ${*} -if [ ${#} -eq 1 -a "x${1}" = "xtest" ]; then - export TEST_INTEGRITY=1 +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} fi -fpkg ${KERNEL} "http://www.kernel.org/pub/linux/kernel/v2.6" -fpkg ${FILE_PKG} "ftp://ftp.astron.com/pub/file" -fpkg_gnu ${NCURSES} -fpkg_gnu ${GMP} -fpkg_gnu ${MPFR} +fpkg -e "tar.gz" ${FILE_PKG} "ftp://ftp.astron.com/pub/file" +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://www.cs.unipr.it/ppl/Download/ftp/releases" -fpkg ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure" -fpkg_gnu ${BINUTILS} -fpkg_gnu ${GCC} "gcc/${GCC}" -fpkg ${EGLIBC} "http://cross-lfs.org/files/packages/svn" -fpkg ${EGLIBC_PORTS} "http://cross-lfs.org/files/packages/svn" +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 ${EGLIBC} ${CLFS_PKG_COSMO_URL} +fpkg ${EGLIBC_PORTS} ${CLFS_PKG_COSMO_URL} exit $?