aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package_ipk.bbclass
AgeCommit message (Collapse)Author
2010-09-01package_ipk.bbclass: remove redundant dependencies upon opkg/opkg-collateral.Graham Gower
Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-06package_ipk.bbclass: add lists_dir to sysroots' /etc/opkg.confGraham Gower
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 Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
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 Larson
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 Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2009-12-11package, package_ipk: add PKGV, to PV as PKG is to PN.Phil Blundell
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie
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 Adami
wiping tmp.
2009-08-26package_ipk.bbclass: don't choke on empty SRC_URI.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-07-11package classes: count dotfiles as non-emptyMichael Smith
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 Khimov
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 Juszkiewicz
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 Rini
2009-02-13package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages ↵Otavio Salvador
(ipk specific)
2009-01-28package_ipk.bbclass: Add and use IPKGCONF_CANSDK.Tom Rini
This is analogous to IPKGCONF_{TARGET,SDK}
2008-11-25package_ipk bbclass: add License: to control fileKoen Kooi
2008-10-27classes/package*.bbclass: Remove the build_package_revision functionRichard Purdie
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 Westerhof
(fixes build failure for pointercal, and probably others)
2008-10-18WorkInProgress: Mangle the DISTRO_PR into the package revisionsHolger Hans Peter Freyther
2008-03-18various: move over to opkg, as discussed on the mailinglistKoen Kooi
* death to ipkg!
2008-03-10package_ipk/deb.bbclass: Make the PACKAGES check earlier so if there is ↵Richard Purdie
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 Purdie
2008-02-19package_ipkg.bbclass: Remove uneeded line, the anonymous python function ↵Richard Purdie
sets this only in the case its needed (PACKAGES isnt empty)
2008-02-19package_ipk.bbclass/package_deb.bbclass: Use bitbake locking functionsRichard Purdie
2007-12-16Ability to write ipk's depends on ipkg-utils-native having been staged.Paul Sokolovsky
2007-12-07package_ipk.bbclass: Fix one remaining occurence of bb.utils.lockfile(), so ↵Leon Woestenberg
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 Kooi
again
2007-12-07package_ipk.bbclass: merge with pokyKoen Kooi
* 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 Purdie
obvious what its for (from poky)
2007-09-05package_ipk.bbclass: Improve directory existance check (from poky)Richard Purdie
2007-09-05package_ipk.bbclass: Add sdk Packages files and fix ipkf-sdk.conf (fixing ↵Richard Purdie
meta-toolchain) (from poky)
2007-09-04package*.bbclass: Switch to separate tasks for each packing type (from poky)Richard Purdie
2007-09-02package_ipk.bbclass: Fix whitespaceRichard Purdie
2007-09-01package_ipk.bbclass: Sync with poky for locking, code to add ↵Richard Purdie
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 Purdie
2007-08-12package_{deb,ipk}.bbclass: change ALLOW_EMPTY checkPhilipp Zabel
- 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 Purdie
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 Zabel
2007-02-20package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into ↵Koen Kooi
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 Purdie
2006-11-20package_ipk.bbclass: Fix invalid syntax added earlierRichard Purdie
2006-11-20package_ipk.bbclass: Simplify os.path.join calls (from poky)Richard Purdie
2006-11-20Convert IPKG_ARCHS -> PACKAGE_ARCHS, IPKG_EXTRA_ARCHS -> PACKAGE_EXTRA_ARCHS ↵Richard Purdie
in preparation for deb handling
2006-10-20package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie
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 Kooi
2006-09-15Restructure the subpackage metadata to facilitate use of that metadata by ↵Chris Larson
other packages.
2006-02-12Fix package name renaming for classes like debian.bbclass:Richard Purdie
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 Purdie
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 Kooi