Stage2 semble compléter ok
[hvlinux.git] / stage4 / packages-update
index 8d0baec..5d0f82a 100755 (executable)
@@ -1,6 +1,5 @@
-#!/bin/sh
+#!/bin/bash
 
-LFS_STAGE="stage4"
 USE_LFS_PATCHES=1
 USE_BLFS_PATCHES=1
 USE_HV_PATCHES=1
@@ -23,7 +22,7 @@ fi
 
 lpkg     3 ${PYTHON}
 
-XORG_MODULES_LIST="${XORG_APP} ${XORG_DATA} ${XORG_DRIVER} ${XORG_FONT} ${XORG_LIB} ${XORG_PROTO} ${XORG_UTIL}"
+XORG_MODULES_LIST="${XORG_APP} ${XORG_DRIVER} ${XORG_FONT} ${XORG_LIB} ${XORG_PROTO} ${XORG_UTIL}"
 
 for module in ${XORG_MODULES_LIST}; do
     MOD_NAME=$(get_pkg_name ${module})
@@ -35,9 +34,9 @@ for module in ${XORG_MODULES_LIST}; do
     if [ "${MOD_NAME}" = "driver" ]; then
         # Remove unwanted drivers
         for ext in wget md5; do
-            sed -i -e '/.*xf86-video-vmware.*/d' ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
-            sed -i -e '/.*xf86-video-newport.*/d' ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
-            sed -i -e '/.*xf86-video-xgixp.*/d' ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+            for excldrv in vmware newport xgixp geode; do
+                sed -i -e "/.*xf86-video-${excldrv}.*/d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+            done
         done
     fi
     if [ "${MOD_NAME}" = "app" ]; then
@@ -88,7 +87,7 @@ fpkg       ${HAL_INFO} "http://hal.freedesktop.org/releases"
 fpkg_xorg  ${XORG_SERVER} xserver
 fpkg_xorg  ${XDM} app
 
-fpkg -e tgz ${XTERM} "http://ftp.osuosl.org/pub/blfs/svn/x/"
+fpkg -e tgz ${XTERM} "ftp://invisible-island.net/xterm"
 
 fpkg       ${T1LIB} "http://www.ibiblio.org/pub/Linux/libs/graphics"