Mise à jour linux-3.1.6
[hvlinux.git] / stage0 / packages-update
index 52f11a2..861614f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
 
@@ -13,7 +13,7 @@ if [ "x${KERNEL}" = "x${NOUVEAU_NVIDIA_KERNEL}" ]; then
     # Special case
     fpkg -m hv ${KERNEL}
 else
-    fpkg -s "linux/kernel/v$(get_pkg_ver2 ${KERNEL})" ${KERNEL} ${KERNEL_URL}
+    fpkg -s "linux/kernel/v$(get_pkg_ver1 ${KERNEL}).0" ${KERNEL} ${KERNEL_URL}
 fi
 
 fpkg -e "tar.gz" ${FILE_PKG} "ftp://ftp.astron.com/pub/file"
@@ -25,7 +25,15 @@ fpkg -s "$(get_pkg_ver ${PPL})" ${PPL} \
     "http://bugseng.com/products/ppl/download/ftp/releases"
 fpkg -e "tar.gz" ${CLOOG_PPL} "ftp://gcc.gnu.org/pub/gcc/infrastructure"
 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_SVN_URL}
 fpkg ${EGLIBC_PORTS} ${CLFS_PKG_SVN_URL}