X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpackages-update;h=53ae3411540dafbb69c421f3cc52faf680d7f5d7;hb=45c5a2f834c42e914e684c784988f369118aa31b;hp=a9a33d6f1c9abe0c19371bf76ae650a737a0f5ab;hpb=e31a492ed6daa2caeb62aa9ce355c988a62672df;p=hvlinux.git diff --git a/stage0/packages-update b/stage0/packages-update index a9a33d6..53ae341 100755 --- a/stage0/packages-update +++ b/stage0/packages-update @@ -1,35 +1,32 @@ #!/bin/bash -LFS_STAGE="stage0" # We don't use LFS or BLFS patches because we want to carefully # select which patch get applied USE_CLFS_PATCHES=1 USE_HV_PATCHES=1 -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../functions-update -source ../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/v2.6" ${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_CORE} "gcc/${GCC_CORE}" -#fpkg ${EGLIBC} "http://cross-lfs.org/files/packages/svn" -fpkg_hv ${EGLIBC} -fpkg_hv ${EGLIBC_PORTS} +fpkg -e "tar.gz" ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure" +fpkg -m gnu ${BINUTILS} +fpkg -m gnu -s "gcc/${GCC}" ${GCC} +fpkg ${EGLIBC} ${CLFS_PKG_SVN_URL} +fpkg ${EGLIBC_PORTS} ${CLFS_PKG_SVN_URL} exit $?