summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure Pre-Depended and Recommended packages can be autoremoved.graham.gower2010-08-181-1/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@555 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add generated man pages to .gitignore.graham.gower2010-08-181-0/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@554 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Allow blacklisting a package in the status file.graham.gower2010-08-182-4/+9
| | | | | | | | | | | To blacklist a particular package, add the following status entry for the package to be blacklisted: Status: deinstall hold not-installed Should fix the opkg end of Issue #46. OpenEmbedded will need to correctly prime the status file. git-svn-id: http://opkg.googlecode.com/svn/trunk@553 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove trailing whitespace. Sorry if this breaks your patches.graham.gower2010-08-1748-301/+301
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove outdated comment regarding an old bug.graham.gower2010-08-171-1/+1
| | | | | | | | | | I managed to track down the "bug 1277" this comment referred to. http://web.archive.org/web/20050503234854/http://handhelds.org/~bugzilla/show_bug.cgi?id=1277 This referred to the status file containing incorrect information after a failed upgrade. git-svn-id: http://opkg.googlecode.com/svn/trunk@551 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix segfault using the --verbosity option.graham.gower2010-08-111-4/+6
| | | | | | Patch from David Bachelart via Issue #57. git-svn-id: http://opkg.googlecode.com/svn/trunk@550 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* And remove the autogenerated files...graham.gower2010-08-102-213/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@549 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Forgot these two files in the last commit. Oops.graham.gower2010-08-102-2/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@548 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add man pages for opkg-cl and opkg-keys. From David Bachelart (Issue #56).graham.gower2010-08-105-0/+428
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@547 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* This will never be done, offline roots often point at other architectures.graham.gower2010-08-101-2/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@546 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* This was done some time ago.graham.gower2010-08-101-4/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@545 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix creation of symlinks to files with long names (greater than 100 chars).graham.gower2010-08-031-7/+11
| | | | | | From "paradox.kahn", see Issue #55. git-svn-id: http://opkg.googlecode.com/svn/trunk@544 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix infinite loop in list_upgradable in libopkg.graham.gower2010-07-121-1/+1
| | | | | | From Sebastian Krzyszkowiak. git-svn-id: http://opkg.googlecode.com/svn/trunk@543 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Don't unlink the lock file in the event that it cannot be locked.graham.gower2010-07-071-6/+9
| | | | | | Fixes Issue #54. git-svn-id: http://opkg.googlecode.com/svn/trunk@542 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Be consistent in how to check return codes for these functions.graham.gower2010-06-281-2/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@541 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Improve error propagation.graham.gower2010-06-281-36/+34
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@540 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* s/ipkgetcdir/opkgetcdir/graham.gower2010-06-271-3/+3
| | | | | | From David Bachelart via Issue #53. git-svn-id: http://opkg.googlecode.com/svn/trunk@539 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix --force-reinstall by removing special case code. Just remove the pkg first.graham.gower2010-06-215-32/+44
| | | | | | This should fix Issue #51. git-svn-id: http://opkg.googlecode.com/svn/trunk@538 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Minor cleanup/simplification.graham.gower2010-06-211-7/+14
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@537 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Claim ownership of a file if the previous owner has obsoleted it.graham.gower2010-06-101-3/+6
| | | | | | This commit, along with the last few, should fix Issue #50. git-svn-id: http://opkg.googlecode.com/svn/trunk@536 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Promote file removal message from INFO to NOTICE.graham.gower2010-06-101-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@535 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* String the offline root path from the file_name in file_hash_get_file_owner().graham.gower2010-06-101-1/+8
| | | | | | | | file_hash_set_file_owner() strips the offline root path, so this reciprocal function should do likewise. This makes behaviour consistent with and without an offline root. git-svn-id: http://opkg.googlecode.com/svn/trunk@534 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Correctly update the obs_file_hash in offline root mode.graham.gower2010-06-101-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@533 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix check_data_file_clashes() for offline root mode. (almost anyway)graham.gower2010-06-101-9/+6
| | | | | | | | | pkg_get_installed_files() returns a list of files with the offline root path already included, so don't add it again. Fix some error message formatting while here. git-svn-id: http://opkg.googlecode.com/svn/trunk@532 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Check that a file belongs to the package before removing itgraham.gower2010-06-071-0/+5
| | | | | | Fixes the test case in Issue #50. git-svn-id: http://opkg.googlecode.com/svn/trunk@531 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Bump maximum message length from 256 to 4096.graham.gower2010-06-011-1/+1
| | | | | | | | | Errors seen in the wild can easily exceed 256 chars, especially when there is no limit imposed on maximum file path lengths under most systems. This should probably be changed at some point, to use realloc instead of a static buffer on the stack. git-svn-id: http://opkg.googlecode.com/svn/trunk@530 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add a message for the case that no installation candidate can be found.graham.gower2010-04-291-1/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@529 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Don't try to print cmd_name before its initialised. From Amanous, Issue #48.graham.gower2010-04-131-2/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@528 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Don't use c++ reserved word in header. Remove void* cast.graham.gower2010-03-141-14/+14
| | | | | | | Fixes compilation of header when used with C++. A slightly modified patch from Paul Eggleton. git-svn-id: http://opkg.googlecode.com/svn/trunk@527 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Upgrade message from NOTICE to ERROR.graham.gower2010-03-041-1/+1
| | | | | | | | Koen pointed out that this information is important enough for users that it should be deferred until the end of the output, so that its not lost in a small scroll buffer. git-svn-id: http://opkg.googlecode.com/svn/trunk@526 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Downgrade message from ERROR to NOTICE.graham.gower2010-03-041-1/+1
| | | | | | | This is a normal condition for feeds which supply multiple target architectures, as pointed out by Koen Kooi. git-svn-id: http://opkg.googlecode.com/svn/trunk@525 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Bump revision for release.graham.gower2010-02-211-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@523 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Flush stdout, stderr before forking. From Richard Purdie. Thanks!graham.gower2010-02-151-0/+6
| | | | | | | | | | Patch to remove "duplicate" bits of logs from opkg output, which massively simplifies do_rootfs logs. The reason is we get unflushed data passed to the children and duplicated. RP - 26/1/10 git-svn-id: http://opkg.googlecode.com/svn/trunk@522 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Use ordered list when configuring packages.pixdamix2010-02-101-2/+2
| | | | | | | Use the ordered list when configuring packages, and not the unordered one. Fix installation of some dependend packages. git-svn-id: http://opkg.googlecode.com/svn/trunk@521 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Make the error message easier to read for multiple unsatisfied dependencies.graham.gower2010-02-091-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@520 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Propagate errors up the call stack. Patch by Jens Erdmann <j.erdmann@road.de>.graham.gower2010-01-272-26/+35
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@519 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Don't print an error if trying to write status file to a read only filesystem.graham.gower2010-01-111-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@518 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Don't try to close the file if its not open.graham.gower2010-01-111-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@517 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Print an error in the case of a broken control.tar.gz file within the archive.graham.gower2010-01-111-1/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@516 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* s/dependences/dependencies/ Pointed out by klemmster in Issue 40.graham.gower2010-01-114-5/+5
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@515 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fail if cache_dir is specified and not a directorypixdamix2010-01-111-0/+7
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@514 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* --download-only download using original namespixdamix2010-01-051-1/+9
| | | | | | | --download-only will download the packages using original names when --cache isn't supplied (in the current working directory) git-svn-id: http://opkg.googlecode.com/svn/trunk@513 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add an option to download packages but do not install/upgrade anythingpixdamix2010-01-054-12/+33
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@512 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add a configure flag to specify the lockfile pathpixdamix2009-12-283-3/+20
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@511 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Write out status files and file lists in opkg_upgrade_all().graham.gower2009-12-211-0/+4
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@510 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Return negative error code from opkg_download(), not curl error codes.graham.gower2009-12-212-18/+7
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@509 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Set the default verbosity before args_parse, where it wont override the args.graham.gower2009-12-201-1/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@508 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Set the arch_priority when parsing the Architecture.graham.gower2009-12-203-46/+18
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@507 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Fix what I broke in r484. Patch from Kosmaty in issue 34. Thanks!graham.gower2009-12-201-10/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@506 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Include config.h to pull in HAVE_* macros where needed.graham.gower2009-12-209-1/+15
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@505 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358