diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch | 34 | ||||
-rw-r--r-- | meta/packages/ipkg-utils/ipkg-link_1.6+cvs20050404.bb | 20 |
2 files changed, 0 insertions, 54 deletions
diff --git a/meta/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch b/meta/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch deleted file mode 100644 index 7f495f9f4c..0000000000 --- a/meta/packages/ipkg-utils/ipkg-link/link-vfat-libs.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | --- ipkg-utils/ipkg-link.orig 2006-04-05 00:08:28.518992136 +0200 | ||
2 | +++ ipkg-utils/ipkg-link 2006-04-05 00:08:40.399186072 +0200 | ||
3 | @@ -58,6 +58,31 @@ | ||
4 | `ln -s "$PREFIX$line" "$line"` | ||
5 | fi | ||
6 | fi | ||
7 | + | ||
8 | + # The next function checks whether the _source_ file (ie: /media/card/something) | ||
9 | + # does actually exist. If it doesn't, it could by a library symlink (ie: libsomething.0.1 -> libsomething.0) | ||
10 | + # Since VFAT & friends do not support symlinks, these library links would not exist after installation | ||
11 | + # and trying to symlink them into the rootfs with ipkg-link results in unconnected symlinks in the rootfs. | ||
12 | + # So we use the real lib file in /media/card/whatever and create all needed symlinks in the rootfs | ||
13 | + # using the real file as source. | ||
14 | + | ||
15 | + if [ ! -e "$PREFIX$line" ]; then | ||
16 | + if ( echo "$line" | grep -q "lib" ) ; then | ||
17 | + libsearchfile=$(echo $line | sed -e "s#[a-z0-9/.]*/##g") | ||
18 | + libfoundfiles=$(find $PREFIX -name "$libsearchfile*") | ||
19 | + | ||
20 | + for liblinkfile in $libfoundfiles; do | ||
21 | + echo "Linking $line to $liblinkfile" | ||
22 | + # link will be pointing to nowhere | ||
23 | + if test -L $line; then | ||
24 | + rm -f $line | ||
25 | + fi | ||
26 | + ln -s $liblinkfile $line | ||
27 | + done | ||
28 | + else | ||
29 | + echo "WARNING: Source file [$PREFIX$line] is missing!" | ||
30 | + fi | ||
31 | + fi | ||
32 | done | ||
33 | } | ||
34 | |||
diff --git a/meta/packages/ipkg-utils/ipkg-link_1.6+cvs20050404.bb b/meta/packages/ipkg-utils/ipkg-link_1.6+cvs20050404.bb deleted file mode 100644 index 35e5ba1086..0000000000 --- a/meta/packages/ipkg-utils/ipkg-link_1.6+cvs20050404.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "Itsy Package Manager utilities link script" | ||
3 | LICENSE = "GPL" | ||
4 | CONFLICTS = "ipkg-utils" | ||
5 | SRCDATE = "20050404" | ||
6 | PR = "r4" | ||
7 | |||
8 | SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \ | ||
9 | file://link-vfat-libs.patch;patch=1" | ||
10 | |||
11 | S = "${WORKDIR}/ipkg-utils" | ||
12 | |||
13 | do_compile() { | ||
14 | : | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${bindir} | ||
19 | install -m 0755 ipkg-link ${D}${bindir} | ||
20 | } | ||