aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2012-04-06Hob: Modify Image DescriptionsElizabeth Flanagan
Fixes [YOCTO #2227] I've updated the image descriptions per the bug description. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
2012-04-04self-hosted-image: Increase space for build and allow builder user sudo accessSaul Wold
We need to have about 40G to do a full sato build even with rm_work enabled Add sudo priveleges inorder to allow the builder user to setup the tap/tun devices needed by runqemu Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-04Remove redundant reference to "task-self-hosted" from self-hosted-image.bbRobert P. J. Day
This recipe already includes "task-self-hosted" in the IMAGE_INSTALL line: IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" so there's no apparent need to include it again further down. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2012-04-04eglibc packaging: locale packaging configurationNitin A Kamble
The PACKAGE_NO_GCONV var manipulations ware happening in the eglibc-options.inc file, and the eglibc-locale recipe do not see it. Moving that into the libc-package.bbclass which is common to eglibc & eglibc-locale recipes. This fixes bug: [YOCTO #2089] This avoids this error for poky-tiny NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started ERROR: Error executing a python function in /opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb: OSError: [Errno 2] No such file or directory: '/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/package/usr/lib/gconv' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "package_do_split_gconvs", line 264, in <module> ERROR:· ERROR: File "package_do_split_gconvs", line 45, in package_do_split_gconvs ERROR:· ERROR: File "package.bbclass", line 30, in do_split_packages ERROR:· ERROR: The code that was being executed was: ERROR: 0260:»------»-------bb.note("generation of binary locales disabled. this may break i18n!") ERROR: 0261: ERROR: 0262: ERROR: 0263: ERROR: *** 0264:package_do_split_gconvs(d) ERROR: 0265: ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: <module>) ERROR: 0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg, pkg.replace(bpn, 'glibc')) ERROR: 0042: ERROR: 0043:»------do_split_packages(d, gconv_libdir, file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \ ERROR: 0044:»------»-------description='gconv module for character set %s', hook=calc_gconv_deps, \ ERROR: *** 0045:»------»-------extra_depends=bpn+'-gconv') ERROR: 0046: ERROR: 0047:»------def calc_charmap_deps(fn, pkg, file_regex, output_pattern, group): ERROR: 0048:»------»-------deps = [] ERROR: 0049:»------»-------f = open(fn, "r") ERROR: (file: 'package_do_split_gconvs', lineno: 45, function: package_do_split_gconvs) ERROR: Function failed: package_do_split_gconvs ERROR: Logfile of failure stored in: /home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/temp/log.do_package.31042 NOTE: package eglibc-locale-2.13-r19: task do_package: Failed ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb, do_package) failed with exit code '1' Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-03eglibc: SDK_GLIBC_ADDONS for eglibc-nativesdk.Lianhao Lu
Use SDK_GLIBC_ADDONS for eglibc-nativesdk so that it is not dependant on the target eglibc's GLIBC_ADDONS settings. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02gettext: Fix sysroot conflict over owner of macrosRichard Purdie
gettext-minimal-native andgettext-native are trampling over each other's files. This can be reproduced with: bitbake gettext-minimal-native bitbake gettext-native bitbake gettext-native -c clean bitbake shadow-native which will fail since the aclocal gettext macros will have disappeared. This patch fixes the problem by giving ownership of them to gettext-minimal-native and ensuring there is a correct dependency on this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-02self-hosted-image: fix indentation: 8 spaces --> TabDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-04-02self-hosted-image: renew the poky src's SRCREV that's installed into the targetDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-04-02self-hosted-image: improve do_populate_poky_srcDexuan Cui
1) remove the assumption ${DL_DIR} ends with downloads/. Thanks Paul Eggleton for pointing this out. 2) remove downloads/git2_* tarballs to speed up the rootfs creation. This is ok since we still have the git2/. Thanks Richard Purdie for suggesting this. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-03-28eglibc-2.15: Update SRCREVKhem Raj
Get new patches and remove the one that got merged upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-27self-hosted-image: pre-populate the builder user with poky sourceDexuan Cui
This patch installs the poky source into the /home/builder/poky/ of the self-hosted-image. This makes the user of self-hosted-image easier to start a build. I think the recent poky master is stable enough, so I specify a commit number by SRCREV -- we may want to update this number before releasing 1.2. This patch fixes [YOCTO #2065] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Added code for supporting target based pseudo fixed indentation Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-26Various typoes fixed, all comments or output strings.Robert P. J. Day
Typoes fixed: "enviroment", "editted", "spliting", "scheulder". Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-26busybox: move watch to /usr/bin for compatibility with procpsAndreas Oberritter
Commit 68dc2a3fa30c03a196d650de34d0c657a7b85454 broke opkg upgrade: | update-alternatives: Error: cannot register alternative watch to | /usr/bin/watch since it is already registered to /bin/watch Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-25core-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix.Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-25util-linux: Example of pkg level INCOMPATIBLE_LICENSEElizabeth Flanagan
util-linux-lscpu provides an example of pkg level incompatible license. In this instance, we've set the license for this specific package as GPLv3. The other packages inherit the recipe LICENSE. What this allows is the package to not be included on install to the image. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23sysvinit: use update-alternatives for mountpoint and runlevelAndreas Oberritter
* mountpoint and runlevel may be provided by busybox. * Use update-alternatives to avoid conflict. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23nativesdk/misc: set PKGSUFFIX for correct variable name expansion.Lianhao Lu
Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion. This would fix bunch of "not shipped" packaging warnings in "-nativesdk" recipes. And also bumping the corresponding PR. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23ncurses: ship clear/reset in package.Lianhao Lu
Fixed not shipped packaging warnings. WARNING: For recipe ncurses-nativesdk, the following files/directories were installed but not shipped in any package: WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset WARNING: /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23meta-toolchain: Popluated the libc siteconfig files.Lianhao Lu
Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22task-self-hosted: add pseudoSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-22libc-common: Apply Debian-naming to libc debug symbols tooMike Crowe
Ensure that the eglibc-dbg package follows Debian naming too if enabled. Retain backward compatibility with old libc-dbg naming. Signed-off-by: Mike Crowe <mac@mcrowe.com>
2012-03-22dbus: use systemd_unitdirAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21readline: Fix RPATH Warnings for GPLv2Saul Wold
the norpath.patch with v2 and it worked correctly? WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5.2 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5 contains probably-redundant RPATH /usr/lib WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5 contains probably-redundant RPATH /usr/lib Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21gzip/pigz-native: Install into a prefix to avoid clashing with system binariesRichard Purdie
Due to the system providing a copy of gzip, we face some issues when we 'shadow' that copy with our own leading to a varient of race type bugs, and issues for example if a dependency such as libz is missing but the binary is still present. We usually rely on our dependency logic to protect us from this but for gzip, we don't have this protection since its not listed by all its users (and doing so would be impractical). This patch installed pigz and gzip into their own directory which we only add to PATH when we explictly want these binaries in much the same way we do with perl-native. This means dependency logic is correct when we use the binary and everything should work well. The patch adds an explict dependency into image.bbclass since the accelerated speed of compression is most appreciated at rootfs time. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21task-self-hosted: add nfs-utils and nfs-utils-client into the targetDexuan Cui
Without this, in the target, we don't have the mount.nfs utility. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2012-03-21dropbear: upgrade to 2012.55Shane Wang
Signed-off-by: Shane Wang <shane.wang@intel.com>
2012-03-21busybox: upgrade to 1.19.4Shane Wang
Removing the patch busybox-1.19.3-getty.patch is because it is already in the upstream. Signed-off-by: Shane Wang <shane.wang@intel.com>
2012-03-21dbus-glib: upgrade to 0.98Dongxiao Xu
Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2012-03-21glib-2.0: upgrade to 2.30.3Shane Wang
Signed-off-by: Shane Wang <shane.wang@intel.com>
2012-03-20sysvinit-inittab: Fixed license warning.Lianhao Lu
WARNING: .../sysvinit-inittab-2.88dsf-r6/sysvinit-2.88dsf/COPYING could not be copied for some reason. It may not exist. WARN for now. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-19base-passwd: upgrade to 3.5.24Scott Garman
Includes minor formatting cleanups. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-16util-linux: restore zlib and ncurses dependencies for nativePaul Eggleton
OE-Core commit 4a158b6ef125b555225472eefbe1ea226dc47c2c unintentionally removed the dependencies for util-linux-native on zlib-native and ncurses-native by getting append and virtclass-native overrides swapped around; later this was tidied up to remove the append (which did not change anything functionally). These libraries are required, so add them back in. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-03-15glib-networking: Fix packaging warningsSaul Wold
WARNING: QA Issue: non -staticdev package contains static .a library: glib-networking path '/work/armv5te-poky-linux-gnueabi/glib-networking-2.28.7-r1/packages-split/glib-networking/usr/lib/gio/modules/libgiognutls.a' WARNING: QA Issue: non -staticdev package contains static .a library: glib-networking path '/work/armv5te-poky-linux-gnueabi/glib-networking-2.28.7-r1/packages-split/glib-networking/usr/lib/gio/modules/libgiolibproxy.a' Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-15ncurses: fix install errorNitin A Kamble
Fix this issue: | rm: cannot remove `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/ncurses-5.9-r6.1/image/usr/lib64/terminfo': No such file or directory NOTE: package ncurses-5.9-r6.1: task do_install: Failed PR not bumped as there is no change in the packages output. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14PR bump for all recipes that DEPEND on ncursesScott Garman
The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14ncurses: fix packaging of moved librariesScott Garman
This ensures packaging of the ncurses libraries moved to base_libdir is done correctly. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14ncurses: fix build when ENABLE_WIDEC is not setPaul Eggleton
If wide character support is disabled (as it is with poky-tiny, for example) then we won't have libncursesw.so.*, so skip moving these files in that case. (Fixes a regression introduced in OE-Core revision ccd370ab147b78de7a5bd74818f755f4d3ca6d81). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-03-13gettext: Set the LICENSE field to GPLv3+Saul Wold
This change is needed because currently the INCOMPATIBLE_LICENSE checking code does not map between SPDX and older style naming (GPL-3+ vs GPLv3+). Yocto bug number 2093 filed to track this. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-13initscripts: test whether /etc/init.d/hwclock.sh existsAndreas Oberritter
* bootmisc.sh executes /etc/init.d/hwclock.sh, which is optional (depends on CONFIG_HWCLOCK in busybox). Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13Revert "gettext: do not set libncurses prefix explicitly"Richard Purdie
This reverts commit 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c since it caused QA issues for several people. The ncurses location needs to be explicitly specificed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13gettext: do not set libncurses prefix explicitlyScott Garman
The --with-libncurses-prefix configure option was added before this recipe had ncurses in DEPENDS, so it should be safe to remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-13ncurses: move only libncurses and libtinfo to base_libdirScott Garman
The previous approach to moving the ncurses libraries to base_libdir was too aggressive, and it broke curses support in python. Instead, move only libncurses, libncursesw, and libtinfo to base_libdir and leave the remaining libraries in libdir. Also delete ${libdir}/terminfo as it never gets packaged to avoid a QA warning. This fixes [YOCTO #2070] and is a partial fix for [YOCTO #1937]. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-13util-linux: explicitly disable udevAndreas Oberritter
* util-linux auto-detects libudev for lsblk, so disable it, because it's not listed in DEPENDS. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13udev-164: fixup "don't hardcode path to pidof"Andreas Oberritter
* Remove -e shell option, because pidof may return nonzero. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-03-13glib-2.0: Add Upstream Status for nodbus.patchSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-08external-csl-toolchain: override PKGV, not PKGV_${PN}Christopher Larson
This is needed to ensure that the RDEPENDS_${PN}-dev, RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging issue, as rpm dislikes the recipe PV as PKGV. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08psplash: Add mising commands module import.Peter Tworek
Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_compile", line 24, in <module> ERROR: ERROR: File "do_compile", line 11, in do_compile ERROR: ERROR: The code that was being executed was: ERROR: 0020: bb.build.exec_func("oe_runmake", d) ERROR: 0021: shutil.copyfile("psplash", outputfile) ERROR: 0022: ERROR: 0023: ERROR: *** 0024:do_compile(d) ERROR: 0025: ERROR: (file: 'do_compile', lineno: 24, function: <module>) ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split() ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split() ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles): ERROR: 0010: if localfile.endswith(".png"): ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile) ERROR: 0012: print(outp[1]) ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0] ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile) ERROR: 0015: else: Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08udev-164: don't hardcode path to pidofAndreas Oberritter
* pidof lives in /bin, search it in $PATH. * Assume pidof's presence. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>