summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg.inc
AgeCommit message (Collapse)AuthorFiles
2010-08-03opkg: first stab at restoring upgrade pathsKoen Kooi1
2010-08-03opkg recipe overhaul - removal of opkg-nogpg and opkg-nogpg-nocurl.Graham Gower1
None of the distros in OE appear to want/need gpg or curl support in opkg; so have opkg.inc remove them by default. This diff makes things more consistent across all distros/tasks/images. The slugos recipe is kept intact and further divided from the more modern recipes. The opkg-native recipe is the sane-srcrev version even when building slugos, which should allow for changes to opkg related bbclasses without breaking the slugos build. Build tested for qemumipsel/minimal-image and nslu2/slugos-image. minimal-image builds 10% quicker in my setup and is 1mb smaller. Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson1
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson1
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-04-02sane-srcrevs: move SRCREVs to recipesMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-03-16opkg: fix global depends on openssl, even in -nogpg/-nocurlDenys Dmytriyenko1
Fixes the problem, introduced by 8c1731d818c89a291f80940c1912587ff9ce46b7, where openssl is added with DEPENDS_append override, preventing -nogpg and -nocurl variants from clearing the DEPENDS, when they include opkg_svn.bb file, thus forcing them to depend on openssl too. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Chris Larson <clarson@kergoth.com>
2010-03-15opkg: update LICENSE to more specific GPLv2Denys Dmytriyenko1
2010-03-01opkg: don't run merger in case when /usr/lib/ipkg is linkMartin Jansa1
* if there is link /usr/lib/ipkg -> /usr/lib/opkg, then merger will create backups of "both" alternatives directories, but they will be both the same /usr/lib/opkg/alternatives, then it will try to merge with output that every file is the same, sofar no real harm. * Problem is after successfull merge, when it removes /usr/lib/ipkg/alternatives which is in this case the right alternatives in opkg :/ * If you've already this problem on your target then * # Restore old alternatives * rm -rf /usr/lib/opkg/alternatives * cp -ra /usr/lib/opkg/alternatives-backup /usr/lib/opkg/alternatives * * # Regenerate links with right alternatives available * opkg install -force-reinstall busybox Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-01-13opkg, update-alternatives-cworth: use /usr/lib/opkg/alternatives directory ↵Martin Jansa1
instead of /usr/lib/ipkg/alternatives * It's usefull to make it compatible with u-a script in opkg package * Old entries are merged to new directory in quite verbose postinst script * If entry exists only in old it's moved * If entry exists in both the one with more lines is used * The one with less lines is not used and warning is shown * If they have the same number of lines diff is checked * If they are the same, old one is ignored * If they are different, old one is ignored and warning is shown Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-12-08opkg: add provides for update-alternatives and set opkg as default u-a ↵Martin Jansa1
provider in sane-feed-ipk Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-30opkg: bump SRCREVKoen Kooi1
2009-11-24opkg-target,sdk: bump SRCREVKoen Kooi1
* -native is left alone because packaged-staging needs more testing * tested install and upgrade on angstrom/beagleboard * tweaked opkg-nogpg-nocurl recipe to keep it building
2009-11-17svn recipes: change +svnr${SRCREV} +svnr${SRCPV}Martin Jansa1
* Just formal change * No need to bump PE or PR Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-03opkg: Don't prompt for user input from stdin if it's not a tty.Chris Larson1
Also fixes a minor memory leak while we're at it, as the code was strdup'ing the malloc'd string read from stdin without ever freeing the original. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19opkg: Add opkg to FILESPATHPKG.Khem Raj1
Otherwise it does not find patches stored under opkg directory Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-19opkg: explicitly clean up the opkg-intercept dirs rather than rm -rf.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19opkg: use INC_PR.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-17opkg: only ping splash when splashfuncs are presentKoen Kooi1
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko1
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>