summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* glib-2.0: explicitly disable dtrace and systemtap for native varaintJoshua Lock2011-10-141-1/+1
| | | | | | | | | | | | | | This prevents systemtap and dtrace being picked up from the host as reported on the Yocto mailing list by Andre Haupt <andre@bitwigglers.org> (From OE-Core rev: 0d883b5df25635fbad45191d297cbdf78a6c1fe0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-core/glib-2.0/glib.inc
* netbase: add /etc/network/interfaces file for qemumips & qemuppcPaul Eggleton2011-05-062-0/+16
| | | | | | | | | | This fixes the network configuration for qemumips & qemuppc to match the other qemu* machines. (From OE-Core rev: cb181eb4dc2c20a70153f9d69d732978566ba4f7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.Richard Purdie2011-05-062-31/+0
| | | | | | | | | | The base-files version is horribly outdated too. [YOCTO #924] (From OE-Core rev: f61df1f1e4a191ed3dd3d71aa78a479c615b14d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ldconfig-native-2.12.1: newer recipe with eglibc sourcesNitin A Kamble2011-05-0610-113/+672
| | | | | | | | | | | | | | | This fixes [YOCTO #780] Handle the input/output data with different endian-ness correctly Also fix the definition of LD_SO for cross environment And remove the older 2.5 version of ldconfig-native recipe (From OE-Core rev: 694db055f3729662e0e0193a31f2098be599877f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: remove -i from halt/reboot arguments and allow overridePaul Eggleton2011-05-053-3/+10
| | | | | | | | | | | | | | Introduces a variable HALTARGS which specifies the arguments sent to halt and reboot, and sets the default value to "-d -f", dropping the previous -i (shut down all network interfaces before halt/reboot, which causes a freeze with NFS root.) Fixes [YOCTO #997]. (From OE-Core rev: ace183894a5319cd73c94fd2653bbe52f29dca0b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-directdisk: add LIC_FILES_CHECKSUMTom Zanussi2011-05-041-0/+3
| | | | | | | | | Fix for build failure. (From OE-Core rev: 1d7f9211af04bcf77061eaad8a272e976c2d7c1d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade to version 2.7.8Qing He2011-05-043-6/+8
| | | | | | | | | | | | [YOCTO #978] from 2.7.7 fixes CVE-2010-4008 (From OE-Core rev: cd13726f1eb1f77f55cf202830d6bf13b47b0860) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Make umountfs a bit more robust, bump PRTom Rini2011-03-182-4/+4
| | | | | | | | | | | Avoids error messages on shutdown. Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394 (From OE-Core rev: 5188687660f5aa37014aac50c43e141f032455d7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: enable unmount all featurePaul Eggleton2011-03-182-2/+2
| | | | | | | | | This allows "umount -f -a -r" in our initscripts to actually do something. (From OE-Core rev: 578c938968857976f888f708f1f57cf862c7b3c4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Setup for GPLv2 RecipeSaul Wold2011-03-183-9/+137
| | | | | | | | | | | * add task to remove the GPLv3 lscpu code * Add patch to remove the reference to lscpu in Makfiles (From OE-Core rev: ebd181cf6ce3fe233b61aef3af093228aa925f4d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-6.9: fix man page building for the gplv2 recipeNitin A Kamble2011-03-182-3/+90
| | | | | | | | | | | | | | Added a new patch: coreutils-6.9/fix_for_manpage_building.patch And the target recipe now depends on the native recipe for the manpage generation. Similar fix may be needed to the GPLv3 version of this recipe. (From OE-Core rev: 543577c25b5a4e89a3ab15ee28e754b71c2a43d5) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.Lianhao Lu2011-03-182-2/+2
| | | | | | | | | | [YOCTO #908] Added CPPFLAGS into the environment file and added --sysroot to it. (From OE-Core rev: 360daf019101d9b4d08ab1e3d279b08c02e9749e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Upgrade GPLv2 version to 0.16.1Saul Wold2011-03-1812-577/+666
| | | | | | | | | | | This adds a couple of new patches for handling various autoconf and autolocal issues. It also hardcodes a GETTEXT_MACRO_VERSION to 0.17 to match the native gettext. (From OE-Core rev: e897103a58ad672cc87d2bab3ec45501ef09f8f1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package-index.bb: Added missing dependencies.Lianhao Lu2011-03-151-0/+3
| | | | | | | | | | [YOCTO #871] Added missing dependencies to opkg-utils-native and opkg-native. (From OE-Core rev: f50997891a236954f827de73e9422a67eaacb95c) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: Fix rotate passwd check logicDongxiao Xu2011-03-102-2/+42
| | | | | | | | | | | | Fix rotate passwd check logic which will write data into un-allocated memory. This fixes [YOCTO #735] (From OE-Core rev: 4499beb9ef70d207e0d1f60eae77634a77fc44c3) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-script.bbclass: Added --sysroot to LDFLAGS.Lianhao Lu2011-03-062-2/+2
| | | | | | | [YOCTO #808] Added --sysroot to LDFALGS in environment files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* util-linux: split out uuidgen to a separate packagePaul Eggleton2011-03-012-2/+3
| | | | | | | uuidgen is needed by zypper and we don't want to drag in everything else in util-linux, so split it out to a separate package. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* ncurses: Change ncurses patch SRC_URI locationDongxiao Xu2011-03-011-2/+5
| | | | | | | | | | | | | | One of ncurses's patch has been removed from its original repo location, use autobuilder cache location instead. Comment out the original patch address instead of removing it since we may still need that address when upgrade the recipe later. This fixes [BUGID #709]. [sgw: fixed having comment embedded in SRC_URI] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dropbear: add SRC_URI checksumsJoshua Lock2011-02-251-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Suppress useless warnings during udev startupGary Thomas2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a number of platforms which have no realtime clock (i.e. no sense of what day/time it is). On these platforms, poky dutifully tries to keep somewhat sane with stored time stamps that are saved on reboot and restored early on during initialization. A fair compromise. However, before that code runs, the udev script tries to restore well known devices using tar. This will often lead to messages such as these since the kernel has no way to set the time: tar: dev/pts: implausibly old time stamp 1970-01-01 00:00:00 tar: dev/char/3:134: time stamp 1970-01-01 00:00:09 is 0.435041705 s in the future The attached patch filters these messages out as they don't convey anything useful and indeed are worrisome to more naive users. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ >From a6773d3e00dbd168817730fff1c3fc7e1b6950f5 Mon Sep 17 00:00:00 2001 From: Gary Thomas <gary@mlbassoc.com> Date: Thu, 17 Feb 2011 11:30:18 -0700 Subject: [PATCH] Suppress messages about bad time stamps during initial device setup Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-223-6/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.Lianhao Lu2011-02-171-1/+3
| | | | | | Set the value of CONFIG_SITE for correct autoconf config site files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* toolchain-script/populate_sdk/meta-toolchain: moving common code.Lianhao Lu2011-02-171-13/+3
| | | | | | | moving common code between populate_sdk.bbclass and meta-environment.bb into toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* ncurses: reenable PARALLEL_MAKESaul Wold2011-02-161-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gettext: reenable PARALLEL_MAKESaul Wold2011-02-161-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dbus: change owner and mode for dbus-daemon-launch-helper in postinstDongxiao Xu2011-02-142-2/+4
| | | | | | | | | Add code in dbus postinst to change owner and mode for dbus-daemon-launch-helper. [BUGID #603] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* recipes: pre/post actionsMark Hatle2011-02-122-3/+3
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Rework busybox to fix limitations in initscriptsMark Hatle2011-02-121-7/+14
| | | | | | | | A recent busybox change added a "second" initscript to the main busybox package. This however is not supported by the update-rc.d.bbclass. Instead we split the package so that each initscript gets it's own split. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* util-linux: Correctly prepend to PACKAGES and stop corrupting ↵Richard Purdie2011-02-101-3/+1
| | | | | | linux-util-native PACKAGES variable Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Apply unifdef-native dependency to the task that uses it, not globallyRichard Purdie2011-02-101-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: add 'coldplug' udev triggerTom Zanussi2011-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #693] The init-live.sh script starts udevd in init-live.sh:early_setup(), but doesn't account for the possibility that the root device may have already been registered by the kernel before udevd starts up. If the device is detected after udevd starts up, everything's fine - udevd gets the 'add' uevent for the device, the root image shows up at e.g. /media/sda/rootfs.img, and the boot continues. If however the device is detected before udevd starts up, udevd misses the 'add' uevent and the root image never shows up, causing it to stay in the 'waiting for removable media' loop forever. The 'udevadm trigger' command is meant to be used to avoid this situation, but init-live.sh doesn't use it. Furthermore, since the default was changed in udev 152 from 'add' to 'change', the command needs to explicity name 'add' as the action. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* util-linux: Add mount lock patchMark Hatle2011-02-072-2/+28
| | | | | | | | | Add the mount lock patch that moves the lock file from the potentially R/O /etc, to the R/W /var/lock directory. This resolves a problem when mounting when / (and /etc) is mounted R/O. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sysfsutils: Merge bug fixMark Hatle2011-02-072-2/+25
| | | | | | | Merge a small bug fix located in the Fedora Core 9 version of this package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* coreutils: Add various bug fixesMark Hatle2011-02-076-0/+4403
| | | | | | | | | | | | | Add a number of bug fixes, mostly imported from Fedora and Wind River Linux. cp-i-u: fix unnecessary prompting fix-install: Fix installing to a dangling symlink i18n: li18nux/lsb compliance ls-x: Fix incorrect output overflow: Fix potential overflow in who command Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* busybox: Support DHCP refresh without restarting the interfaceMark Hatle2011-02-074-2/+141
| | | | | | | | | | | | | | | | When the kernel is started using ip=dhcp, we want a way to be able to run the udhcp client within busybox and not reset the interface. When using the '-D' option to udhcpc, the defconfig script will be skipped allowing the refresh without changing the network settings. Also provide an initscript that can be used to detect ip=dhcp on the kernel command line, if detected it will refresh the lease and set the proper resolve.conf and related files, but not reset the interface. Original code in Wind River Linux by Greg Moffatt <greg.moffat@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* cross-localedef-native: Fix do_move_ports since the definition of changes. ↵Richard Purdie2011-02-021-2/+2
| | | | | | Raises the question of whether we even need ports for this? Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Add stable version 2.26.1Saul Wold2011-02-016-0/+19
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libxml2: Enable "--with-legacy" for LSB test.Jingdong Lu2011-02-012-2/+2
| | | | | | Enable "--with-legacy" in order to pass library check of LSB. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more genericLianhao Lu2011-02-011-100/+3
| | | | | | | | | | | | | | | Move the populate_sdk task out of meta-toolchain. Made it more generic to support rpm/deb package format. This commit is dependant on a series of commit: 2ea0406e4516fc59dff86cb4adc35c82cb774c2f 7ffa45b7cfea24dae1b51f40cfc807bf78b21b66 bf201a74c243942af3fcae6f174496bdd819dbc0 3d29933f2925efe8a84f10efdf50396031c33ae4 3d29933f2925efe8a84f10efdf50396031c33ae4 9c724dbf57e610a9e06bbdce38383dee3ac49281 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* dbus: extend to nativesdkPaul Eggleton2011-02-011-1/+2
| | | | | | | | BBCLASSEXTEND dbus to nativesdk for meta-toolchain-qte, and disable the dependency on libsm when building in this context (thus avoiding a number of sub-dependencies). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* glib-2.0: extend to nativesdkPaul Eggleton2011-02-012-1/+2
| | | | | | This needs to be added to nativesdk for meta-toolchain-qte. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* 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>
* 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>
* 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>
* external-python-tarball: include multiprocessing moduleJoshua Lock2011-01-271-0/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* meta-toolchain: Fix tar commandRichard Purdie2011-01-261-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain: Use --owner and --group options instead of using pseudo's ↵Richard Purdie2011-01-261-1/+1
| | | | | | overhead for a simple task Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux.inc: Fix DEPENDS on gettext for native caseRichard Purdie2011-01-252-1/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain-sdk: Rename meta-toolchain-sdk to meta-toolchain-gmaeJessica Zhang2011-01-252-4/+4
| | | | | | | | Change the name from toolchain-sdk to toolchain-gmae, which is more accurate to what meta-toolchain-sdk generates Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: tidy up metadataJoshua Lock2011-01-251-19/+19
| | | | | | | | | | Apply a couple of best practices to the recipe: 1) use the gettext class to ensure the right versions of gettext are used for the recipe variants (target, native, etc). 2) use layout variables rather than absolute paths in the package FILES_ definitions. Signed-off-by: Joshua Lock <josh@linux.intel.com>