http://bugs.openembedded.org/show_bug.cgi?id=998
Summary: ipkg-link fails on large packets
Product: Openembedded
Version: OpenZaurus 3.5.4.x
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Distributions
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
add tetex-texmkf-fonts for example will fail
with Argument list too long
solution:
add patch to ipkg-link
----------------------------------------------------
--- ipkg-link.orig 2006-05-17 13:42:24.000000000 +0200
+++ ipkg-link 2006-05-17 13:36:45.000000000 +0200
@@ -32,20 +32,23 @@
fi
done
-
- if test -z "$files"
- then
+ for b in $files
+ do
+ if test -z "$b"
+ then
echo "Package \"$PACKAGE\" not found."
exit
- else
+ else
echo "*** Found package on $PREFIX"
- fi
+ break
+ fi
+ done
}
add () {
echo "*** Adding $PACKAGE"
- echo "$files" |
- while read line; do
+ for line in $files
+ do
test -L "$line" && rm "$line"
if [ ! -e "$line" ]; then
# Only if it doesn't already exist.
@@ -89,8 +92,8 @@
remove () {
echo "*** Removing $PACKAGE"
- echo "$files" |
- while read line; do
+ for line in $files
+ do
if [ -e "$line" ]; then
# File/Directory exists.
if [ -d "$line" ]; then
-------------------------------------------------------------
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe