wok-4.x diff evas/receipt @ rev 3436
module-init-tools/depmod: force full path for busybox modprobe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 16:45:39 2009 +0200 (2009-06-13) |
parents | f06cae48d68d |
children | 2c110965aa8b |
line diff
1.1 --- a/evas/receipt Sat May 09 09:45:14 2009 +0200 1.2 +++ b/evas/receipt Sat Jun 13 16:45:39 2009 +0200 1.3 @@ -32,5 +32,13 @@ 1.4 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.5 cp -a $_pkg/usr/lib/evas $fs/usr/lib 1.6 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a 1.7 + for i in $fs/usr/lib/*.so ; do 1.8 + [ -L $i ] || continue 1.9 + [ -e $i.0 ] && continue 1.10 + target=$(readlink $i) 1.11 + case "$target" in 1.12 + *.so.0.*) ln -s $target $i.0;; 1.13 + esac 1.14 + done 1.15 } 1.16