summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* python-2.6.6: py_package_preprocess should change Makefile only in PKGD not DMartin Jansa2011-05-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PACKAGEFUNCS ?= "perform_packagecopy \ ${PACKAGE_PREPROCESS_FUNCS} \ our py_package_preprocess is called after perform_packagecopy which does copy D to PKGD so we change it to target version in D (image/) before populating sysroot (sysroot-destdir/) while keeping Makefile.sysroot version in PKGD which was created before calling py_package_preprocess, so both package for runtime and sysroot end wrong * I haven't seen this problem on faster builder, I guess because do_package and do_populate_sysroot can run in paralell and I was lucky that do_populate_sysroot finished before py_package_preprocess was started, but if you build python step by step -c package first you should see it every time * here is proof that with PKGD it works better: $ bitbake -c cleanall python $ bitbake -c install python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile grep: ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile: No such file or directory grep: ./package/usr/lib/python2.6/config/Makefile: No such file or directory grep: ./sysroot-destdir/usr/lib/python2.6/config/Makefile: No such file or directory ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib $ bitbake -c package python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib grep: ./sysroot-destdir/usr/lib/python2.6/config/Makefile: No such file or directory ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib $ bitbake -c package python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./sysroot-destdir/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib * without this patch we have /usr/lib/ in image/sysroot-destdir and SYSROOT_LIBDIR in package/packages-split $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./sysroot-destdir/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rootfs_ipk: issue a diagnostic if rootfs is declared read-only and not all ↵Phil Blundell2011-05-251-0/+10
| | | | | | maintainer scripts could be applied offline Signed-off-by: Phil Blundell <philb@gnu.org>
* image_types: add IMAGE_ROOTFS_EXTRA_SPACESaul Wold2011-05-252-1/+5
| | | | | | | | | | | | | [YOCTO #886] This address 2 needs after the IMAGE_ROOTFS_SIZE is cleaned up, by removing the _ext2/3 overrides it allows for a cleaner override using IMAGE_ROOTFS_SIZE to create a large rootfs, or by setting the IMAGE_ROOTFS_EXTRA_SPACE, will allow for extra space allocated in Kilobytes above the base size (determined by du of the rootfs * IMAGE_OVERHEAD_FACTOR, default of 1.3). Signed-off-by: Saul Wold <sgw@linux.intel.com>
* IMAGE_ROOTFS_SIZE CleanupSaul Wold2011-05-256-10/+9
| | | | | | | | | | | | | | This basic cleanup removes the _ext2/3 overrides from places they no longer belong since they did not allow further overrides. In doing this the core-image-minimal* recipes can now set a reasonably small rootfs so that it's a realistic size for minimal. The new default for minimal is 8M and will be adujsted upward by the IMAGE_OVERHEAD_FACTOR (default of 1.3). This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGSKhem Raj2011-05-251-0/+6
| | | | | | | | | | | | | * Currently we are passing -jN or -j N flags to eglibc makefiles however eglibc uses a make variable called PARALLELMFLAGS to pass information about parallel build to sub-makes * Currently make install ran without parallelism but now it should have parallel building flags passed to do_install correctly which inturn should improve build time of eglibc on systems using parallel build -j with values > 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* elfutils_0.148.bb: Fix compilation on uclibcKhem Raj2011-05-252-3/+103
| | | | | | | | | | | | | | | | Currently all components of elfutils dont compile with uclibc but elfutils is one part which is needed by other recipes e.g. gcc 4.5 to compile. we make adjustments so that when compiling for uclibc targets it _only_ builds and packages libelf use --enable-uclibc only when building for uclibc targets The supporting patch is also needed for compiling with uclibc to specify -lintl and -luargp on linker commandline Add missing inherit on gettext Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gst-plugins-base: Add tremor to DEPENDSSaul Wold2011-05-241-1/+1
| | | | | | gst-plugins-base requires the libvorbisidec library which is part of tremor Signed-off-by: Saul Wold <sgw@linux.intel.com>
* distro-tracking: update toolchain recipe fieldsNitin A Kamble2011-05-231-0/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python-pygpbject: upgrade from 2.27 to 2.27.91Nitin A Kamble2011-05-231-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* byacc: upgrade from 20101127 to 20101229Nitin A Kamble2011-05-232-7/+7
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libpcre: upgrade from 8.10 to 8.12Nitin A Kamble2011-05-231-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* git: upgrade from 1.7.4.3 to 1.7.5.1Nitin A Kamble2011-05-233-21/+4
| | | | | | | the autotools patch is not needed anymore. The code which the patch was patching is removed, and there is no use of the patch now. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* create-pull-request: generalize the repository URL parsingDarren Hart2011-05-231-17/+12
| | | | | | | | | | | | | | | | | | | The existing REMOTE_URL and REMOTE_REPO parsing made assumptions regarding the git URL format used for the known repository types. In fact, both of these ssh URL formats are valid for all the known repositories. Specifically: ssh://git@server/repository/path git@server:repository/path Generalize the parsing to work with each of these for all push URLs matching *@*. Tested with the following URLs: ssh://git@git.pokylinux.org/poky-contrib ssh://git@git.pokylinux.org/poky-contrib.git git@git.pokylinux.org:poky-contrib git@git.pokylinux.org:poky-contrib.git Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* ghostscript: fix run failure on mpc8315eKang Kai2011-05-2312-3/+448
| | | | | | | | | | | | | | When run gs on mpc8315, it fails with: GPL Ghostscript 9.02: ./psi/interp.c(291): Fatal error -20 in gs_interp_init! It is caused by cross compile. Accoding to the ghostscript document on: http://pages.cs.wisc.edu/~ghost/doc/cvs/Make.htm#Cross-compiling it needs some manual work, so import patches from WindRiver Linux. Update to using oe way to add arch.h, thanks to Richard. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* pulseaudio: package udev rulesKoen Kooi2011-05-233-3/+3
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* syslinux: rdepends on mtoolsOtavio Salvador2011-05-231-1/+3
| | | | | | | To be able to install into a disk, mtools are required thus we add it as rdepends of 'syslinux' package. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* send-pull-request: drop sendemail checksOtavio Salvador2011-05-231-16/+0
| | | | | | | | | | git send-email has the correct check on it. Basically the From is taken from the git 'user' and 'email' config values and in case 'sendemail.smtpserver' is not provided it defaults to use local sendmail command. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Darren Hart <dvhart@linux.intel.com>
* update-alternatives-dpkg: Update to dpkg base 1.15.8.7Saul Wold2011-05-233-9/+18
| | | | | | | | [YOCTO #1062] Due to failing fetch updated recipe and SRC_URI to use .bz2, Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gail: update gail to 1.20.2Saul Wold2011-05-231-3/+7
| | | | | | | | | [YOCTO #1042] - Added LIC_FILES_CHKSUM - Corrected LICENSE Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Merge branch 'master', remote-tracking branch 'origin/master'Richard Purdie2011-05-231-0/+1
|\
| * test commitCliff Brake2011-05-231-0/+1
| |
* | uclibc: Upgrade to 0.9.32-rc3Khem Raj2011-05-2360-2406/+7878
| | | | | | | | | | | | | | | | | | Bring in the uclibc recipes from meta-oe they have been well tested by now. Delete 0.9.30.1 recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | qemu machines: drop MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "qemu-config"Koen Kooi2011-05-231-1/+0
| | | | | | | | | | | | | | Things like 'distcc' and 'bash' are not essential to booting a qemu machine. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | distcc_2.18.3.bb: Fix compilation on uclibcKhem Raj2011-05-231-4/+11
| | | | | | | | | | | | | | | | We enable gtk/gnome in distcc that code uses loadavg() a function unimplemented in uclibc. Therefore for uclibc we disable gnome and gtk+ features in distcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | gplv2 recipes update upstream status of patchesNitin A Kamble2011-05-236-0/+12
| | | | | | | | | | | | | | | | | | grep-2.5.1a: update upstream status of patches tar-1.17: update upstream-status of patches at-3.1.12: update upstream-status for patches cpio-2.8: update upstream-status for patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | tcmode-default: switch to gcc 4.6.0 for ppc & mips alsoNitin A Kamble2011-05-231-4/+0
| | | | | | | | | | | | Now the kernel issues related to gcc 4.6.0 for mips & ppc are fixed. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | tcmode-default: switch to eglibc 2.13 from 2.12Nitin A Kamble2011-05-231-1/+1
| | | | | | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* | opkg_svn.bb: Install rcS.d into $D instead of $IMAGE_ROOTFSKhem Raj2011-05-232-21/+1
| | | | | | | | | | | | Remove headerfix.patch, its already applied upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | puzzles: update to r9173Saul Wold2011-05-231-0/+0
|/ | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* packagedata: don't choke on empty PACKAGESChris Larson2011-05-201-1/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Move packagedata code into oe.packagedata (sync from OE)Chris Larson2011-05-204-66/+115
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.packagegroup: add code for package groups (sync from OE)Chris Larson2011-05-202-1/+30
| | | | | | | | | | | | | This includes some utility functions for dealing with groups of packages defined in the metadata. Metadata syntax: PACKAGE_GROUP_<group> = "<list of packages>" If the packages in the group are optional: PACKAGE_GROUP_<group>[optional] = "1" Signed-off-by: Chris Larson <chris_larson@mentor.com>
* base.bbclass: use oe.data for OE_IMPORTSChris Larson2011-05-201-1/+3
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Shift oe import logic out of the event handlerChris Larson2011-05-201-15/+18
| | | | | | | This can be useful if we need the imports from another config parsed event handler, and can't rely upon the base one running before that one. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* base.bbclass: switch to current OE's imports handlingChris Larson2011-05-201-13/+9
| | | | | | | The current mechanism makes it easier for classes to add new oe modules to be automatically imported, and thereby made available to python snippets (${@}). Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.data: expand the flagsChris Larson2011-05-201-0/+5
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Implement variable typing (sync from OE)Chris Larson2011-05-206-0/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation consists of two components: - Type creation python modules, whose job it is to construct objects of the defined type for a given variable in the metadata - typecheck.bbclass, which iterates over all configuration variables with a type defined and uses oe.types to check the validity of the values This gives us a few benefits: - Automatic sanity checking of all configuration variables with a defined type - Avoid duplicating the "how do I make use of the value of this variable" logic between its users. For variables like PATH, this is simply a split(), for boolean variables, the duplication can result in confusing, or even mismatched semantics (is this 0/1, empty/nonempty, what?) - Make it easier to create a configuration UI, as the type information could be used to provide a better interface than a text edit box (e.g checkbox for 'boolean', dropdown for 'choice') This functionality is entirely opt-in right now. To enable the configuration variable type checking, simply INHERIT += "typecheck". Example of a failing type check: BAZ = "foo" BAZ[type] = "boolean" $ bitbake -p FATAL: BAZ: Invalid boolean value 'foo' $ Examples of leveraging oe.types in a python snippet: PACKAGES[type] = "list" python () { import oe.data for pkg in oe.data.typed_value("PACKAGES", d): bb.note("package: %s" % pkg) } LIBTOOL_HAS_SYSROOT = "yes" LIBTOOL_HAS_SYSROOT[type] = "boolean" python () { import oe.data assert(oe.data.typed_value("LIBTOOL_HAS_SYSROOT", d) == True) } Signed-off-by: Chris Larson <chris_larson@mentor.com>
* kernel.bbclass: pass KERNEL_VERSION through legitimize_package_nameAndreas Oberritter2011-05-201-2/+2
| | | | | | | | | - KERNEL_VERSION may contain characters unsuitable for package names, e.g. underscores. Use legitimize_package_name to replace those characters. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie2011-05-201-1/+1
| | | | | | This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989. Saul discovered this change was incorrect.
* ed (GPLv2): remove --disable-silent-rulesSaul Wold2011-05-201-1/+3
| | | | | | Older version of configure in ed does not like this option, so remove it from CONFIGUREOPTS Signed-off-by: Saul Wold <sgw@linux.intel.com>
* modutils-cross: fix install issueSaul Wold2011-05-201-2/+2
| | | | | | [YOCTO #1055] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tcmode-default: switch to gcc 4.6.0 for x86, x86-64 & armNitin A Kamble2011-05-201-2/+6
| | | | | | mips & ppc are not ready yet. Waiting for kernel issues to be fixed. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* uclibc/site_config/funcs: getloadavg is unimplementedKhem Raj2011-05-201-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nfs-utils_1.2.3.bb: Fix compile failure on uclibcKhem Raj2011-05-203-7/+36
| | | | | | | | | | libio.h is not needed even in case of eglibc but still the patch is uclibc specific Refreshed nfs-utils-1.0.6-uclibc.patch against nfs-utils_1.2.3 no code change Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opkg-utils: Synchronise with OEKhem Raj2011-05-202-2/+34
| | | | | | | | | 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>
* package-index.bb: add support for deb and rpm.Dexuan Cui2011-05-204-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1024] Currently package-index.bb only supports ipk. This commit adds the support for rpm and deb, too. ------------------------------ How to generate and use repos: 1) run "bitbake package-index" after building some target, e.g., core-image-sato-sdk; 2) export ${DEPLOY_DIR_RPM}, ${DEPLOY_DIR_IPK} and ${DEPLOY_DIR_DEB} by a webserver on the host, assuming the host IP is 192.168.7.1, at http://192.168.7.1/rpm http://192.168.7.1/ipk http://192.168.7.1/deb 3) inside the target, according to the packaging system (rpm, ipk or deb) used when we generate the target image, we can use different ways to manage packages: 3.1) RPM run "zypper addrepo http://192.168.7.1/rpm main; zypper refresh" to retrieve info about the repo; next, we can use "zypper install/remove" to manage packages. 3.2) IPK add the repo info into opkg config file, i.e., in /etc/opkg/arch.conf, we can add something like "src i586 http://192.168.7.1/ipk/i586", and next, we run "opkg update" to make opkg update the list of available packages. And later, we can use "opkg install/remove" to manage packages. 3.3) DEB Currently in target, some important config files, like /var/lib/dpkg/status and /etc/apt/sources.list, for deb/apt are missing. So we can't install/remove package in target at present. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* gettext (gplv2): add virtual/gettext to PROVIDES listSaul Wold2011-05-201-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot: fix LIC_FILE_CHKSUMSaul Wold2011-05-201-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* distro/defaultsetup.conf: Append TCLIBC to TMPDIR by defaultRichard Purdie2011-05-192-6/+4
| | | | | | | | | | | | | The current solutions to share uclibc, eglibc and glibc builds in the same tree all have various issues associated with them. Appending the suffix to TMPDIR seems like the best solution since sstate (which defaults to outside TMPDIR) will allow reuse of any components. This avoids messy changes to the core with other approaches to this problem inevitably entail, usually in code where this abstraction isn;'t logically best placed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and ↵Khem Raj2011-05-191-3/+0
| | | | | | | | | DISTRO_EXTRA_RRECOMMENDS We otherwise get these added to image dependencies in distributions and they may not want it but would like to use those variables Signed-off-by: Khem Raj <raj.khem@gmail.com>