-#!/bin/sh
+#!/bin/bash
-LFS_STAGE="stage4"
USE_LFS_PATCHES=1
USE_BLFS_PATCHES=1
USE_HV_PATCHES=1
# Reading system configuration informations, functions and package versions.
source ../sysinfos
source ../functions
-source ../functions-update
+source ../functions-fpkg
source ../packages-list
# Execute a return statement instead of exit, to be able to continue with
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})
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
fpkg ${HAL_INFO} "http://hal.freedesktop.org/releases"
fpkg_xorg ${XORG_SERVER} xserver
-fpkg ${XDM} app
+fpkg_xorg ${XDM} app
fpkg -e tgz ${XTERM} "ftp://invisible-island.net/xterm"