summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2011-01-31license.bbclass: don't mark it as 'nostamp'Kevin Tian1
'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>
2011-01-31scripts/bitbake: remove bashismsJoshua Lock1
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>
2011-01-31license.bbclass: handle | (or) in the LICENSE fieldJoshua Lock1
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>
2011-01-30package_rpm: Fix package-split summaryMark Hatle1
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>
2011-01-30creating the rpmrepo metadataQing He2
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>
2011-01-30createrepo: add new recipeQing He2
version 0.4.11 Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30zypper: upgrade to newer git versionQing He4
this works with rpm 5.4.0 Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30libzypp: upgrade to newer git versionQing He3
this works with rpm 5.4.0 Signed-off-by: Qing He <qing.he@intel.com>
2011-01-30sat-solver: upgrade to newer git versionMark Hatle6
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>
2011-01-29sat-solver: Add db as DEPENDS and bump PRSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-28linux_2.6.33.2: Add LIC_FILES_CHKSUMSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-28poky-image.bbclass: If not including package management, ensure the basics ↵Richard Purdie1
to handle postinstalls in images are present Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28poky-image-minimal: Since we don't include package system data, we only need ↵Richard Purdie1
the package system bootstrap dependencies Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28rootfs_rpm: Drop bogus inclusion of the run-postinsts packageRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28rpm: suggested changeQing He2
Signed-off-by: Qing He <qing.he@intel.com>
2011-01-28rootfs_rpm: Setup the platform configurationMark Hatle1
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>
2011-01-28rpm: Uprev to RPM 5.4.0Mark Hatle9
Update RPM to the latest release, RPM 5.4.0. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-01-28poky.conf: Update gdk-pixbuf provider after gtk+ upgradeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28x11-common: Fix unusable serial consoleWolfgang Denk2
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>
2011-01-28apt-native: Added licence checksum.Lianhao Lu1
Added licence checksum for apt-native. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-28cross-canadian.bbclass: Correct deb package arch.Lianhao Lu1
Set DPKG_ARCH to make debian package to be generated with correct architecture. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-01-28distro_tracking_fields.inc: update the info for some recipesDexuan Cui1
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>
2011-01-28preferred-xorg-versions.inc: remove libfs, update xvinfo, pixman, dmxproto, ↵Dexuan Cui1
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>
2011-01-28libunique: update DESCRIPTION, HOMEPAGE, BUGTRACKERDexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28libxp: upgrade from 1.0.0 to 1.0.1Dexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28xf86vidmodeproto: upgrade from 2.3 to 2.3.1Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28xf86driproto: upgrade from 2.1.0 to 2.1.1Dexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28xineramaproto: upgrade from 1.2 to 1.2.1Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28printproto: upgrade from 1.0.4 to 1.0.5Dexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28dmxproto: upgrade from 2.3 to 2.3.1Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28pixman: upgrade from 0.21.2 to 0.21.4Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28lttng-viewer: upgrade from 0.12.35 to 0.12.36Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28lttng-ust: upgrade from 0.8 to 0.11Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28liburcu: upgrade from 0.4.8 to 0.5.2Dexuan Cui1
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28freetype: upgrade from 2.4.3 to 2.4.4Dexuan Cui2
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-01-28gnome-doc-utils: upgrade from 0.20.2 to 0.20.4Dexuan Cui3
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>
2011-01-28xf86-video-omapfb: upgrade to 044617665d6737f4909aab96Yu Ke6
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>
2011-01-28Initial commit of license reporting:Beth Flanagan15
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
2011-01-28task-poky-sdk: add 'file' and 'ldd'Kevin Tian1
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>
2011-01-28bash: use /bin/bash as default shell when bash is includedKevin Tian3
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>
2011-01-28base-files: remove ending colon from default $PATH for root userKevin Tian2
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>
2011-01-28matchbox: Convert all the matchbox components' repo from svn to git including:Zhai Edwin14
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>
2011-01-28distro tracking: Add info after upgrading gtk+, libuser and leafpadZhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-28libuser: Upgrade from 0.56.18 to 0.57.1Zhai Edwin2
This can fix the vulnerable issue @ http://secunia.com/advisories/42891/ Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-28leafpad: Upgrade from 0.8.17 to 0.8.18.1Zhai Edwin1
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-01-28scripts/bitbake: If pseudo isn't in staging for some reason, force a build ↵Richard Purdie1
of it directly Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28scripts/bitbake: We only need pseudo-native in the sysroot, we can ignore ↵Richard Purdie1
any other pieces of the dependency tree Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28staging.bbclass: Only clean out the sysroot if we rerun configure, not at ↵Richard Purdie2
setscene time Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28sstate: Ensure stale stamp files are removed as part of sstate_clean()Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-28bitbake/runqueue.py: Avoid starvation of events to the serverRichard Purdie1
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>