summaryrefslogtreecommitdiff
path: root/classes/package_ipk.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-08-06package_ipk.bbclass: add lists_dir to sysroots' /etc/opkg.confGraham Gower1
This makes the sysroots' /etc/opkg.conf agree with opkg-collateral on where the package lists database should be found. Fixes a problem whereby opkg cannot find the package lists after opkg-collateral is installed. This fixes the same problem as acc720fa80227d08fd15764117e0c34e2387e804. But since that doesn't take into account other dependencies bringing opkg-collateral into the image, it doesn't solve the problem in all cases and could probably be reverted. This is a bit messy, having hardcoded /var/lib/opkg as the lists_dir in multiple locations. Other suggestions welcome. I'm not sure its all that necessary to be using /usr/lib/opkg other than for backwards compatibility with existing installations. Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-06-24package_ipk: Fix syntax error - incorrect usage of bb.data.expandChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock1
populate_staging task to populate_sysroot This change, pulled from Poky, makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-30package_ipk: fix a missing paren which caused failures attempting to ↵Chris Larson1
tokenize the function Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-08package_ipk: ensure pkgdest/root dirs exist before the lockfile/chdirChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2009-12-11package, package_ipk: add PKGV, to PV as PKG is to PN.Phil Blundell1
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18package_ipk.bbclass: force recreation of DEPLOY_DIR_IPK. The dir is removed ↵Andrea Adami1
wiping tmp.
2009-08-26package_ipk.bbclass: don't choke on empty SRC_URI.Chris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-07-11package classes: count dotfiles as non-emptyMichael Smith1
Allow a package to be built that contains only dotfiles or dot directories under '/'. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-06-19Make package_update_index_ipk proper task with lockingRoman I Khimov1
Parallel image builds race in package_update_index_ipk, so locking is needed and for a proper lock package_update_index_ipk needs to be a proper task. Acked-by: Tom Rini <trini@embeddedalley.com>
2009-03-04package_ipk.bbclass: use bb.utils.prunedir to remove CONTROL directoryMarcin Juszkiewicz1
It was removing file by file before and did not removed conffiles file. As a result package_rpm was not able to create package.
2009-02-13package_ipk.bbclass: Add missing : from a045dfacf6f2541e0f410d9d109581f181303756Tom Rini1
2009-02-13package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages ↵Otavio Salvador1
(ipk specific)
2009-01-28package_ipk.bbclass: Add and use IPKGCONF_CANSDK.Tom Rini1
This is analogous to IPKGCONF_{TARGET,SDK}
2008-11-25package_ipk bbclass: add License: to control fileKoen Kooi1
2008-10-27classes/package*.bbclass: Remove the build_package_revision functionRichard Purdie1
Based on experience, this function is going to cause massive code readability issues. We can actually clean up the code more without it so do this instead.
2008-10-24package_ipk.bbclass: add import bb where missingMike Westerhof1
(fixes build failure for pointercal, and probably others)
2008-10-18WorkInProgress: Mangle the DISTRO_PR into the package revisionsHolger Hans Peter Freyther1
2008-03-18various: move over to opkg, as discussed on the mailinglistKoen Kooi1
* death to ipkg!
2008-03-10package_ipk/deb.bbclass: Make the PACKAGES check earlier so if there is ↵Richard Purdie1
nothing to package we don't read potentially stale pkgdata from staging. Fixes the strange ncurses-native issue after ncurses packaging was fixed
2008-02-28classes: Improve various staging variable referencesRichard Purdie1
2008-02-19package_ipkg.bbclass: Remove uneeded line, the anonymous python function ↵Richard Purdie1
sets this only in the case its needed (PACKAGES isnt empty)
2008-02-19package_ipk.bbclass/package_deb.bbclass: Use bitbake locking functionsRichard Purdie1
2007-12-16Ability to write ipk's depends on ipkg-utils-native having been staged.Paul Sokolovsky1
2007-12-07package_ipk.bbclass: Fix one remaining occurence of bb.utils.lockfile(), so ↵Leon Woestenberg1
that it works with bitbake 1.8.8.
2007-12-07package_ipk.bbclass, sanity.conf: attemp to be compatible with bitbake 1.8.8 ↵Koen Kooi1
again
2007-12-07package_ipk.bbclass: merge with pokyKoen Kooi1
* package sorting works now for mixed arch recipes (e.g. sysvinit) * doesn't clobber dependencies anymore * uses bitbake locking utils
2007-09-29package_(deb|ipk).bbclass: Rename package index stamp to make it more ↵Richard Purdie1
obvious what its for (from poky)
2007-09-05package_ipk.bbclass: Improve directory existance check (from poky)Richard Purdie1
2007-09-05package_ipk.bbclass: Add sdk Packages files and fix ipkf-sdk.conf (fixing ↵Richard Purdie1
meta-toolchain) (from poky)
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie1
2007-09-02package_ipk.bbclass: Fix whitespaceRichard Purdie1
2007-09-01package_ipk.bbclass: Sync with poky for locking, code to add ↵Richard Purdie1
package_write_ipk task (not activated yet), change OE: field to use PN (not P), cleanups and conf and index generation functions
2007-09-01classes: Convert to PKGDATA_DIR variable (from poky)Richard Purdie1
2007-08-12package_{deb,ipk}.bbclass: change ALLOW_EMPTY checkPhilipp Zabel1
- before an unset ALLOW_EMPTY meant False, while any string value meant True, now "1" means True and any other value or unset means False - this allows to set ALLOW_EMPTY = "1" and explicitly unset it for a subpackage with ALLOW_EMPTY_somepackage = "0"
2007-04-18classes: Add support for intertask dependencies to be specified, needed for ↵Richard Purdie1
correct operation with bitbake 1.8.x. Old behaviour is maintained in a special legacy anonymous function in base.bbclass. The patch is an improved version of the one discussed on the mailing list.
2007-03-29package_ipk.bbclass: add epoch supportPhilipp Zabel1
2007-02-20package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into ↵Koen Kooi1
per architecture subdirs of deploy/ipk see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
2006-11-20classes/package_*: Add IMAGE_PKGTYPE (from poky)Richard Purdie1
2006-11-20package_ipk.bbclass: Fix invalid syntax added earlierRichard Purdie1
2006-11-20package_ipk.bbclass: Simplify os.path.join calls (from poky)Richard Purdie1
2006-11-20Convert IPKG_ARCHS -> PACKAGE_ARCHS, IPKG_EXTRA_ARCHS -> PACKAGE_EXTRA_ARCHS ↵Richard Purdie1
in preparation for deb handling
2006-10-20package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie1
then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_package tasks (wipe the do_package stamps). Everything will repackage anyway due to the new task.
2006-10-19*ipk.bbclass: banish ipkg-link Koen Kooi1
2006-09-15Restructure the subpackage metadata to facilitate use of that metadata by ↵Chris Larson1
other packages.
2006-02-12Fix package name renaming for classes like debian.bbclass:Richard Purdie1
package.bbclass now tracks any package renaming performed using PKG_*. When a package is built, the runtime variables are translated using this cached information which is stored in staging. From now on, only use package names are valid in runtime variables like RDEPENDS, RRECOMMENDS and RSUGGESTS. eg. fontconfig-dev is correct, libfontconfig-dev would be wrong. As debian.bbclass can't determine package renaming until after a package's contents is known, the class has to set BUILD_ALL_DEPS = "1". This also means OE is no longer forced into one package renaming scheme.
2006-01-08Following from the meta/packages changes, cleanup conf/machine for incorrect ↵Richard Purdie1
DEPENDS usage. Move certain things into EXTRA_IMAGEDEPENDS. No valid users of EXTRA_BOOTSTRAP_DEPENDS were found so it was removed entirely. Change zaurus-updater not to package as it doesn't provide any.
2005-09-07classes/package_ipk.bbclass: put HOMEPAGE into the Homepage: control field Koen Kooi1
2005-05-17Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/17 20:39:04+02:00 uni-frankfurt.de!mickeyl add python-pygtk2 to task-python-everything 2005/05/17 20:32:02+02:00 uni-frankfurt.de!mickeyl apply zecke's patches to prepare for the low memory bitbake. the repository needs bitbake r159 or better now BKrev: 428a3a77SoUtXtfto7tXtwiSdrA1ew