aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils
AgeCommit message (Collapse)Author
2016-11-23opkg-utils: clear update-alternatives database on uninstallAndré Draszik
When uninstalling update-alternatives, it doesn't seem to make much sense to keep the update-alternatives database around. In particular when removing packaging data, e.g. due to read-only rootfs, update-alternatives is removed from the target file system. Leaving its database around serves no purpose in that case as there is no way to use it afterwards anyway. This frees close to 700KB of (uncompressed) space in a busybox based environment. Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-06opkg-utils: update SRCREVAlejandro del Castillo
Drop patches now included in newer SRCREV. Update HOMEPAGE and PV version to better align with opkg. Current revision include: * Python 3 compatibility * Improved error handling Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-08opkg-utils: re-do find/ls code to not fail on filenames with spacesDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-03opkg-utils: opkg-build exit when fail to list files.Aníbal Limón
We have an issue when ls segfaults in some cases [1] so it's better to detect the failure at this level instead of continue the build process. [YOCTO #8926] [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8926#c0 Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19opkg-utils: store alternatives in nonarch_libdirDaniel McGregor
opkg-utils-native stores alternative info in /usr/lib, so do the same on the target. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-11opkg-utils: add update-alternatives PACKAGECONFIGChristopher Larson
This lets someone use a different update-alternatives-native provider. Without this available, they'll step on one another in the sysroot unconditionally, since we need to build opkg-utils-native for ipk based builds regardless. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-31opkg-utils: use ${bindir} instead of hardcoding /usr/binAndré Draszik
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-27opkg-utils: fix bashism in opkg-buildDominic Sacré
Fix error '[[: not found' if /bin/sh is not bash. This issue was introduced by the recent addition of tar_ignore_error.patch to the opkg-utils recipe. Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-12opkg-build: Ignore tar error due to hardlinks issue when creating ipk filesAlejandro Hernandez
If a the number of hard links decreases or increases while creating the tar files used for an ipk package, tar fails with error code 1, we use hardlinks on package/ and packages-split/ to decrease disk usage, sometimes other parts of the build can cause a change in the link count, since this happens in a controlled environment we can safely ignore the error and continue to create the ipk file, fixed some typos from old version. [YOCTO #7933] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-08opkg-build: Ignore tar error due to hardlinks issue when creating ipk filesAlejandro Hernandez
If a the number of hard links decreases or increases while creating the tar files used for an ipk package, tar fails with error code 1, if this is the case we ignore the error and continue to create the ipk file [YOCTO #7933] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21opkg-utils: Update SRCREVPaul Barker
The new upstream commit incorporates the following fix to update-alternatives from Chen Qi <Qi.Chen@windriver.com>: update-alternatives: avoid double slash problem The link path stored by update-alternatives should always be absolute and so we do not need to add an additional slash when joining to $OPKG_OFFLINE_ROOT. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-25opkg-utils: Update SRCREVPaul Barker
A bug in the opkg-show-deps script is fixed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12opkg-utils: Update SRCREVPaul Barker
update-alternatives now escapes '[' in expressions passed to sed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-02opkg-utils: Update SRCREVPaul Barker
opkg-build now checks whether tar supports the '--format' option before using '--format=gnu' so that packages can be build with both Busybox tar (no '--format' option) and GNU tar (defaults to posix format unless told otherwise on some distros). Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-05-30opkg-utils: Update SRCREVPaul Barker
Recent changes in opkg-utils allow package files to be stored in a different directory to the package index if desired. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-07opkg-utils: Update to latest git masterPaul Barker
The latest commit in opkg-utils allows packages created by opkg-build to be read by dpkg-deb again. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28opkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-pathMartin Jansa
* now with update-alternatives-cworth completely gone should correctly replace it on target as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-17opkg-utils: Remove strange PACKAGES native overrideRichard Purdie
This code makes no sense, native.bbclass clears PACKAGES anyway. Drop it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17opkg-utils: Add basic PACKAGECONFIG for python dependenciesRichard Purdie
In small configurations its useful not to have python dependencies. This patch adds code to disable those using PACKAGECONFIG. This allows us to fix poky-tiny after the recent move of update-alternatives to opkg-utils. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17opkg/opkg-utils/chkconfig: Clean up u-a-cworth referencesRichard Purdie
Catch some u-a-cworth references that slipped through the move of u-a to opkg-utils and its rename to -opkg. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16opkg-utils: Upgrade to latest git HEADPaul Barker
The latest version of opkg-utils PROVIDES virtual/update-alternatives via a script copied from opkg, packaged as update-alternatives-opkg. The nativesdk class is added to the recipe to ensure that nativesdk-update-alternatives-opkg is built. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02opkg-utils: tidy up recipePaul Eggleton
* Update HOMEPAGE * Rearrange statements in logical order Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-30remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26opkg-utils: Update to newer git rev for bashism fixRichard Purdie
On systems with dash as /bin/sh there were failures in do_package_write_ipk due to bashisms in opkg-build. This newer revision contains a fix for this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-24opkg-utils: bump SRCREV to latestMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-24opkg-utils: Add needed python modules as RDEPENDSAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19opkg-utils: UPdate to version with python 2.6 fixRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21opkg-utils: bump SRCREVMartin Jansa
* there are 2 small fixes python-2.6 compatibility missing C option for opkg-build Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-01opkg-utils: bump SRCREV for Packages cache fix and other fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-13opkg-utils: Update to include a fix for version comparision issuesRichard Purdie
This brings the version comparision within opkg-utils into sync with that in opkg itself. [YOCTO #2233] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01opkg-utils: convert to git repo at git.yoctoproject.orgSaul Wold
The svn.openmoko.org site seems to have become unstable, make a copy and convert to git at git.yoctoproject.org to preserve history [YOCTO #1867] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-01-05opkg-utils: use /usr/bin/env pythonChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03Add Upstream-Status to patchesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-29opkg-utils: handle 6 digit UID fields properlyKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-26opkg-utils: ignore packages disapperaring filelist generationDmitry Eremin-Solenikov
Package files disappearing during index generation don't cause a fatal error. Make package file disappearing during filelist generation also a non-fatal error. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2011-07-14opkg-utils: Print out License fieldKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29Upstream-Status: update the status for some patchesDongxiao Xu
gypsy: fix-unused-but-set-variable-warning.patch telepathy-python: parallel_make.patch opkg-utils: mtime-int.patch opkg: headerfix.patch flac: flac-gcc43-fixes.patch libsamplerate0: libsamplerate-0.1.7-macro-quoting.patch Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-05-20opkg-utils: Synchronise with OEKhem Raj
Import mtime-int.patch from OE commit c81990aecae3bdf70a7c924699776b248ab7a006 Pass LDFLAGS to linker to avoid missing GNU_HASH QA errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-12recipes: add Upstream-Status for multiple recipesDongxiao Xu
hostap: add upstream status for hostap-fw-load.patch lrzsz: add upstream status for lrzsz's patches bluez: add upstream status for bluez's patches bluez-dtl1-workaround: add upstream status for COPYING.patch libgsmd: add upstream status for gsm's patches. gypsy: add upstream status for gypsy's patch libpcap: add upstream status for libpcap's patches ppp: add upstream status for ppp's patches libtelepathy: add upstream status for libtelepathy's patches telepathy-python: add upstream status for telepahty-python's patches wireless-tools: add upstream status for wireless-tools's patches wpa-supplicant: add upstream status for wpa-supplicant zeroconf: add upstream status for zeroconf's patch glibc: add upstream status for glibc's patches dpkg: add upstream status for dpkg's patches makedevs: add upstream status for makedevs's patch opkg: add upstream status for opkg's patches opkg-utils: add upstream status for opkg-utils's patch minicom: add upstream status for minicom patches rpcbind: add upstream status for rpcbind's patch which: add upstream status for which's patch clutter-gst: add upstream status for clutter-gst's patches flac: add upstream status for flac's patches gst-ffmpeg: add upstream status for gst-ffmpeg's patch liba52: add upstream status for liba52's patch libid3tag: add upstream status for libid3tag libmusicbrainz: add upstream status for libmusicbrainz's patch pulseaudio: add upstream status for pulseaudio patches db: add upstream status for db's patch neon: add upstream status for neon's patch taglib: add upstream status for taglib's patches libetpan: add upstream status for libetpan's patch libopensync: add upstream status for libopensync's patches libopensync-plugin-evolution2: add upstream status for its patch libopensync-plugin-syncml: add upstream status for its patch libsyncml: add upstream status for libsyncml's patch empathy: add upstream status for empathy's patch wv: add upstream status for wv's patch xournal: add upstream status for xournal's patch Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-06recpies: use SRCPV instead of SRCREV for PVYu Ke
SRCPV is intended being used by PV, some recipes still use SRCREV for PV, which is not correct. This patch fix all the misusage. Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-30RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi
For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-17distro data: Update distro data tracking dataSaul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>