summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | license.bbclass: don't mark it as 'nostamp'Kevin Tian2011-01-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'nostamp' is normally used for some standalone tasks like clean, checkuri, etc. It doesn't make sense to mark do_populate_lic as 'nostamp', which is depended by do_package. No stamp file in the build dependency chain implicates that do_package needs to be reinvoked and thus further do_package_write* stuff. This together with another sstate bug fully confused recent master, that people keep observing unnecessary do_package rebuilt with or without change. Below is a short explanation for two behaviors we observed: a) a fresh build, and then bitbake same target w/o any change. User will observe one unnecessary rebuild and then later rebuild is fine: [1st rebuild] * do_populate_lic has no stamp, and thus do_package is thought not current * do_package_setscene is then invoked with stamp file created * then later do_package_write*** also are rebuilt [2nd and later rebuild] * do_populate_lic has no stamp, and thus do_package is thought not current * do_package_setscene has stamp file and thus no need to re-execute setscene * thus no further rebuild required b) a fresh build, and then adjust order of PACKAGE_CLASSES. There's one bug regarding to PACKAGE_CLASSES and do_package_setscene, that only switch the order in PACKAGE_CLASSES generates different checksum. In this case user may observe up to 3 rebuilds when switching package_rpm/package_ipk back and forth. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* | scripts/bitbake: remove bashismsJoshua Lock2011-01-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | As the BitBake script is the initial entry point for the system we need to ensure it can run in as many places as possible, including systems which aren't yest optimally configured for running Poky. Remove some bashisms from the script so that it can run under Dash. Pointers from: https://wiki.ubuntu.com/DashAsBinSh Errors before this patch: http://pastie.org/1502136 Signed-off-by: Joshua Lock <josh@linux.intel.com>
* | license.bbclass: handle | (or) in the LICENSE fieldJoshua Lock2011-01-311-1/+1
| | | | | | | | | | | | | | | | The class strips out operators from the LICENSE field and to reduce it to a list of license, | was missing but is quite frequently used so add it to the list of replaced characters. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* | package_rpm: Fix package-split summaryMark Hatle2011-01-301-1/+1
| | | | | | | | | | | | | | The package-split summaries were being pulled in from the main package, not the split package metadata. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | creating the rpmrepo metadataQing He2011-01-302-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes two method for build rpm repo: 1. create the metadata in rootfs_rpm 2. standalone binary for building the metadata Not both of them are needed, generally #2 fits more for the purpose, but #1 may have its use on rootfs creation using zypper. Both share some problems and are subjected for future improvement: 1. the createrepo now builds metadata for the whole directory, if there are more than one arch, it builds for all, which means rootfs_rpm may run longer if more builds have been run. 2. createrepo builds metadata for stale rpms Signed-off-by: Qing He <qing.he@intel.com>
* | createrepo: add new recipeQing He2011-01-302-0/+143
| | | | | | | | | | | | version 0.4.11 Signed-off-by: Qing He <qing.he@intel.com>
* | zypper: upgrade to newer git versionQing He2011-01-304-6/+24
| | | | | | | | | | | | this works with rpm 5.4.0 Signed-off-by: Qing He <qing.he@intel.com>
* | libzypp: upgrade to newer git versionQing He2011-01-303-2/+29
| | | | | | | | | | | | this works with rpm 5.4.0 Signed-off-by: Qing He <qing.he@intel.com>
* | sat-solver: upgrade to newer git versionMark Hatle2011-01-306-40/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This works with rpm 5.4.0 Signed-off-by: Qing He <qing.he@intel.com> Update the CMAKE configuration file to find the proper DB library as used by RPM5 within Poky. Disable checking for Fedora and Debian, as this might lead to incorrect results. Merge the dso_linking_change_build_fix with the other cmake changes. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | sat-solver: Add db as DEPENDS and bump PRSaul Wold2011-01-291-2/+2
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | linux_2.6.33.2: Add LIC_FILES_CHKSUMSaul Wold2011-01-281-0/+3
| | | | | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* | poky-image.bbclass: If not including package management, ensure the basics ↵Richard Purdie2011-01-281-1/+1
| | | | | | | | | | | | to handle postinstalls in images are present Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | poky-image-minimal: Since we don't include package system data, we only need ↵Richard Purdie2011-01-281-1/+1
| | | | | | | | | | | | the package system bootstrap dependencies Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | rootfs_rpm: Drop bogus inclusion of the run-postinsts packageRichard Purdie2011-01-281-2/+3
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | rpm: suggested changeQing He2011-01-282-0/+25
| | | | | | | | Signed-off-by: Qing He <qing.he@intel.com>
* | rootfs_rpm: Setup the platform configurationMark Hatle2011-01-281-1/+7
| | | | | | | | | | | | | | | | | | The RPM platform configuration file lists all of the supported architectures, while RPM itself doesn't use this information, other tools may use it to determine compatibility. The first item is the default architecture for a system, while the following items specify alternative compatible architectures. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | rpm: Uprev to RPM 5.4.0Mark Hatle2011-01-289-179/+571
| | | | | | | | | | | | Update RPM to the latest release, RPM 5.4.0. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* | poky.conf: Update gdk-pixbuf provider after gtk+ upgradeRichard Purdie2011-01-281-1/+1
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | x11-common: Fix unusable serial consoleWolfgang Denk2011-01-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The serial console port is basicly unusable in images containing X. Login works fine, but at the shell prompt only one out of N input characters (N usually between 2 and 10) gets through to the shell. dbus-launch (running as "dbus-launch --sh-syntax --exit-with-session") is also reading from /dev/console and "eating" the missing characters. As soon as I stop the Xserver ("sh /etc/init.d/xserver-nodm stop") the serial console starts wroking fine (because dbus-launch is not running any more). This patch addresses the problem. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | apt-native: Added licence checksum.Lianhao Lu2011-01-281-0/+2
| | | | | | | | | | | | Added licence checksum for apt-native. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* | cross-canadian.bbclass: Correct deb package arch.Lianhao Lu2011-01-281-0/+3
| | | | | | | | | | | | | | Set DPKG_ARCH to make debian package to be generated with correct architecture. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* | distro_tracking_fields.inc: update the info for some recipesDexuan Cui2011-01-281-93/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are gccmakedep, mdadm, screen, quota, gnome-vfs, gnome-doc-utils, xproxymanagementprotocol, galago-daemon, ttf-bitstream-vera, libart-lgpl, liblbxutil, libxpm, libxprintapputil, libxprintutil, libxtrap, cronie, powertop, latencytop, xorg-minimal-fonts, liberation-fonts, freetype, liburcu, lttng-ust, lttng-viewer, pixman, dmxproto, printproto, xineramaproto, xf86driproto, xf86vidmodeproto, libxp, xkeyboard-config, libunique. mdadm, screen: there are duplicate descriptions -- removed them. fix a typo in the description of quota. Added RECIPE_MANUAL_CHECK_DATE_pn for cronie, powertop, latencytop, xorg-minimal-fonts, liberation-fonts. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | preferred-xorg-versions.inc: remove libfs, update xvinfo, pixman, dmxproto, ↵Dexuan Cui2011-01-281-9/+8
| | | | | | | | | | | | | | | | | | printproto, xineramaproto, xf86driproto, xf86vidmodeproto, libxp libfs doesn't exist in poky now. xvinfo has been upgraded to 1.1.1 and there isn't 1.0.2 now. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | libunique: update DESCRIPTION, HOMEPAGE, BUGTRACKERDexuan Cui2011-01-281-1/+6
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | libxp: upgrade from 1.0.0 to 1.0.1Dexuan Cui2011-01-282-18/+18
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | xf86vidmodeproto: upgrade from 2.3 to 2.3.1Dexuan Cui2011-01-281-2/+2
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | xf86driproto: upgrade from 2.1.0 to 2.1.1Dexuan Cui2011-01-282-11/+11
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | xineramaproto: upgrade from 1.2 to 1.2.1Dexuan Cui2011-01-281-3/+3
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | printproto: upgrade from 1.0.4 to 1.0.5Dexuan Cui2011-01-282-12/+12
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | dmxproto: upgrade from 2.3 to 2.3.1Dexuan Cui2011-01-281-3/+3
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | pixman: upgrade from 0.21.2 to 0.21.4Dexuan Cui2011-01-281-3/+3
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | lttng-viewer: upgrade from 0.12.35 to 0.12.36Dexuan Cui2011-01-281-3/+3
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | lttng-ust: upgrade from 0.8 to 0.11Dexuan Cui2011-01-281-6/+3
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | liburcu: upgrade from 0.4.8 to 0.5.2Dexuan Cui2011-01-281-2/+2
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | freetype: upgrade from 2.4.3 to 2.4.4Dexuan Cui2011-01-282-2/+2
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | gnome-doc-utils: upgrade from 0.20.2 to 0.20.4Dexuan Cui2011-01-283-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Also fix DEPENDS on gettext for native casea -- this is to fix the following failure(that occasionally occurs in my local tests): configure.in:44: warning: AM_NLS is m4_require'd but not m4_defun'd | aclocal.m4:1826: IT_PROG_INTLTOOL is expanded from... | configure.in:44: the top level | configure:3327: error: possibly undefined macro: AM_NLS Also remove a trailing space char in LIC_FILES_CHKSUM. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* | xf86-video-omapfb: upgrade to 044617665d6737f4909aab96Yu Ke2011-01-286-1/+108
| | | | | | | | | | | | | | | | | | | | | | | | Also apply four patches from Koen to fix four issus: - The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails - The new DSS mode breaks XV, so force plain mode - Picture is garbled after switching resolutions - Virtual size too big CC: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Yu Ke <ke.yu@intel.com>
* | Initial commit of license reporting:Beth Flanagan2011-01-2815-1/+4774
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an intial commit for the license reporting system. A few notes: The LICENSE fields needs to be standardized throughout poky. As it stands, we throw a warning if the license file is not found (either because it does not exist or because LICENSE_FILE_CHKSUM is munged) in the generic license directory. This should eventually become an error. I've seen a few places where Apache-v2.0 is written differently and I'm sure this will throw the above warning. This does not put the license data on the rootfs. Also, I provide both the actual license text and a link to the best guess of the generic_license. That guessing is not very robust and I'm loath to get into a bunch of pattern matching rather than standardize LICENSE. This adds one new param to poky.conf and one new to license.bbclass: LICENSE_DIR: the base directory we copy all the license results to (set in license.bbclass) COMMON_LICENSE_DIR: this is the directory that holds all the common generic license files. currently meta/files/common-licenses (set in poky.conf) TODO: - We should verify the common-licenses. I stripped these from my Ubuntu 10.10 system. - We should allow the capability of licenses on the rootfs, although the resulting image created would be a lot larger. - More common-licenses. I don't include bzip, zlib, ICS.... I should, but that means tracking down a lot of licenses. - General cleanup of licensing and standardization of names. We should standardize on a naming convention. What's in licenses.conf should match up with what is in the recipes which should match with what is in common-licenses. Outside the scope of this though. See: http://bugzilla.pokylinux.org/show_bug.cgi?id=650
* | task-poky-sdk: add 'file' and 'ldd'Kevin Tian2011-01-281-1/+3
| | | | | | | | | | | | | | these two are useful in the development environment, and also required by two LTP test cases (ld and ldd). Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* | bash: use /bin/bash as default shell when bash is includedKevin Tian2011-01-283-2/+7
| | | | | | | | | | | | | | though bash is included in LSB profile, it doesn't use update-alternative to take effect and thus it's still busybox behaving as /bin/sh. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* | base-files: remove ending colon from default $PATH for root userKevin Tian2011-01-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now the PATH for root user defined in a problematic way PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: from eglibc: /* Two adjacent colons, or a colon at the beginning or the end of `PATH' means to search the current directory. */ that means current directory is always searched as the last path, which could generate undesired behavior. One example is found in LTP cron_deny01 test, which always complains "sh: cron_deny01 not found" cron_deny01 is a shell script which setups the initial test preparation and then invokes itself for real test under a different user: su $TEST_USER1 -c "$0" 'su' doesn't inherit PATH into the sub-shell, and thus $0 has to be an absolute path to have right script found. ltp appends the path of cron_deny01 to $PATH before running the test: export PATH="${PATH}:${LTPROOT}/testcases/bin" In ideal way "${LTPROOT}/testcases/bin/cron_deny01" is found and becomes $0, which works well. However due to the ending colon in original PATH: PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin::${LTPROOT}/testcases/bin $0 becomes 'cron_deny01' w/o leading path which makes sub-shell under 'su' failed to locate cron_deny01. remove ending colon then fixes this problem. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* | matchbox: Convert all the matchbox components' repo from svn to git including:Zhai Edwin2011-01-2814-122/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matchbox-wm matchbox-panel-2 matchbox-terminal matchbox-config-gtk matchbox-stroke matchbox-desktop matchbox-keyboard matchbox-themes-extra libfakekey settings-daemon Also remove some old recipes. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* | distro tracking: Add info after upgrading gtk+, libuser and leafpadZhai Edwin2011-01-281-9/+9
| | | | | | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* | libuser: Upgrade from 0.56.18 to 0.57.1Zhai Edwin2011-01-282-2/+2
| | | | | | | | | | | | This can fix the vulnerable issue @ http://secunia.com/advisories/42891/ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* | leafpad: Upgrade from 0.8.17 to 0.8.18.1Zhai Edwin2011-01-281-2/+2
| | | | | | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* | scripts/bitbake: If pseudo isn't in staging for some reason, force a build ↵Richard Purdie2011-01-281-7/+17
| | | | | | | | | | | | of it directly Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | scripts/bitbake: We only need pseudo-native in the sysroot, we can ignore ↵Richard Purdie2011-01-281-1/+1
| | | | | | | | | | | | any other pieces of the dependency tree Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | staging.bbclass: Only clean out the sysroot if we rerun configure, not at ↵Richard Purdie2011-01-282-2/+6
| | | | | | | | | | | | setscene time Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | sstate: Ensure stale stamp files are removed as part of sstate_clean()Richard Purdie2011-01-281-2/+6
| | | | | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* | bitbake/runqueue.py: Avoid starvation of events to the serverRichard Purdie2011-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The server UI was reading 1024 bytes, then sleeping for 0.25 seconds. Since most new LogRecord events are larger than this it leads to a build up of data which is only processed slowly, leading to a bottleneck and a slow down of all bitbake processes. Thanks to Dongxiao Xu <dongxiao.xu@intel.com> for the great work in debugging this. A large value has been left in for the read() command just to ensure some fairness amongst process handling if a task tries to log truly huge amounts of data to the server, or goes crazy and ensures the main loop doesn't stall. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>