projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pas de test d'intégrité pour les liens symboliques
[hvlinux.git]
/
stage4
/
packages-update
diff --git
a/stage4/packages-update
b/stage4/packages-update
index
c636557
..
2c31259
100755
(executable)
--- a/
stage4/packages-update
+++ b/
stage4/packages-update
@@
-21,15
+21,17
@@
for module in ${XORG_MODULES_LIST}; do
if [ "${MOD_NAME}" = "driver" ]; then
if [ -n "${XORG_VIDEO_DRIVER}" ]; then
if [ "${MOD_NAME}" = "driver" ]; then
if [ -n "${XORG_VIDEO_DRIVER}" ]; then
- # Install only specifi
c
driver
+ # Install only specifi
ed video
driver
for ext in wget md5; do
for ext in wget md5; do
- sed -i -e "/xf86-video-${XORG_VIDEO_DRIVER}/!d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+ # Comment all xf86-video entries, except for specified driver:
+ sed -e "/xf86-video-${XORG_VIDEO_DRIVER}/!s/\(.*xf86-video.*\)/#\1/" -i ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
done
else
done
else
- #
Remov
e unwanted drivers
+ #
Install all drivers, except som
e unwanted drivers
for ext in wget md5; do
for excldrv in vmware newport xgixp geode; do
for ext in wget md5; do
for excldrv in vmware newport xgixp geode; do
- sed -i -e "/.*xf86-video-${excldrv}.*/d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+ sed -i -e "/.*xf86-video-${excldrv}.*/d" \
+ ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
done
done
fi
done
done
fi