diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
commit | 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch) | |
tree | bf879bea7ef8517ba8c3d1286ef300401d3d484c /ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch | |
parent | 101e2f1623def0a355d20aacb8bd93810703e834 (diff) |
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded
2004/12/09 03:39:39-06:00 kergoth.com!kergoth
Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit.
BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch')
-rw-r--r-- | ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch b/ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch deleted file mode 100644 index ba503d963f..0000000000 --- a/ipkg-utils/ipkg-utils-1.6cvs/fix-ipkg-link.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- ../ipkg-link-1.6cvs-r0/ipkg-utils/ipkg-link 2003-03-25 23:23:56.000000000 +0000 -+++ ipkg-utils/ipkg-link 2004-08-18 13:27:51.000000000 +0100 -@@ -18,19 +18,22 @@ - # Does the list file exist? - if [ -e "/mnt/card/usr/lib/ipkg/info/$PACKAGE.list" ]; then - PREFIX="/mnt/card" -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" |sed -e 's/\/mnt\/card//g'` - else - if [ -e "/mnt/cf/usr/lib/ipkg/info/$PACKAGE.list" ]; then -- PREFIX="/mnt/cf" -+ PREFIX="/mnt/cf" -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" |sed -e 's/\/mnt\/cf//g'` - else - if [ -e "/mnt/ram/usr/lib/ipkg/info/$PACKAGE.list" ]; then - PREFIX="/mnt/ram" -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" |sed -e 's/\/mnt\/ram//g'` - else - echo "Package \"$PACKAGE\" not found." - exit - fi - fi - fi -- files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list"` -+ [ -z "$files" ] && files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list"` - echo "*** Found package on $PREFIX" - } - -@@ -45,6 +48,7 @@ - `mkdir "$line"` - else - # It's a file. -+ [ ! -d `dirname $line` ] && mkdir -p `dirname $line` - `ln -s "$PREFIX$line" "$line"` - fi - fi -@@ -53,7 +57,18 @@ - - remove () { - echo "*** Removing $PACKAGE" -- files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" | sort -r` -+ if [ "$PREFIX" = "/mnt/ram" ]; then -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" | sed -e 's/\/mnt\/ram//g' | sort -r` -+ -+ elif [ "$PREFIX" = "/mnt/card" ]; then -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" | sed -e 's/\/mnt\/card//g' | sort -r` -+ -+ elif [ "$PREFIX" = "/mnt/cf" ]; then -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" | sed -e 's/\/mnt\/cf//g' | sort -r` -+ -+ else -+ files=`cat "$PREFIX/usr/lib/ipkg/info/$PACKAGE.list" | sort -r` -+ fi - echo "$files" | - while read line; do - if [ -e "$line" ]; then |