aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2013-08-20uclibc: Upgrade to latest on gitKhem Raj
It brings fixes needed for python3 to work on uclibc/64bit targets Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-16populate-volatile.sh: use 'cp -a' to avoid potential problemChen Qi
Previously, dead links in target directory will not be copied. This is incorrect as dead links are not uncommon in our rootfs. So we use '-a' option instead. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-16populate-volatile.sh: don't spawn background process at rootfs timeChen Qi
If we're building a read-only rootfs, we'll get the following error now and then. tar: .: file changed as we read it The root cause is that we spawn background process at rootfs time. When the tar command is running, it's possible that files under rootfs are changed by background processes, thus this error. [YOCTO #4937] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-16populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIRChen Qi
It's possible that a 'No such directory' error occurs when doing check_requirement in populate-volatile.sh at rootfs time. This is because the $ROOT_DIR/var/tmp might be a dead link. Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this error. [YOCTO #4883] [YOCTO #4103] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-16udev: remove implicit dependency on initscriptsChen Qi
At some point, the udev was modified to source the functions from initscripts or lsbinitscripts. This dependency is actually not needed. If we use udev in a system where initscripts from oe-core is not available, there will be errors. This patch fixes this problem by removing the implicit dependency. [YOCTO #4882] [YOCTO #4103] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-16init-live.sh: make $ROOT_MOUNT/media writable when necessaryChen Qi
If the live image is mounted as read-only, we cannot make necessary directories under $ROOT_MOUNT/media, so trying to move the mount points lead to errors. So in case that no unification filesystem mechanism is available in kernel and the rootfs is mounted as read-only, we mount tmpfs on $ROOT_MOUNT/media so that it's possible to make necessary directories under it. [YOCTO #4881] [YOCTO #4103] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-09checkroot.sh: respect the value of ENABLE_ROOTFS_FSCKChen Qi
Previously, fsck is always disabled because the value of rootcheck in the checkroot.sh script is always set to 'no'. We should respect the value of ENABLE_ROOTFS_FSCK in /etc/default/rcS to allow for filesystem check. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-09build-appliance-image: upgrade to ac60aa8cf707eec58e2cb51e7c406250d0b43ef1 ↵Cristian Iorga
commit. Fixes [YOCTO #4977]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-09busybox: remove syslog-startup.conf if sysvinit not in DISTRO_FEATURESChen Qi
sysvinit and systemd have different ideas about configuration files (or environment files in systemd), so basically we can't use the same one in both cases. To avoid confusion, this patch removes syslog-startup.conf if 'sysvinit' is not in DISTRO_FEATURES. [YOCTO #4837] [YOCTO #4860] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-05util-linux: upgrade to 2.23.2Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-05packagegroup-core-boot: correct runtime dependencies for non-sysvinit systemSaul Wold
hwclock, ifup-down and modutils are all sysvinit scripts that are available in systemd also. [YOCTO #4969] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-05buildtools-tarball: do not export OECORE_NATIVE_SYSROOTChen Qi
When building a qemu image inside the environment created by the buildtools-tarball, the qemu image cannot be started, as the runqemu script uses the tunctl binary which cannot be found inside the sysroot directory of the buildtools-tarball. The buildtools-tarball is inherently a tool set instead of a fully functional SDK, so leaving the OECORE_NATIVE_SYSROOT variable in the environment will mess things up. However, we do need a line of 'OECORE_NATIVE_SYSROOT=xxx' in the environment setup script so that the SDK can be extracted and relocated correctly. Thus, instead of exporting OECORE_NATIVE_SYSROOT, we use a comment here. [YOCTO #4939] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-05initramfs-framework: fix bashismChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-02packagegroup-core-tools-testapps: isolate x11 dependent toolsRogerio Nunes
This patch groups x11 dependent tools in a separete variable, and when DISTRO_FEATURES does not contain x11, this group is not included in the package RDEPENDS. Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-31dbus: remove build host test in configure scriptJackie Huang
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. Signed-off-by: Andy Ross <andy.ross@windriver.com Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-07-31busybox: move /bin/su to /usr/bin/su to match util-linux and shadowHongxu Jia
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-31util-linux: use u-a for suHongxu Jia
Use alternatives mechanism to prevent confliction of attempted installing su binary among busybox, shadow and util-linux. [YOCTO #4926] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-31util-linux: Update for swapoff being a separate binaryColin Walters
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. Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-30busybox: Add syslog-init alternative only if SysV in enabledMuhammad Shakeel
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 Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27external-sourcery: add missing providersSaul Wold
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] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27Revert "initrdscripts: mount / as read-only when live-booting"Ross Burton
My test environment must have been messed up as now hddimgs are failing to re-mount / as read-write. This reverts commit 7af92f8fa3a12fc8fcb22dbd12f87d89768b2d39. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27util-linux: fix PACKAGECONFIG optionsKoen Kooi
The ??= operator is too weak and it's setting a non-existent PACKAGECONFIG option ('libpam' instead of 'pam'). Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27sysvinit: pidof add -m option for lsbinitscriptsHongxu Jia
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-26readline: fix importing readline in python with probably escape sequence outputHongxu Jia
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-25dbus: add -o option into start-stop-daemon argumentsJackie Huang
/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. 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>
2013-07-22systemd: remove unneeded modprobe.rulesJonathan Liu
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". Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-22initrdscripts: mount / as read-only when live-bootingRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18eglibc-2.18: Update to latest snapshotKhem Raj
Works on all supposted qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18eglibc-2.18: Remove unused patchesKhem Raj
These patches are already part of 2.18 eglibc they were copied from 2.17 but never used. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18uclibc: Build ldd/ldcondif/iconv for main uclibc recipeKhem Raj
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. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18buildtools-tarball: testimage needs the mmap python-moduleSaul Wold
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18udev-extraconf: allow users in disk group to write vfat filesystemHongxu Jia
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18dbus-ptest: Disable python module checkMark Hatle
Disable the python module check, as the host python modules are not needed for generating the target tests. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18Upstream-Status: Correct capitalizationSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18busybox: fix ip reference in simple.scriptMark Hatle
The ip is being installed into /sbin as of the latest busybox. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-12ncurses: add xterm-256color to terminfo-baseSaul Wold
This is to address the buildtools-tarball still having problems with certain xterms [YOCTO #4835] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-12dbus: upgrade to 1.6.10Cristian Iorga
dbus-ptest also upgraded to 1.6.10 systemd-address.patch removed; included in upstream. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-11packagegroup-core-tools-profile: exclude systemtap and valgrind for mips64Kang Kai
systemap and valgrind are not buildable for mips64, so exclude them for mips64 from packagegroup-core-tools-profile. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2013-07-09util-linux: Use PACKAGECONFIG to control pam and system config optionsSaul Wold
The PACKAGECONFIG will ensure consistent enabling and disabling of the pam and systemd related options for configure and the correct dependencies Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09glib-2.0: add -march=i486 into CFLAGS automatically when needed.Jackie Huang
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. 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>
2013-07-09eglibc: Update 2.18 recipes to fix ppc/e500 failuresKhem Raj
This should fix the e500 errors due to bounded pointers removal Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09libxml2: Add ptestMihaela Sendrea
Install libxml2 test suite and run it as ptest. Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09initscripts: add dmesg file to /var/logJackie Huang
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. 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>
2013-07-09initscripts: overwrite default hostname.shJackie Huang
/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. 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>
2013-07-09eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09sysvinit: allow users in shutdown group to perform halt/rebootLaurentiu Palcu
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09glib-2.0: upgrade to 2.36.3Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05busybox: upgrade to stable 1.21.1Chen Qi
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. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05util-linux: disable runuser by default since it depends on PAMSaul Wold
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05eglibc: Drop libc-libm-bigKhem Raj
This feature has been removed from eglibc 2.18 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>