aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package_ipk.bbclass
AgeCommit message (Collapse)Author
2011-02-12package_ipk.bbclass: use common function to write relationship fieldsAndreas Oberritter
* A function write_dep_field() was added to do_package_ipk() to ensure explode_deps is called for every field and to simplify the code. * The following statement was removed from do_package_ipk(): if not '-locale-' and not '-dbg' and not '-dev' in pkgname: rdepends.append('%s-locale*' % pkgname) It was added in November 2008, but can never evaluate to true. See commit a045dfacf6f2541e0f410d9d109581f181303756 Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-01-25classes: Replace ipkg-make-index with opkg-make-indexKhem Raj
* STAGE_PKGMANAGER use opkg * rename IPKGBUILDCMD to OPKGBUILDCMD * Use opkg-build instead of ipkg-build Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Graham Gower <graham.gower@gmail.com>
2011-01-25classes/package_ipk.bbclass,classes/sourceipk.bbclass: Use opkg-utils-native ↵Khem Raj
instead of ipkg-utils-native Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Graham Gower <graham.gower@gmail.com>
2010-12-21package ipk bbclass: store build branch and revision in ipkg metadataKoen Kooi
The ipkg metadata will look like this now: koen@dominion:/OE/angstrom-dev/deploy/glibc$ dpkg-deb -I ipk/am3517-evm/matrix-gui_1.3-r19.0.6_am3517-evm.ipk new debian package, version 2.0. size 24112 bytes: control archive= 540 bytes. 629 bytes, 13 lines control Package: matrix-gui Version: 1.3-r19.0.6 Description: Matrix GUI for Qt X11 Section: multimedia Priority: optional Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org> License: BSD Architecture: am3517-evm OE: matrix-gui Homepage: https://gforge.ti.com/gf/project/matrix_gui/ Build: org.openembedded.dev/f35ab2d Depends: matrix-gui-common, libpng12-0, libfreetype6, libz1, libgthread-2.0-0, libqtwebkit4, libphonon4, libqtdbus4, libqtxml4, libqtgui4, libqtnetwork4, libqtcore4, libglib-2.0-0, libc6, libstdc++6, libgcc1 Source: svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' koen@dominion:/OE/angstrom-dev/deploy/glibc$ Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Chase Maupin <chase.maupin@ti.com>
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