diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded/packages/ipkg-utils/ipkg-link | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.bz2 openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.xz openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.zip |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/ipkg-utils/ipkg-link')
-rw-r--r-- | openembedded/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/openembedded/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch b/openembedded/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch deleted file mode 100644 index 7f495f9f4..000000000 --- a/openembedded/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- ipkg-utils/ipkg-link.orig 2006-04-05 00:08:28.518992136 +0200 -+++ ipkg-utils/ipkg-link 2006-04-05 00:08:40.399186072 +0200 -@@ -58,6 +58,31 @@ - `ln -s "$PREFIX$line" "$line"` - fi - fi -+ -+ # The next function checks whether the _source_ file (ie: /media/card/something) -+ # does actually exist. If it doesn't, it could by a library symlink (ie: libsomething.0.1 -> libsomething.0) -+ # Since VFAT & friends do not support symlinks, these library links would not exist after installation -+ # and trying to symlink them into the rootfs with ipkg-link results in unconnected symlinks in the rootfs. -+ # So we use the real lib file in /media/card/whatever and create all needed symlinks in the rootfs -+ # using the real file as source. -+ -+ if [ ! -e "$PREFIX$line" ]; then -+ if ( echo "$line" | grep -q "lib" ) ; then -+ libsearchfile=$(echo $line | sed -e "s#[a-z0-9/.]*/##g") -+ libfoundfiles=$(find $PREFIX -name "$libsearchfile*") -+ -+ for liblinkfile in $libfoundfiles; do -+ echo "Linking $line to $liblinkfile" -+ # link will be pointing to nowhere -+ if test -L $line; then -+ rm -f $line -+ fi -+ ln -s $liblinkfile $line -+ done -+ else -+ echo "WARNING: Source file [$PREFIX$line] is missing!" -+ fi -+ fi - done - } - |