summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* dbus: remove build host test in configure scriptJackie Huang2013-07-312-1/+38
| | | | | | | | | | | | | The dbus build tests the build host to detect what initscript environment it expects. Remove the test and set it to "redhat" unconditionally as the oe-core initscript has a redhat-style pid file path. (From OE-Core rev: 25dc927009252151cc976b13c3f5bd19131cc4e8) Signed-off-by: Andy Ross <andy.ross@windriver.com Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: move /bin/su to /usr/bin/su to match util-linux and shadowHongxu Jia2013-07-312-0/+27
| | | | | | | | | | | | | Both of util-linux and shadow have su binary in /usr/bin, fix busybox to use the same path so they can be properly tracked by alternatives. [YOCTO #4926] (From OE-Core rev: e01735756a76d27b724b9e7829f78e8a335c1f60) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use u-a for suHongxu Jia2013-07-311-0/+7
| | | | | | | | | | | | | Use alternatives mechanism to prevent confliction of attempted installing su binary among busybox, shadow and util-linux. [YOCTO #4926] (From OE-Core rev: 6190c69a9f78aeef951c39e4c8700e945bbec5f7) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Update for swapoff being a separate binaryColin Walters2013-07-311-4/+1
| | | | | | | | | | | | | | | | | | | | In older versions of util-linux, swapon and swapoff were the same binary, and it did runtime detection. But since v2.22 which is util-linux commit 6cf8d46ceefe9a7, they are separate binaries. This patch is necessary to make the util-linux version of swapoff work at all - currently in OE swapoff = swapon, which is clearly broken =) Probably most OE consumers use the busybox swapoff and hence this has gone unnoticed. (From OE-Core rev: 4a15433f12c616f06192a4cda209da29395ceb93) Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Add syslog-init alternative only if SysV in enabledMuhammad Shakeel2013-07-311-3/+8
| | | | | | | | | | | | | | | If systemd is enabled then syslog is handled through a service file and related files in /etc/init.d are removed. This removes following warning: WARNING: busybox: NOT adding alternative provide /etc/init.d/syslog: /etc/init.d/syslog.busybox does not exist (From OE-Core rev: 29c3ecee32d9bfb03099a4f10456fd0270e107fb) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-sourcery: add missing providersSaul Wold2013-07-291-0/+2
| | | | | | | | | | | | | | | | | | | | Addess the issue with multiple .bb providers ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. Thanks to Kergoth (Chris Larson) and Lpapp (Lazslo) [YOCTO #4908] (From OE-Core rev: 09deeef20ee5a0c12ad4fd89cace6e0fb832d5b1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "initrdscripts: mount / as read-only when live-booting"Ross Burton2013-07-291-3/+3
| | | | | | | | | | | | | My test environment must have been messed up as now hddimgs are failing to re-mount / as read-write. This reverts commit 7af92f8fa3a12fc8fcb22dbd12f87d89768b2d39. (From OE-Core rev: 4174dcbd3328e6badb269d09b024f2b83408bd8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix PACKAGECONFIG optionsKoen Kooi2013-07-291-2/+2
| | | | | | | | | | The ??= operator is too weak and it's setting a non-existent PACKAGECONFIG option ('libpam' instead of 'pam'). (From OE-Core rev: 8994ff6650a4c4c2f0b07e5ee6a5f889270151e5) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: pidof add -m option for lsbinitscriptsHongxu Jia2013-07-292-0/+190
| | | | | | | | | | | | | | | | | | | | | When reboot the system on lsb image, some kill processes would print the following message: ... pidof: invalid options on command line! ... The killproc in lsbinitscripts invokes pidof with option -m, but the pidof in sysvinit package doesn't support this. Backport from fedora to add -m option on pidof could fix this issue. [YOCTO #4896] (From OE-Core rev: 8abe29811d9c5975fbd6483cb9c20b44904ae57f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* readline: fix importing readline in python with probably escape sequence outputHongxu Jia2013-07-292-0/+115
| | | | | | | | | | | | | | | | | | | | | While imports readline in python, if TERM in terminfo is available and it contains the variable 'km' and 'smm', the readline initialization will output the value of 'smm' which is the escape sequence '\E[?1034h'. The issue is caused by gnu readline library which is used by python readline module. The bash-4.3/readline-6.3 has fixed this but it is still on test and not released, so we find the changes and back port to 6.2. Import patch from: http://git.savannah.gnu.org/cgit/bash.git/tag/?id=bash-4.3-alpha [YOCTO #4835] [YOCTO #4732] (From OE-Core rev: d226f39bbd3b5f7c568a6804d69040502d28c843) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: add -o option into start-stop-daemon argumentsJackie Huang2013-07-291-2/+2
| | | | | | | | | | | | | | /etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes. This will cause "dbus-1 restart" command can't start dbus when dbus is stopped. so add --oknodo option to let start-stop-daemon exit with friendly return value. Then commands will work well. (From OE-Core rev: 03e745f18f9da22cfba53bb0057bdb0af4a49fca) Signed-off-by: Song.Li <Song.Li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove unneeded modprobe.rulesJonathan Liu2013-07-242-18/+0
| | | | | | | | | | | | systemd already handles loading kernel modules for new hardware. This also allows blacklisting modules to work properly when creating a .conf file in /etc/modprobe.d containing "blacklist module_name". (From OE-Core rev: c7ca6dec31de4321313e56753d056c9df115bd96) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: mount / as read-only when live-bootingRoss Burton2013-07-241-3/+3
| | | | | | | | | | | So that the root filesystem can be fsck'd properly, mount it read only. Either initscripts or systemd will re-mount as read-write in early boot. (From OE-Core rev: 1ace2bdd8d6d950038fb6d9b83f6eceba276f588) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.18: Update to latest snapshotKhem Raj2013-07-182-6/+6
| | | | | | | | | | Works on all supposted qemu machines (From OE-Core rev: ad5a76f03d6fda289ff562c326c093d5fd72bc81) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.18: Remove unused patchesKhem Raj2013-07-182-9679/+0
| | | | | | | | | | | These patches are already part of 2.18 eglibc they were copied from 2.17 but never used. (From OE-Core rev: a68ddd8ea842b3c85073fa63b4491147ff5e0c80) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Build ldd/ldcondif/iconv for main uclibc recipeKhem Raj2013-07-181-1/+6
| | | | | | | | | | | | | Currently these were not building as a result uclibc based systems were missing ldd and any package depending on ldd package were broken since the package was empty. (From OE-Core rev: b4ecf65e20a63d11f14483d213a3931f39225cdd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: testimage needs the mmap python-moduleSaul Wold2013-07-181-0/+1
| | | | | | | | | | The new testimage class needs the mmap python-module in the buildtools-tarball on machines that use the tarball to provide the correct version of python. (From OE-Core rev: 0b3574481cb8204513001570f5fa3cc8f50ba510) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: allow users in disk group to write vfat filesystemHongxu Jia2013-07-181-0/+11
| | | | | | | | | | | | | | | If filesystem type is vfat, change the ownership group to 'disk', and grant it with w/r/x permissions. The user which belongs to 'disk' group could write the storage. [YOCTO #4004] (From OE-Core rev: eeed0cebebc945bf62b29336b9df8e2c0a975538) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-ptest: Disable python module checkMark Hatle2013-07-182-0/+26
| | | | | | | | | | | Disable the python module check, as the host python modules are not needed for generating the target tests. (From OE-Core rev: 1395a2364aefbe1d19af155e132b6885ec095771) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status: Correct capitalizationSaul Wold2013-07-182-2/+2
| | | | | | | (From OE-Core rev: 2d5c457bf888771891e9c29e82ec5a5cecace528) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix ip reference in simple.scriptMark Hatle2013-07-181-1/+1
| | | | | | | | | | The ip is being installed into /sbin as of the latest busybox. (From OE-Core rev: 222ae6001db286d66462c6334f7f054ca727b7be) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: add xterm-256color to terminfo-baseSaul Wold2013-07-131-1/+1
| | | | | | | | | | | | This is to address the buildtools-tarball still having problems with certain xterms [YOCTO #4835] (From OE-Core rev: b367466287e6b1793c38afce6a9524130c48cf86) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: upgrade to 1.6.10Cristian Iorga2013-07-1310-196/+8
| | | | | | | | | | | dbus-ptest also upgraded to 1.6.10 systemd-address.patch removed; included in upstream. (From OE-Core rev: e516f18d663447954082b5d2df6c1033cb9b4e65) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: exclude systemtap and valgrind for mips64Kang Kai2013-07-131-0/+2
| | | | | | | | | | systemap and valgrind are not buildable for mips64, so exclude them for mips64 from packagegroup-core-tools-profile. (From OE-Core rev: fbc198113548783e326eebbb6b28b181528e900f) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Use PACKAGECONFIG to control pam and system config optionsSaul Wold2013-07-101-6/+5
| | | | | | | | | | The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related options for configure and the correct dependencies (From OE-Core rev: 7cde7c639c53724327d981cbc0db5e123607de1c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: add -march=i486 into CFLAGS automatically when needed.Jackie Huang2013-07-102-0/+40
| | | | | | | | | | | | | | | glib configure will check if current gcc need -march=i486, when gcc need -march=i486 but CFLAGS don't have, glib configure will abort and advise the user to add -march=i486. This will break the build process,it's not good for automatic build system. so change this to adding -march=i486 automatically when it is needed. (From OE-Core rev: fdd523e5a14cacf31dce4dae435267e30dff9222) Signed-off-by: Song.Li <Song.Li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Update 2.18 recipes to fix ppc/e500 failuresKhem Raj2013-07-102-6/+6
| | | | | | | | | | This should fix the e500 errors due to bounded pointers removal (From OE-Core rev: c7b10e33365f0c445d0aa1a6aad8e612cdc391e1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Add ptestMihaela Sendrea2013-07-104-5/+839
| | | | | | | | | | Install libxml2 test suite and run it as ptest. (From OE-Core rev: 22cf4cc85fbe21a53ca4684b0b06b9af20b2ecc5) Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: add dmesg file to /var/logJackie Huang2013-07-103-2/+33
| | | | | | | | | | | | | We should create the /var/log/dmesg.log file as a default. If we don't then a later kernel error can flush the dmesg ring buffer, losing valuable debug information. (From OE-Core rev: faa8cc6c2a582a32c695f3f2b0d45b6892c769fd) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: overwrite default hostname.shJackie Huang2013-07-101-2/+10
| | | | | | | | | | | | | | | | | | | /etc/init.d/hostname.sh does not have a graceful fallback if the /etc/hostname file doesn't exist. Other systems such as Ubuntu and RH will either leave the hostname in place, if a proper hostname is already set, otherwise it will set the hostname to 'localhost' when the /etc/hostname files doesn't exist. As you can see we have to add some additional handling to provide this behavior when the system's hostname command doesn't take the '-b' option. (From OE-Core rev: 09e59f1dad9fb52adb1717840837e42a36a6c7a1) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa2013-07-101-0/+5
| | | | | | | | | | | | | | | | * eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy: ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so') ERROR: Function failed: split_and_strip_files (From OE-Core rev: 9e615e2a6845d3a98f5d9b0cb555d132c696fc92) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: allow users in shutdown group to perform halt/rebootLaurentiu Palcu2013-07-101-3/+9
| | | | | | | | | | | | | | | | | | | | | | | For this to happen: * 'shutdown' group has been created; * changed ownership group for /sbin/halt and /sbin/shutdown to 'shutdown'; * deny execution rights to other users except 'root' and those belonging to 'shutdown' group; * set setuid bit to both apps; So, basically, in order for a normal user to be able to shutdown/reboot the machine, it must be a member of 'shutdown' group. Other changes: * fixed identation for 2 lines that used spaces instead of tabs; [YOCTO #4345] (From OE-Core rev: b32d06fbe797cd39cc19f62bda8a698effe7c0ea) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade to 2.36.3Cristian Iorga2013-07-101-2/+2
| | | | | | | | (From OE-Core rev: b46b7ccc7be5c880f79053535dc1c10ba5fbd5f4) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: upgrade to stable 1.21.1Chen Qi2013-07-0520-303/+5
| | | | | | | | | | | | | Merged or backported patches are dropped. The wget_dl_dir_fix.patch was submitted more than 1 year ago, it's about the -P option behavior, and it's not accepted, so I dropped this patch too. (From OE-Core rev: a2f31a6a6accb8eee2084cb39edb8e9af4b4189f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: disable runuser by default since it depends on PAMSaul Wold2013-07-051-1/+2
| | | | | | | | | | | util-linux's configure checks for pam_misc.h and if it finds it will enable runuser, there was a case where it was found via shared state and then got rebuilt. This makes the build more deterministic. (From OE-Core rev: df801d65e5b55542d6bd94a179becd79d010b32a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Drop libc-libm-bigKhem Raj2013-07-051-1/+0
| | | | | | | | | | This feature has been removed from eglibc 2.18 (From OE-Core rev: cce89a2f88fb159a82149a594349f6fd5fed6b44) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Add 2.18 recipesKhem Raj2013-07-0535-0/+14172
| | | | | | | | (From OE-Core rev: 59ae9fc07a6a89492c001de0b3322ecd6d3956be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroups: Update for split mc packagesSaul Wold2013-07-051-0/+4
| | | | | | | (From OE-Core rev: 9c600ef0cbfd3cc5191363997c0408e11c251b19) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/dm-*Jackie Huang2013-07-051-0/+1
| | | | | | | | | | | | | | | Do not mount /dev/dm-* by default via udev, this is the default behavior for most distos and WRLinux4.x. This resolved a problem with the sanity test failing due to seeing the error while attempting to mount new logical volumes without fs. (From OE-Core rev: 9a6cf08afd81c95abf13e6cf5e43bb8cd777edd9) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix the on-target upgrade problemChen Qi2013-07-051-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | We now can have a 'one-binary' version of busybox, or 'two-binary' version of busybox, controlled by the 'BUSYBOX_SPLIT_SUID' variable. This makes on-target upgrade a problem, as we have to support the following four upgrading paths. For convenience, in the following context, A is used to denote a 'two-binary' version of busybox while B is used to denote a 'one-binary' version of busybox. A --(upgrade)--> B B --(upgrade)--> A A --(upgrade)--> A B --(upgrade)--> B This patch makes effort to support the above four situations. [YOCTO #4802] (From OE-Core rev: 4e571e97750f3ac6a62cd0d2d10c08be98230630) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-ifupdown: set kernel parameters firstlyJackie Huang2013-07-051-0/+1
| | | | | | | | | | | | | | | | | When do ipv6 ready test, some DAD (duplicate address detect) tests failed since it expect IPV6 will be disabled, but not. even accept_dad has been set to correct value 2. Further investigation shows the root cause is that setting the kernel parameter happens after the NIC is upped. Make kernel parameters be configured before the interfaces is upped, and duplicate setting the kernel parameters does not have negative effect. (From OE-Core rev: cabe22b9470e870e63b5ef1ec8349c67b0823abf) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Add RRECOMMENDS for udev-cache to enable the cacheSaul Wold2013-07-021-1/+1
| | | | | | | | | | This will enable the udev cache for sysvinit systems, which does improve post-first boots. (From OE-Core rev: 087d8ccd6eaf2795253b5cbeac171ad82489535c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Remove 0.9.33 recipesKhem Raj2013-07-0219-7358/+0
| | | | | | | | | | | | git recipes are stable enough and contains the fixes needed to run with modern systems e.g. systemd etc. Drop 0.9.33 We already use git as default. (From OE-Core rev: 05ae8f181e4e1699cf8e5d8bc20b3cbd4b532edf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Update to latest git/master versionKhem Raj2013-07-029-86/+102
| | | | | | | | | | | | | | | | | | Use kernel cfg management infra to manage kconfig fragments. Add fragments for locale and obstrack and enable them by default Drop aplready applied patches Drop DP = -1 (From OE-Core rev: 7bcf53ddb2e1a7171545f544ee2443b06d7c3359) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: remove the unnecessary /media/xxx directoriesChen Qi2013-07-022-7/+1
| | | | | | | | | | | | | | | | | | | | A few directories under /media were created by default, /media/card, /media/ram, /media/realroot, etc. These directories actually have no real usage now, thus removing them. The /media/ram entry in the fstab is also removed, as mounting a tmpfs over /media/ram in our system brings no benefit. Note that a duplicate '/mnt' entry in dirs755 are also removed. [Yocto #4774] (From OE-Core rev: 458e76e470966d759067b2f6e6f00fa75a2963f3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-cache: take a read-only rootfs into considerationChen Qi2013-07-022-22/+38
| | | | | | | | | | | | | | | | | | | | | | In case of a read-only rootfs, we skip the process of generating udev cache, as the data cannot be persisted between reboots. However, it's possbile that the $DEVCACHE (default to /etc/dev.tar) exists in a read-only rootfs, no matter how it's generated or installed. In such situation, we try to use $DEVCACHE if possible. Besides the basic changes in the logic of udev cache handling, this patch also adds code to output more information if the udev cache is not used and VERBOSE enabled. This patch also changes the readfile function to readfiles function so that it could handle more than one file at once. (From OE-Core rev: 4ec1266e7e1aacdb9d3d0fc5cd6307b60df1731e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-self-hosted: add python-gitPaul Eggleton2013-07-021-0/+1
| | | | | | | | | | | | python-git is needed by buildhistory-diff, so add it to this packagegroup allowing buildhistory-diff to be used within build-appliance-image. (From OE-Core rev: 1f2d0f898e11bbb935d885920a1518336e19c3e7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: add python-gitPaul Eggleton2013-07-021-0/+1
| | | | | | | | | | | | | | python-git is needed by buildhistory-diff and the OE layer index update script, and on machines where buildtools-tarball is necessary given we are providing python we must provide this module as well. Fixes [YOCTO #4747]. (From OE-Core rev: d9bf76b4fafc0ddcb19bf393e5e22678e49367b3) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: try to make a union mount when possibleChen Qi2013-06-281-7/+56
| | | | | | | | | | | | | | | | | | This patch tries to make a union mount in live image. For example, if aufs is enabled with the aufs-enable.scc configuration fragment, the init-live.sh script will use aufs to make a union mount. Although overlayfs is not supported by Yocto kernel yet, this patch still takes it into consideration with the expect that the related code should at least serve as a placeholder. [YOCTO #1487] [YOCTO #4761] (From OE-Core rev: 3cd6fedd815688b2f3fd97a56feb5f8696ebeace) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: unionfs cleanupChen Qi2013-06-282-26/+3
| | | | | | | | | | | | | | | The unionfs has been disabled for more than a year and it's not going to be used any more. This patch cleans up the unionfs related code. [YOCTO #4761] [YOCTO #1487] (From OE-Core rev: ba5e437bc7335468a70ea293496f78e1a9d66287) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>