summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* udev-cache: fix to use udev-cache correctlyChen Qi2013-06-253-5/+11
| | | | | | | | | | | | | | | | | | | Previouly, the udev-cache has no real effect even if it's installed into the system. The key problem here is that at first boot, the /etc/dev.tar is not present, thus resulting /dev/shm/udev.cache not created on first boot even if udev-cache is enabled. This patch fixes this problem. The /dev/shm/udev.cache will be created if necessary, that is, on first boot or when some part of the system is changed. In the latter case, the udev cache may not be valid. [YOCTO #4738] (From OE-Core rev: 84e0ec2e677fb0236a38478372cdd75797cf5a2e) 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>
* tinylogin: remove recipeChen Qi2013-06-259-1161/+0
| | | | | | | | | | | | | | tinylogin has been deprecated and the functionality ported into busybox. We now use busybox as the login manager, so the tinylogin recipe could be deleted. [YOCTO #4207] (From OE-Core rev: 2762ff976a3473be4259889029e048ab8b3be5ab) 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-core-boot: use busybox as the default login managerChen Qi2013-06-251-1/+1
| | | | | | | | | | | | | tinylogin has been deprecated and the functionality ported into busybox, so we switch to using busybox as the default login manager. [YOCTO #4207] (From OE-Core rev: 54fc2a698d49f7acc93c8e4b6f6c4e7b3b6ffcc8) 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>
* busybox: add the ability to split the busybox binaryChen Qi2013-06-251-28/+68
| | | | | | | | | | | | | | | | | | | | | | | | This patch enables us to split the busybox into two binaries, one containing suid applications, and the other containing nosuid apps. Add a variable, BUSYBOX_SPLIT_SUID, to control whether to split the busybox binary into two parts. We default it to "1" to enable the splitting, but users could still override it to disable the splitting. After all, busybox has no internal support for this suid apps splitting, so there might be users out there who want just one busybox binary. The basic idea here is to build the busybox twice, each with the correct configuration items. We extract the non-app part of the original .config file, and merge this part with the suid-app part to form a .config which contains only suid apps. The same strategy applies to the non-suid apps. [YOCTO #4207] (From OE-Core rev: e5a1442819dfb74e86a6f69da008ba6908c8bbc7) 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>
* busybox: enable to list suid and non-suid app configsChen Qi2013-06-252-1/+181
| | | | | | | | | | | | | | | | | | | | | | | This patch, written by Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, adds the ability to busybox to list configuration items of suid apps and non-suid apps separately. `make busybox.cfg.suid' generates a file containing config items of the suid apps. 'make busybox.cfg.nosuid' generates a file containing config items of the non-suid apps. This patch helps to separate busybox into two binaries, the suid one and the non-suid one. [YOCTO #4207] (From OE-Core rev: 832d1b5575c76f61623f2e0337554287d056422b) 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>
* busybox: add a config fragment to enable login utilitiesChen Qi2013-06-252-1/+15
| | | | | | | | | | | | Create a config fragment to enable the login/passwd utilities of busybox. [YOCTO #4207] (From OE-Core rev: 2a37490d4d55a1a6e4c4d268231a9d8904d38f8b) 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>
* busybox: add support for CONFIG_FEATURE_INDIVIDUALChen Qi2013-06-251-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if CONFIG_FEATURE_INDIVIDUAL was enabled for busybox, yocto-based systems could start correctly. This is because if busybox is built as individual apps, '/bin/busybox' may not be present, so setting the default ALTERNATIVE_TARGET to '/bin/busybox' is not appropriate and could lead to errors. This patch fixes this problem by checking the existence of '/bin/busybox' before setting the ALTERNATIVE_TARGET to '/bin/busybox'. After this change, if busybox is built as individual apps, we'll have links like '/bin/ls -> /bin/ls.busybox', otherwise, we'll have links like '/bin/ls -> /bin/busybox'. Note there's a grep expression change in this patch. The old expression doesn't work well, it has an unwanted underscore, so I changed it to make it work. [YOCTO #4570] (From OE-Core rev: 87efa83191f0b4f4cec3a821b6dfe425c781c077) 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>
* busybox: remove the postinst part of the recipeChen Qi2013-06-251-8/+0
| | | | | | | | | | | | Remove the pkg_postinst_${PN} from this recipe, as it's redundant. It basically wants to do the same thing as the update-alternatives does. But it doesn't do it well. (From OE-Core rev: 5b961afc784747eb8240540e542a789849118596) 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>
* Sync with PRINC removal from meta-intelRichard Purdie2013-06-242-2/+2
| | | | | | | | | PRINC usage is removed from meta-intel, bump core PR values to ensure no version regressions. (From OE-Core rev: c6108ebe116eafaf0a22b5f22a3eec87c86859f4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: Bump PR to allow removal of PRINC from meta-yoctoRichard Purdie2013-06-211-1/+1
| | | | | | (From OE-Core rev: b2df9eef5a99e1d5a9dd262c1091b409a8c8174d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-udevd: fix invoking init script failedHongxu Jia2013-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | root@emenlow-noemgd:~# /etc/init.d/systemd-udevd restart Stopping udevd Starting udev corrupt queue file root@emenlow-noemgd:~# /etc/init.d/systemd-udevd status udevd is stopped root@emenlow-noemgd:~# ps 3805 root 8728 S /lib/systemd/systemd-udevd The process name is systemd-udevd rather than udev which is used in systemd-udevd's init script. [YOCTO #4746] (From OE-Core rev: 8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-wait: Upgrade to fix typoRichard Purdie2013-06-171-1/+1
| | | | | | | | | There was a typo, the fix was merged upstream, this patch updates to the new SRCREV. (From OE-Core rev: ae089fddda333228d8589b7951fa96232accdb6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Add nativesdk-ncurses-terminfo-baseRichard Purdie2013-06-141-0/+1
| | | | | | | | | | | | We've been seeing issues where some TERM values don't work well with the tarball. These show up as escape codes coming from simple python calls such as printing the python version. Adding the terminfo goes part way to addressing the problem, the remainder is ensuring the relocation code correctly searches the right path for it (which will be in a follow on patch). (From OE-Core rev: 697e64c98affc4e0d8aa4828e74331c918b23a0e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update install-quotaon-once.patchRoss Burton2013-06-141-15/+17
| | | | | | | | | | This patch has been merged upstream now, so refresh the patch with a backport (the patch was changed before being merged). (From OE-Core rev: cdad18589d08fdf592a50685f3b5fed32f4f4c76) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: update to 2.23.1Jonathan Liu2013-06-133-94/+2
| | | | | | | | | | Removed patches integrated upstream. (From OE-Core rev: 4f7c228c841ce1244e92bceeef363e29748adadd) 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>
* buildtools-tarball: add difflib and pprint python modulesSaul Wold2013-06-111-0/+2
| | | | | | | | | Needed for the unittest part of bitbake-selftest can work correctly. (From OE-Core rev: fe744381e8844ad17dcc6e036650a442dbc9575d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-base: s/dosfsprogs/dosfstools/Christopher Larson2013-06-111-1/+1
| | | | | | | (From OE-Core rev: 15e3c72bdcabf0a21efff60333323ac04908efb0) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: don't install quotaon.service twiceRoss Burton2013-06-112-0/+33
| | | | | | | | | | | If the same file is installed twice there's a race which can lead to "make install" failing. Remove the redundant installation of quotaon.service to eliminate the race. (From OE-Core rev: c6c5c2285e1b6cb3598ccba08aee3dfd090e7129) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: don't exclude mipsChristopher Larson2013-06-111-11/+0
| | | | | | | | | | | Now that liburcu supports mips, this packagegroup can pull in lttng recipes (lttng-ust, lttng-tools, lttng-modules, babeltrace) on that architecture as it does for the others. (From OE-Core rev: c0f435cde195e1d037af32c69aa1732797362cfa) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-base-vfat: include dosfsprogsChristopher Larson2013-06-111-1/+2
| | | | | | | | | | The ext2 group includes e2fsprogs, so this is consistent and should be appropriate, I think. (From OE-Core rev: 4ec66dc5f38913056942e1288c0b01a00ea0551f) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: drop Makefile.in hunks from patchRoss Burton2013-06-111-34/+0
| | | | | | | | | | Patching a generated file is prone to conflicts, and we'll be replacing this file anyway when configuring, so drop the Makefile.in hunks. (From OE-Core rev: a3fa323c4d24375be9b783281c3cf31c0707ecb7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal: do not remove packaging files in the rootfs postprocessLaurentiu Palcu2013-06-111-2/+0
| | | | | | | | | | | | | | | | | | Since the removal of PM's meta-data was moved in image.bbclass, after rootfs_*_do_rootfs() runs, there's no need to remove the files in rootfs postprocess stage. Also, if the meta-data is removed then there's no way we can save the postinstalls to /etc/(deb|ipk)-postinsts later. For RPM, it doesn't really matter since the postinstalls are saved to /etc/rpm-postinsts as soon as the postinstall fails. [YOCTO #4484] (From OE-Core rev: aac8a59216819759d6b97bc30a7c717dbee7060a) 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>
* libxml2: added python dependency to nativesdkFelipe F. Tonello2013-06-111-0/+1
| | | | | | | | | | | | | | | | This is necessary since libxml2 has python dependency. This patch will fix this error: ... /path/to/build/system/4.7.2/ld: cannot find -lpython2.7 ... ERROR: Task 4152 (virtual:nativesdk:meta/recipes-core/libxml/libxml2_2.9.0.bb, do_compile) failed with exit code '1' (From OE-Core rev: 4f2b3e3831bdc5707eacdab571ab207d8b09953e) Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-live.sh: fix media automount failed after booting from usb-driveHongxu Jia2013-06-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1, This issue happens to BSP only. After a BSP board is booted with Yocto linux from USB drive, "cat /proc/mounts" shows: ... /dev/sda3 /media/sda3 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0 /dev/sda1 /media/sda1 ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0 /dev/sda2 /media/sda2 ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0 ... but actually the directory /media/sda1 doesn't exist at all, "df" shows: ... df: /media/sda3: No such file or directory df: /media/sda1: No such file or directory df: /media/sda2: No such file or directory ... 2, This is because the mount data comes from proc setup during early boot before the change root, which then uses a different root filesystem, the media is not in the new root filesystem. 3, During early boot before switch_root, use `mount --move' to move all medias to the new root filesystem could also fix this issue. [YOCTO #2064] [YOCTO #3705] (From OE-Core rev: 79bd773cc5e8b8e873cabeb2b9a91f460501dad7) 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>
* buildtools-tarball: Add json, unittest and compression python module packagesRichard Purdie2013-06-101-0/+3
| | | | | | | | | We need unittest so bitbake-selftest can work, tarfile from the compression module for opkg-utils and json for webkit builds. (From OE-Core rev: bbcb7329ca4340dbd3d529567dc6b605347e3368) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-external-tarball: Improve DESCRIPTION/SUMMARYRichard Purdie2013-06-071-1/+3
| | | | | | | | Improve the DESCRIPTION for the recipe and add a SUMMMARY. (From OE-Core rev: ecdccd0c19c1d27aee43a3cca8e4467f270d7f9c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-external-tarball: Modernise and renameRichard Purdie2013-06-071-4/+12
| | | | | | | | | | | | | | | | | The external-python-tarball was intended to provide python for those users who didn't have python 2.6. It has been unloved for a while so this refreshes it a bit. Specifically: * Include git and tar since these can have version issues on some systems * Rename to buildtools-tarball to better reflect its purpose * Remove the site-config file from the tarball, its pointless * Prune down the environment file to just cover PATH and OECORE_NATIVE (which is needed to correctly install the tarball) * Add missing grp module (used by do_package) from the unixadmin package (From OE-Core rev: c8de009e96930709efe8f6aa4e65dd04a48081f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted: Add libssp libraries to packagegroup/imageSaul Wold2013-06-071-0/+3
| | | | | | | | | | | | These libraries are needed to ensure when the -fstack-protector flags are used the compile will complete and not fail due to missing libraries [YOCTO #4586] (From OE-Core rev: 543ede707a268ca17f972be54860e455b4de9e0b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: update to upstream version 1.2.8Marko Lindqvist2013-06-071-0/+0
| | | | | | | | | | Only version number and release year changed in license text. (From OE-Core rev: 776fa3e49db312bcfd71c6b0637c989ad36fc84b) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: update to upstream version 1.2.8Marko Lindqvist2013-06-071-5/+6
| | | | | | | | | | Only version number and release year changed in license text. (From OE-Core rev: 4688c905776b9d995b2510224da269ac85bc8253) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Add support for older hostsMark Hatle2013-06-042-0/+216
| | | | | | | | | | | | Older hosts don't support some of the features required by the latet util-linux. Add workarounds or revert changes to older versions to make it work. (From OE-Core rev: da5b23e45c7e4dea2f3802ff5af5c81b08aba201) 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>
* udev: do not recommend pciutils/usbutils idsMarcin Juszkiewicz2013-06-041-1/+0
| | | | | | | | | | | udev does not require those files to be operational and they add ~350KB to rootfs (From OE-Core rev: af85ad00d31db0cfe499af815357f7f118e7e546) Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: obey 'tcp-wrappers' PACKAGECONFIGChristopher Larson2013-05-311-2/+3
| | | | | | | (From OE-Core rev: 5ada1631ee6feb0b031b64c9fe5cf0d390c732f9) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALLJason Wessel2013-05-301-0/+2
| | | | | | | | | | | | | | | | | | | The ncurses package was generating the following error as a result of not specifing the PACKAGES_DYNAMIC correctly. This error only appear when using the IMAGE_INSTALL list that has been expanded by the hob or from the pkgdata. ERROR: Nothing RPROVIDES 'ncurses-libtinfo' The dynamic packages are named using "${PN}-lib%s". So we check for ${PN}-lib* (From OE-Core rev: 67dd4e31272918e08b65b5c8d5d6b00e814dbf7f) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 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>
* initscripts: let status return 0 when proc is running wellJesse Zhang2013-05-301-0/+1
| | | | | | | | | | | | | Ensure that the status returns 0 instead of the last shell command result, otherwise the calling script can not properly detect the status of pid. (From OE-Core rev: d9d4fdc769dfe6bf9838f5c5f3189a80f0e3cf90) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 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>
* dbus-glib: use BPN instead of PNJesse Zhang2013-05-301-4/+4
| | | | | | | | | | | | | | | | Fix warnings in multilib build: WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/dbus-glib WARNING: /usr/share/dbus-glib/tests (From OE-Core rev: 66224a0fbd4056d954cbf1db3a8b91d06a638b80) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 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>
* systemd: add udev-utils dependency for udev-hwdbLaurentiu Palcu2013-05-301-0/+2
| | | | | | | | | | udev-hwdb needs udevadm tool to compile the hardware index. (From OE-Core rev: e7379a75ea2698d149ab2e7147f1140132ebfedf) 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>
* util-linux: Add ability to compile with nativesdkJason Wessel2013-05-292-1/+5
| | | | | | | | | | | Some of the tools in the util-linux are used for disk and text file operations in the nativesdk so as to get around different versions that may exist on the host system. (From OE-Core rev: 2348ce4fccf0ec4f3bc7aacf953eb03dfac0642a) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: do not create symbolic link from /run to /var/runJonathan Liu2013-05-292-6/+1
| | | | | | | | | | | The /run directory is now a tmpfs with /var/run as a symbolic link pointing to /run. (From OE-Core rev: 691593177aa78a56ce138f1041872bebca2aa056) 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>
* udev: do not create /var/volatile/run in init scriptJonathan Liu2013-05-291-1/+0
| | | | | | | | | | | | | | | | Previously in udev init, /var/volatile/run had to be created after mounting all tmpfs filesystems so that udevd can write to /var/run (a symbolic link to /var/volatile/run). This is because udev is started before populate-volatile.sh. Now that /var/run is a symbolic link to /run (a tmpfs filesystem), /var/volatile/run doesn't need to be created anymore. (From OE-Core rev: d557f6615701c9f2f461a10c30de1d9572424266) 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>
* systemd: remove old /var/run workaroundsJonathan Liu2013-05-292-7/+0
| | | | | | | | | | | | Do not clear /var/run on startup as it is a tmpfs. Do not create empty /var/run/utmp on startup as it no longer seems needed for systemd-update-utmp-runlevel.service to start properly. (From OE-Core rev: 0c357b53b2c0123feeedfc202491b39eb639bfa7) 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>
* systemd: do not create symbolic link from /run to /var/runJonathan Liu2013-05-291-3/+0
| | | | | | | | | | | The /run directory already exists as a tmpfs with /var/run as a symbolic link pointing to /run. (From OE-Core rev: ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2) 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>
* systemd: do not create /var/volatile/run and /var/volatile/lockJonathan Liu2013-05-292-3/+0
| | | | | | | | | | | | | | | | | | The directories are not needed anymore. Previously: /var/run -> /var/volatile/run /var/lock -> /var/volatile/lock Now: /var/run -> /run /var/lock -> /run/lock (From OE-Core rev: b314519f31699946140c93da961ff79e5ee28ccd) 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>
* base-files: add /run directory from FHS 3 draft specificationJonathan Liu2013-05-293-9/+9
| | | | | | | | | | | | | | | | | | | | This adds the /run directory from the Filesystem Hierarchy Standard 3.0 Draft [1] and refactors the filesystem as follows: - Remove creation of /var/volatile/run - Remove creation of /var/volatile/lock - Remove symbolic link from /var/run to /var/volatile/run - Remove symbolic link from /var/lock to /var/volatile/lock - Add symbolic link from /var/run to /run - Add symbolic link from /var/lock -> /run/lock - Add /run to /etc/fstab for sysvinit compatibility [1] http://www.linuxbase.org/betaspecs/fhs/fhs.html#runRuntimeVariableData (From OE-Core rev: 0e326280a15b0f2c4ef2ef4ec441f63f55b75873) 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>
* systemd: fix ordering for machineid and run-postinsts servicesJonathan Liu2013-05-292-2/+2
| | | | | | | | | | | | | | | | | | The remount-rootfs.service unit has been renamed to systemd-remount-fs.service in systemd v183 and later. The run-postinsts script writes to /var/log (a symbolic link to /var/volatile/log), so systemd-tmpfiles-setup.service is added to After= in run-postinsts.service to ensure /var/volatile/log is created before running the script. [YOCTO #4490] (From OE-Core rev: 8b59ec4eb761d88445da94bb90aa2c5db0bbf365) 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>
* dropbear: a fix for hang in dropbearkey, built for x32Nitin A Kamble2013-05-242-1/+142
| | | | | | | | | | | | | | | | | | | | | This commit fixes runtime hang of 'dropbearkey' utility, built for a x32 target abi system. The hang was observed while generating ssh keys, with this command: dropbearkey -t dss -f private The issue is fixed by changing the code, where 'long' in x86_64 mode is assumed as 64bit quantity. With the x32 abi, the processor is in x86_64 mode, but the 'long' is a 32bit quantity. Hence the fix uses 'long long' instead of 'long' to define/access 64bit data variables. Fixes bug: [YOCTO #4496] (From OE-Core rev: 8f5bc47729edb8cb051d81e9ff1680cb8d2eca25) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: forward port uclibc patches to 204Khem Raj2013-05-242-97/+99
| | | | | | | | (From OE-Core rev: e33b5ddeb14e60f42ea709f41965e4763d4bf027) 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>
* systemd: update to 204Jonathan Liu2013-05-248-415/+381
| | | | | | | | | | | | | Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Added missing util-linux dependency. (From OE-Core rev: 9e39d10ec92db23c9765b83559c32c0302bc8c5d) 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>
* populate-volatile.sh: remove repeated leading slashes in TNAMEJonathan Liu2013-05-241-7/+7
| | | | | | | | | | | | | | | | This avoids triple slashes in the generated /etc/volatile.cache to reduce disk usage and in the output when verbose mode is enabled. As all the paths for volatiles start with a slash, we can change TNAME=${ROOT_DIR}/${TNAME} to TNAME=${ROOT_DIR}${TNAME}. To avoid a double slash when ROOT_DIR is /, we strip the extra slash from ROOT_DIR. (From OE-Core rev: af56670f656ec0989aa7fd6cf6037cbc9cd88185) 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>
* dbus: remove /var/run from package as it is created on startupJonathan Liu2013-05-241-2/+5
| | | | | | | | | | | | | /var/run is a tmpfs that is created on startup. For sysvinit, /var/run/dbus is created by populate-volatiles.sh. For systemd, /var/run/dbus is created implicitly by dbus.socket when creating a listen stream socket at /var/run/dbus/system_bus_socket. (From OE-Core rev: c11ba731fb245683148d0a8485b8c4d73bf94c28) 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>
OpenPOWER on IntegriCloud