summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* netbase: Add interface files for qemumips64 and qemush4Khem Raj2012-05-213-2/+18
| | | | | | | | | | | These files are alike other qemu machines they help in creating a working network interface when using qemumips64 or qemush4 (From OE-Core rev: 1e7406e4f2f93b6b4fa75716c4e901a96206be69) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Support mips64Khem Raj2012-05-212-2/+2
| | | | | | | | | | | | | | Add mips64 to binary locale arches Enabling ports in addons causes wrong machtype to be chosen for mips64 and it always chose mips32 which is wrong for mips64 so enable all the addons we have and we were enabling them anyway (From OE-Core rev: da7f9093ad7aa4188cc3d420668b0bda7d950a0f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: update to upstream version 2.1.0Marko Lindqvist2012-05-163-11/+14
| | | | | | | (From OE-Core rev: 445f2721f92bae4a9ae86e13f14775e924dc7f84) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix build with poky-tiny distroNitin A Kamble2012-05-112-1/+40
| | | | | | | | | | | | | | | This fixes bug [YOCTO #2443] The prototype of findidx() has changed, but the code in xregex.c is still using the old prototype. This issue stayed hidden because this code only gets excercised when OPTION_POSIX_REGEXP_GLIBC is disabled in the eglibc configuration. See the patch for further information. (From OE-Core rev: 8691038efb0aca4a2cd61fce0c53d10092e48b75) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj2012-05-111-1/+2
| | | | | | | (From OE-Core rev: a4b74a8244e8b55075082e6d5a59f35f8e437e9d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add patch to fix /var installation locationSaul Wold2012-05-112-4/+6
| | | | | | | | | | | | | This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile (From OE-Core rev: 22a2297c712d3b3ca0335197943483218c92ef3e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add patch to fix /var installation locationSaul Wold2012-05-092-1/+21
| | | | | | | | | | | | | This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile (From OE-Core rev: 910452727fc277c1caec7612b36c37b58d845350) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package.bbclass: Add MLPREFIX while dynamically set RDEPENDSDongxiao Xu2012-05-091-1/+1
| | | | | | | | | We need to add MLPREFIX when set RDEPENDS by setVar() function. (From OE-Core rev: 9407895c88e46490d0ef9bb185f73466e7204c15) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: upgrade to 1.2.7Eric Bénard2012-05-092-4/+2
| | | | | | | | | | 1.2.6 is no more fetchable and 1.2.7 fix some bugs, full changelog is available here : http://zlib.net/ChangeLog.txt (From OE-Core rev: 2f071e32128d8c022277c8af72dae47f60cf212b) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: bump PR to rebuild after glib upgradeMartin Jansa2012-05-081-1/+1
| | | | | | | | | | | * some apps had issues in runtime when dbus-glib wasn't rebuilt and reinstalled after glib upgrade, see: http://www.shr-project.org/trac/ticket/1980 (From OE-Core rev: af04af955b1443861a9f7e5fbf87a93546f9acd9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix issues with libelf dependency creeping inRichard Purdie2012-05-072-0/+39
| | | | | | (From OE-Core rev: 2929e7d590862d9649458c90804e79a1dce40423) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.32.2Martin Jansa2012-05-071-3/+2
| | | | | | | (From OE-Core rev: 82551379ddd5440f3cdbbe2f7028e2af050e5788) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.32.1Martin Jansa2012-05-074-44/+41
| | | | | | | | | | | | | | | | | * g_once_init_enter.patch shouldn't be needed after upstream commit 794c1a30bc27b4c8d77537813acb1213d5ac80f2 * LIC_FILES_CHKSUM change is only because PCRE was upgraded and now pcre.h says "Copyright (c) 1997-2012 University of Cambridge" instead of 2010 and COPYING file "Please see the file LICENCE in the PCRE distribution for licensing details." but LICENSE file is not part of glib distribution (but still BSD in standalone PCRE) (From OE-Core rev: 231a3e046900f8fae2e0aa4fe5f2bee4c290b0b0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: Update install.sh to work with mmc devicesDarren Hart2012-05-062-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #2385] The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device. As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified. Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables. These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful. (From OE-Core rev: bf403680d72e360c7382f540ea25cfdcbe77b4e5) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Return correct endianness for mips64Khem Raj2012-05-061-1/+1
| | | | | | | | | Regular expression did not check for mips64 (From OE-Core rev: 945b817d381bdb68202982536daaaaff78ad5761) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: port improvements to simple.script from Debian (udhcpc)Andreas Oberritter2012-05-042-8/+21
| | | | | | | | | | | * Support resolvconf * Avoid bashism $((metric++)) * Use 'domain' instead of 'search' for domain parameter (From OE-Core rev: 3d4ccf98b83fe662f375cd5b029fdd602824c0e8) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: remove unused patches for simple.script (udhcpc)Andreas Oberritter2012-05-043-83/+1
| | | | | | | | | * OE-Core provides its own copy of simple.script. (From OE-Core rev: 3a36efc17c8504b00a7a277a67a7b10caa4d1cdc) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Update to 2.21.1Saul Wold2012-05-0312-3/+3
| | | | | | | (From OE-Core rev: 2114d734b9c4ace980ef9fa30dd5b5f76f49b934) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: update SUPPORTED to match toolchainChristopher Larson2012-05-031-2/+255
| | | | | | | (From OE-Core rev: 65f3868c25df053ddf6ad2201ea0d68dc5c68fb1) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: cleanup, simplify, use base_libdirChristopher Larson2012-05-031-29/+28
| | | | | | | (From OE-Core rev: be158f5cb6650b761ac2f3649d071c051329a799) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: silence .a/.debug QA warningsChristopher Larson2012-05-031-3/+2
| | | | | | | (From OE-Core rev: a5f204130ff1232deb5f4b449961296d397630b4) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: split out a libstdc++-staticdev packageChristopher Larson2012-05-031-4/+4
| | | | | | | | | This silences one of the QA warnings. (From OE-Core rev: 3412a1d69201951dd097e4d9a4abcec124d34d68) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-package: remove /varSaul Wold2012-05-012-1/+2
| | | | | | | | | | | | | | | | This is a newly installed directory and Makefile that is not needed in an embedded setup It fixes: ERROR: For recipe eglibc, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile (From OE-Core rev: 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Pass HOST_CC_ARCH through CONFIG_EXTRA_CFLAGSKhem Raj2012-05-012-2/+2
| | | | | | | | | | | The -mabi option is part of HOST_CC_ARCH which does not appear in CFLAGS. This is for completeness since compiler already defaults to n64 it wont matter that much (From OE-Core rev: 2aa0540515efc15957101e24224b425ee00446d9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext,m4: Add -lrt to LDFLAGS for uclibcKhem Raj2012-05-011-3/+3
| | | | | | | | | | | | | | uclibc has recently got posix_spawn implementation and the implementation resided in librt so we link -lrt to get the configure tests using uclibc provided definitions and not the gnu-lib wrappers Let libintl.a live in -staticdev package (From OE-Core rev: 68e07a5ff114b5f413a5eeedeb551d82bc77774c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Dont disable iconv for uclibcKhem Raj2012-05-012-110/+1
| | | | | | | | | | | | Currently we stub out iconv in glib when building for uclibc which is not needed and infact results in building systems with false hope of having iconv and they misbehave during runtime (From OE-Core rev: d13b1dc1897af733cc2ec22df50ae9d1fd0b48af) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-0.9.33: Update to tip of 0.9.33 branchKhem Raj2012-05-011-2/+2
| | | | | | | (From OE-Core rev: ce0007e7561e67f57f6e6ba3a63f327a21a6cf96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Update to latest git tipKhem Raj2012-05-011-2/+2
| | | | | | | (From OE-Core rev: 0ba05b985b59f7200005e8fd28be6ebca019c46c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc SDK not including libpthread_nonshared.aMark Norman2012-04-261-4/+4
| | | | | | | | | Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Use update-alternativesMark Hatle2012-04-261-22/+5
| | | | | | | | | | | Use update-alternatives and sync to the way the replace kbd package does things. Using update-alternatives ensures that the proper provides are setup in the packages. (From OE-Core rev: 9c2aa2da7cb9ceec02c5d42d18a623a51f922cea) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: Use update-alternativesMark Hatle2012-04-261-27/+7
| | | | | | | | | | | Change to use ALTERNATIVE_LINKS from update-alternatives. This ensures the links are created consistently and the package provides are correct. (From OE-Core rev: 728569a3db005a935e6b08d6aac3e23e88d486df) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie2012-04-241-1/+1
| | | | | | (From OE-Core rev: fd989e1bceef6df36619ba8944c8141abefd282e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie2012-04-241-2/+2
| | | | | | (From OE-Core rev: 117ca04008415ed0e6e10dcd373ab5f685b3225a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie2012-04-231-1/+1
| | | | | | (From OE-Core rev: 85bebd85c4f6603ac8fc1290121c34b92cc434f9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie2012-04-221-2/+2
| | | | | | (From OE-Core rev: b19af63) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-live-boot: Disable unionfs until its issue with the system rootdir ↵Richard Purdie2012-04-221-4/+5
| | | | | | | | | | | | | | | | are resolved There are issues with the current unionfs when making a union mount over "/". Until these are resolved we can't use unionfs for live booting so disable this temporarily as a workaround. unionfs is usable in other circumstances. [YOCTO #2331 workaround] (From OE-Core rev: 60ee26ae23132b916019d58e20b8c2e1ddd2b471) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: Update poky revision to point at the 1.2 release branchRichard Purdie2012-04-181-1/+1
| | | | | | (From OE-Core rev: 00256125873ff6f1630743a712e882e5f473a9d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package ↵Richard Purdie2012-04-181-1/+1
| | | | | | | | description (From OE-Core rev: 48ef8dbb0d1bdbc7e0e62665b5112282637f3266) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREVSaul Wold2012-04-171-3/+2
| | | | | | | | | | | | | | | | Remove BB_NO_NETWORK because we can not guarentee that all downloads will be available in the self-hosted image for the possible targets being built. If this image is run with out networking, failures may be seen and BB_NO_NETWORK should be set via the Hob Update the Poky SRCREV so it has the latest set of fixes and patches. (From OE-Core rev: 70541d5e82ee05289eb0095bed4b121d12a00729) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-self-hosted: Add LSB for distro infoSaul Wold2012-04-171-0/+1
| | | | | | | | | | | | | The lsb package is needed to enable the distro checking in the self hosted image. Currently there is no standard identification in the self-hosted image so use the existing lsb package which provides lsb_release that parses the /etc/release file (From OE-Core rev: 1373865ce7f205a8e63f42caf436e9e2f7a565f5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix builds on fedora 17Robert Yang2012-04-161-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes glib-2.0 build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by libglib-2.0-utils-2.30.3-r0.ppc603e NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed [YOCTO #2304] (From OE-Core rev: 13e6e316d751d0ea3107d5547f6bdd2b74919cad) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-config-base/poky-feed-config-opkg: Always use ↵Richard Purdie2012-04-161-2/+2
| | | | | | | | | | | | | ALL_MULTILIB_PACKAGE_ARCHS to build arch list We need consistent configuration files for opkg so we might as well always use the full list. This is equal to PACKAGE_ARCHS in the non-multilib case. This fixes various multilib failures with ipk multilibs. (From OE-Core rev: bc85abc5013d0c831cc3c3823df45536c293aaba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Allow tasks to be safely re-executedRichard Purdie2012-04-161-10/+1
| | | | | | | | | | | | Re-running the debug_patch task would cause the build to fail. This patch moves the extra patch handling directly into SRC_URI and removes the need for the separate task, allowing safe re-execution of each task. [YOCTO #2194] (From OE-Core rev: 1d6156e37ef0f36cf5ce8eeaaf23560215c86833) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-poky-toolchain: This is broken and confusing now, remove itRichard Purdie2012-04-141-40/+0
| | | | | | | | This avoids a number of bogus preferred providers warnings too. (From OE-Core rev: 823a2f96df84547216a26697838977a162f838c5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix builds on fedora 17 alphaNitin A Kamble2012-04-143-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /sur/bin/perl Fedora 17 alpha also has /bin/perl this causes eglibc build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by eglibc-utils-2.13-r23+svnr15508.i586 NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1' This Fixes bug : [YOCTO #2286] RP: Updated to better account for -nativesdk (From OE-Core rev: 381bf0d364da5970682502f8f124264907587b87) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "eglibc: fix perl path in target scripts on fedora 17 alpha"Richard Purdie2012-04-133-4/+2
| | | | | | | | | | | | | This reverts commit 7c95d554c431451f975e1e5d0336d1fb7d0ce7ae. eglibc uses the PERL to execute things as well as encoding the path in target scripts. We will therefore have to resort to sed on the scripts at do_install time to fix the problems originally reported. This patch causes various weird build failures and needs to be removed. (From OE-Core rev: 160ee52b9563dac64941b5f6e2e072171ad396b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package-index: Force NATIVE python to use modules from STAGING_DIR_NATIVEAndrei Gherzan2012-04-131-0/+3
| | | | | | | | | | | | Export PYTHONHOME to ${STAGING_DIR_NATIVE}/usr. In this way python will search for modules in native sysroot. [YOCTO #2134] (From OE-Core rev: 230b235329bcaca1a95afd89801d28768aff483b) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix perl path in target scripts on fedora 17 alphaNitin A Kamble2012-04-133-2/+4
| | | | | | | | | | | | | | | fedora 17 has /usr/bin/perl as well as /bin/perl, which results in the perl path set in thetarget perl scripts as /bin/perl While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl Hence the target perl scripts are broken when build is done on fedora 17. Work around the issue by providing cached value of perl path to eglibc This fixes bug [YOCTO #2286] (From OE-Core rev: 7c95d554c431451f975e1e5d0336d1fb7d0ce7ae) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix re-execution of taskVenkata ramana gollamudi2012-04-132-8/+8
| | | | | | | | | | | | | | | Task do_patch_append calling do_fix_ia_headers is removing files using "rm" not "rm -f". So first time execution of patch task is success, while re-execution of patch task fails as it tries to remove the files already removed. So changed "rm" to "rm -f". [Yocto #2194] (From OE-Core rev: f960da1b48bafb3ccdd58222fe9fc12c1bb6ed9b) Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: fix init-live.sh and use unionfsYang Shi2012-04-112-7/+30
| | | | | | | | | | | | | | | | | | [YOCTO #1487] When booting up with liveCD image, init scripts can't work well on read-only filesystem. Unionfs, which is supported in Yocto kernel, allows a filesystem to appear as writeable, but without actually allowing writes to change the filesystem. Use unionfs to mount rootfs and make root file system can be writen when using liveCD to boot up. Set UNION_FS variable depending on kernel config, so that it can work with kernel which doesn't have unionfs feature. [RP: Mark recipe as machine specific due to kernel dependency] (From OE-Core rev: b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa) Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>