summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* xserver-nodm-init: Use useradd to add the xuser for rootless XSaul Wold2012-01-301-18/+10
| | | | | | | | | | | | | | This also address an issue with dbus and connman, since connmand needs to start as the xuser in the rootless X situation. Fixes: [YOCTO #1699] (From OE-Core rev: 6823a32035de5d0bcd82a3b41a6ad536aaddbc58) (From OE-Core rev: 26573a84583793f64979100c2b89a95146d38dd1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: use useradd to create avahi user for avahi-daemonSaul Wold2012-01-301-7/+9
| | | | | | | | | | | | | | | | | DBus was failing to start correct since the avahi user was not setup. Keep the dbus reload since this could still be installed as a package an would require a dbus restart. Fixes: [YOCTO #1699] (From OE-Core rev: f0bfecc8a0af1c4c76a37a9c88f334ab6ae7e7ef) (From OE-Core rev: 925c7cd5c3ff44a4d0f2c71d0029998bfd00db48) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2012-01-302-3/+3
| | | | | | | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. (From OE-Core rev: 43ac43d7c7245e9aa2bfc8572c2620074d1e2a25) (From OE-Core rev: 3890186dda8db3978f18c05099a6f327c122cc1d) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Ensure localstatedir is added to the packageRichard Purdie2012-01-302-2/+4
| | | | | | | | (From OE-Core rev: dc0d004fd23f686591281eb1d700327ea15d1c54) (From OE-Core rev: 3de19d01402aa7fdee28df2e1066987c14c17a78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix various problemsRichard Purdie2012-01-301-6/+27
| | | | | | | | | | | | | | | | | | | | | | Before this change: a) Ownership and permissions of files copied from packages to package-split could get lost during the copy process. This change ensures they are preserved. b) Ownership and permissions of directories could also get lost. Most of the complexity in this patch is addressing this problem ensuring newly created directories match the source ones being copied. c) There was no warning about directories being created but not shipped by any package. This patch fixes all of the above issues. (From OE-Core rev: 6021e309e69d823e1467648aee12a32182945569) (From OE-Core rev: 5f9228b32c243ae499398763ce7c90b776dc9d24) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use $D not ${D} in the postinstallRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | We need to do this as we don't want bitbake to expand the variable but use the shell variable instead. (From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced) (From OE-Core rev: dcf118e9dfd15f7cf535c9918a6fcad9f9121ff4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Add missing glib-2.0 dependencyRichard Purdie2012-01-301-2/+2
| | | | | | | | (From OE-Core rev: c367a2d2f4b817211b6bd200e49b49355cd67fe2) (From OE-Core rev: f4555a27bcc2174d30c1ea4ab7785325766b7c4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/terminal: add support for XFCE's terminal emulatorJoshua Lock2012-01-301-0/+23
| | | | | | | | | | | | That's Terminal on Fedora and xfce4-terminal on Ubuntu/Debian... This could get interesting! (From OE-Core rev: 162b70a36388ac44fc1b39e172cd53579707bff3) (From OE-Core rev: 149cc418dbcbe014225c86d16b5ef696496e3a39) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: fix QA Packaging issuesSaul Wold2012-01-301-1/+3
| | | | | | | | | (From OE-Core rev: d756b85565820f0caef17af4c4aee2bf29ea6794) (From OE-Core rev: 58231521f9f20fb5606efc84f779612834225b7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomics-ops: fix QA Packaging issuesSaul Wold2012-01-301-1/+5
| | | | | | | | | (From OE-Core rev: dfddbffc48e86cb0a6d07da6727782e3b17535e1) (From OE-Core rev: 33fe21a3d446f562fde9730e3755ae99fd50e1ae) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix QA Packaging issuesSaul Wold2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: b3840f88f004c9ef371a075f1800052c66c91759) (From OE-Core rev: 5da0710659d671e7e9494feb546fbad950b0c644) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man: fix QA Packaging issuesSaul Wold2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 2f597288c141c910b945e63e8b31436984ad536b) (From OE-Core rev: cb3cdb9da4866539ac84df811076c4ddad89e47a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at: fix QA Packaging issuesSaul Wold2012-01-301-1/+3
| | | | | | | | | (From OE-Core rev: f3487717ae3b7f9256a3e3cc78be331e424ec457) (From OE-Core rev: e9b469fb19c69dffc0aedf777dc58d41f6e1815e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: fix QA Packaging issuesSaul Wold2012-01-302-2/+4
| | | | | | | | | (From OE-Core rev: 1f55db4936b43e2fd3e50f99815b547e3c5e8010) (From OE-Core rev: b84c1d5854052af3351f853f42c6a0e4b9918dd8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: Fix packaging of xsltConf.shJoshua Lock2012-01-301-2/+2
| | | | | | | | | | | xsltConf.sh is installed to libdir not bindir, fix pacakging. (From OE-Core rev: 27b438df0b937180263346cbf68f1641abcdb068) (From OE-Core rev: 82ff9739d7b95775636d1b9ac7aa4fb5576eccd9) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add readline as dependecy for gdb-cross-canadianMatthew McClintock2012-01-302-2/+2
| | | | | | | | | | | | Got errors that we were unable to find -lreadline, this fixed the issue (From OE-Core rev: ddc9a58b8553599d2328ac1c4449b41681ae45d1) (From OE-Core rev: c50f8d83749d755e58fcd159b8e4dab33fbd9036) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Give coreutils a chance to build the df utilityJulian Pidancet2012-01-303-1/+7
| | | | | | | | | | | | | | | | | | The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) (From OE-Core rev: 5be987aeb5e34bb1277f86a7f294607a6d935a19) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: inherit perlnativeKhem Raj2012-01-301-3/+3
| | | | | | | | | | | | | | | manpage generatition uses xmltoman utility which inturn uses xml-parser. So we add libxml-parser-perl-native to DEPENDS and also inherit perlnative so it does not use the one from build host (From OE-Core rev: 51f6a683ec1d740adf09d808671c7098dc3f83e2) (From OE-Core rev: c2ccc9a294cab3f41cab35eee64f8a464ac8ad9f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport fix for PR32219Khem Raj2012-01-302-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is needed for gold to work. Otherwise connman fails to build since it used hidden weak symbols. See http://gcc.gnu.org/bugzilla/PR32219 http://www.cygwin.com/ml/binutils/2008-02/msg00239.html The fix proposed to gcc had reviews which were not addressed hence the patch is not yet applied to gcc upstream. connman can also have workaround by changing the visibility of these symbols to be default __attribute__ ((weak, visibility("hidden"))) to __attribute__ ((weak, visibility("default"))) in include/plugin.h (From OE-Core rev: 3cb2b003db7371b3a47d02c08352a262e1e419b4) (From OE-Core rev: 9a160921a16c9c37e07e4b5cb30e37348ecd205b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: use useradd class to allow use in read-only filesystemsOtavio Salvador2012-01-301-27/+21
| | | | | | | | | | | | Move creation of required user/groups to useradd class thus allowing use with read-only filesystems and booting the initial boot. (From OE-Core rev: 46e6c3fa8034b12d178d605f3f5d7efe69671a13) (From OE-Core rev: a115b657ed3df1c9b26b016151881a6c9c26ac2b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: move initial criation of group and passwd to preinstOtavio Salvador2012-01-301-1/+18
| | | | | | | | | | | | | To allow use and manipulation of users and groups at rootfs building time, the '/etc/passwd' and '/etc/group' needs to be available as soon as possible. (From OE-Core rev: 0395eba96d6f37f323f5b76564809a44d7ceb103) (From OE-Core rev: 73452afe344b66c6dd8e4e120e61ac9fce8652e3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: check if a group already exists manuallyOtavio Salvador2012-01-301-1/+7
| | | | | | | | | | | | | | The use of groupadd -f makes much more difficult to figure when a group is not add. This was the case of the class not working for our usage and this being caused by the lack of '/etc/group' file but unnoticed as groupadd wasn't failing according. (From OE-Core rev: 82933a1ff921fd0836f03e6f379fd8536cdc0a30) (From OE-Core rev: e3e8f15176107fa26248e878af548835692d3068) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-sdk: Point sysroot to correct locationKhem Raj2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: c9883733fed9267b1a936c08500a4caf8dc52d3d) (From OE-Core rev: 1cffc4c39f897ae1db30825364ff809ce40f512b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Point sysroot to correct locationKhem Raj2012-01-302-2/+2
| | | | | | | | | (From OE-Core rev: b8dad4ab77f5516bc6929e2ed094fdc62a5a52db) (From OE-Core rev: 065b65f8835304a0ba7fe751a132b684a41b08ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module.bbclass: add lock to prevent error bulding ext modulesAnders Darander2012-01-301-1/+4
| | | | | | | | | | | | | | | When external modules are built, files in $STAGING_KERNEL_DIR/scripts/basic will/can get rebuilt. This raises a potential race condition. Prevent this by adding a lock around the do_make_scripts() function. Further, make sure that the kernel has been installed to the sysroot, prior to executing this new task. (From OE-Core rev: 8681b82e8b466929205edde7ba479f3ac1a6143e) (From OE-Core rev: 694e3016e25dff3f573291830d79982c8b8793a2) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport PR46934 fixKhem Raj2012-01-302-1/+394
| | | | | | | | | | | | | | | | | | We have been hitting this issue on ARM/thumb and have a workaround in place to compile samba http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15 This backport should fix the gcc bug (From OE-Core rev: 75f7269a7a1da2494768d4be63c44b12c5cfeeeb) (From OE-Core rev: 446767c4c471b8ec932698a23af5a815d326a0be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-devtools/gcc/gcc-4.6.inc
* gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branchKhem Raj2012-01-301-1/+1
| | | | | | | | | (From OE-Core rev: b1af6951e14d645fe861f289011c91ab6f1b6865) (From OE-Core rev: f6ba855e3d8b33591c14048cac68264e93a821e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: fix broken ubifs link in deploy folderLauri Hintsala2012-01-301-1/+1
| | | | | | | | | | | | | | Fix broken rootfs image link when ubifs is used. Function runimagecmd is using image name "${IMAGE_NAME}.rootfs.${type}". Let's use the same name in IMAGE_CMD_ubifs. (From OE-Core rev: 766f6165471691f651584ebda004e1abb4ea9eb6) (From OE-Core rev: 6c4276ee968bed7a5b3e74637183414a428facb8) Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: fix fix-pkgconfig.patchMartin Jansa2012-01-302-2/+2
| | | | | | | | | | | | | * missing $ is causing problems ie when building webkit-efl * see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003798.html for details (From OE-Core rev: e31dd9b65f3b03f79cabab25eca157532de3bd9c) (From OE-Core rev: 5deaf85c0c07105173e6791a7aafd03aa5b2e204) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsb: Change link of ${baselib} to lib64 for 64bits systemXiaofeng Yan2012-01-301-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct two faults: 1 Binaries of lsb test suite need ld-linux.so* in /lib64. for example: Target$ ./lsbcmdchk -sh: ./lsbcmdchk: No such file or directory Target$ strings lsbcmdchk | grep "ld-" /lib64/ld-lsb-x86-64.so.3 "lsbcmdchk" from lsb test suite is a binary program. A new modification to lsb_1.4.bb caused that binaries from lsb test suite can't run because binaries of lsb test suite need ld-linux.so* in /lib64. But the link is changed due to adding multilib. I changed this link again. 2 correct mandir Waring will appear when running task task do_populate_sysroot NOTE: package lsb-1.4-r2: task do_populate_sysroot: Succeeded WARNING: For recipe lsb, the following files were installed but not shipped in any package: WARNING: /{datadir}/man/man1/lsb_release.1.gz I changed mandir=${D}/man to mandir=${D}/${datadir}/man (From OE-Core rev: f2dada2079b5f98e13d4888609368ba111967a60) (From OE-Core rev: 9961c1e73e8f8ae426d7ac8c9ba35b05669cbffe) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysprof: remove duplicated patchSaul Wold2012-01-302-14/+0
| | | | | | | | | | | | | Apparently this pactch was duplicated by backported patch, and needed to be applied more broaded than to just ppc. (From OE-Core rev: 182e4768b651e58de5b42f9fb55ae9816b57233b) (From OE-Core rev: 62700be77386ba3388dc65b599cce9dfe5b802f6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libomxil: Fix QA Package ErrorsSaul Wold2012-01-301-2/+7
| | | | | | | | | (From OE-Core rev: ef786ef9abcd919c651c14004a1cb0a0dcad1bff) (From OE-Core rev: 83cad4ce6b1e942c3c45d316cbec95db4e04bebf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* data.py: fixed message domain errorsSamuel Stirtzel2012-01-301-1/+1
| | | | | | | | | | | | The dynamic message domain was introduced by Richard Purdie with the following patch: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89 (From OE-Core rev: 55a8382e460430dc5ff10755d235d637531d2ae7) (From OE-Core rev: d08db11fcae91deca10d250430a6f77de47f9080) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch.py: fixed message domain errorsSamuel Stirtzel2012-01-301-2/+2
| | | | | | | | | | | | The dynamic message domain was introduced by Richard Purdie with the following patch: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89 (From OE-Core rev: 2383e06c8ed7c15aa148b9dbe40445e7095b6f57) (From OE-Core rev: d104367903478613123c64df8d2a5188775d1f9d) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.Wenzong Fan2012-01-301-5/+5
| | | | | | | | | | | | | | | | | [YOCTO #1671] qt4-x11-free's recipe includes a sed script to sanitize it's .prl files, which are used by qmake to generate a list of libs and includes in the Makefiles it generates. It however, fails to take into account the possibility of trailing slashes, and thus leaves them in, and breaks gcc's syntax. Update these regexes to account for them. (From OE-Core rev: 8d580ed449c09a64483519d66e14a2e3b071806a) (From OE-Core rev: 9f655fbf0f818e25fdbf247334881da07a29e815) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl2: Fix a race on route/pktloc_syntax.hTom Rini2012-01-302-1/+28
| | | | | | | | | | | | | At issue is that route/pktloc.c (not generated) depends on route/pktloc_syntax.h (generated). (From OE-Core rev: 7bec22c70598a5180f754bbbe2dfdd3db2843a64) (From OE-Core rev: b992c9e631bfb4888a20a13b7ebf3b5acf59edb5) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools: fix multi-word arguments for EXTRA_OECONFChristopher Larson2012-01-301-4/+2
| | | | | | | | | | | | | | This is needed to better support things like the following (with a multi-word BUILD_CC): EXTRA_OECONF += '"ac_cv_prog_CC_FOR_BUILD=${BUILD_CC}"' (From OE-Core rev: 38a394e7ffedccfabda085c97add8944718943c2) (From OE-Core rev: 5c26de72b97a670a263428ef3a1846385683feeb) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flac: Add missing gettext dependency (requires iconv)Richard Purdie2012-01-301-1/+1
| | | | | | (From OE-Core rev: fd310c2d64dd2df62bf3a10e5dbad25492013ae2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix sysprof for powerpc64Matthew McClintock2012-01-302-0/+36
| | | | | | | | | | | | __ppc64__ is not defined on powerpc64, rather __powerpc64__ is, this uses a patch that is already upstream to fix builds for powerpc64 (From OE-Core rev: 4732222c46652951e66aae377631f4a361179d8f) (From OE-Core rev: d4cc180e60da43f66618d130009ac5d4930b9228) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix mdadm for powerpc64Matthew McClintock2012-01-302-2/+54
| | | | | | | | | | | This takes an upstream fix for compiling on powerpc64 (From OE-Core rev: 1325f506972555d4c218c15090bfa3f63fb13473) (From OE-Core rev: c6da1a4eb9ba6885b49b0240030dff9b234ab1ca) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: fix inverted LFS logicMartin Jansa2012-01-302-2/+23
| | | | | | | | | (From OE-Core rev: 6dd3f5c2f300c9cb5b6dbe2afe67323fc6f44c3e) (From OE-Core rev: bf7b5c6f6b8d27e64fcb169ec9a4c4ecf2047e58) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglade: add gdk-pixbuf dependencyMartin Jansa2012-01-301-1/+1
| | | | | | | | | (From OE-Core rev: eb709fceacab3ec33f38694d6238b96cb0474848) (From OE-Core rev: c0382636ee2cfc0ea74464904d94eb1178512700) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use useradd and update-rc.d classes in the OpenSSH recipeJulian Pidancet2012-01-301-21/+8
| | | | | | | | | | | | | | | | | | | The current sshd postinst and postrm scripts in the OpenSSH make the package dependant of the adduser/addgroup scripts which may not be available on all systems. This patch replaces the sshd postinst and postrm scripts with proper usage of the useradd and update-rc.d classes. This patch had been modified from the previous proposed version to use useradd long options for more clarity. (From OE-Core rev: 6b7f399d595ef58e759dab211f4ece155119a680) (From OE-Core rev: 058116f528bff27ca5a0e56bbf8070e94f934f32) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the --root option in shadow-native programsJulian Pidancet2012-01-301-91/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The add_root_cmd_options.patch that we apply to shadow-native allow the various programs from the shadow utility package to chroot() so they can be used to modify etc/passwd and etc/group if they are located in a sysroot. Some of the shadow programs (gpasswd, useradd and usermod) need to parse the command line in two passes. But we can't use getopt_long() twice because getopt_long() reorders the command line arguments, and consequently corrupts the option parsing during the second pass. This patch fixes this issue by replacing the first pass by a very simple manual walk of the command line to handle the --root argument. This change is a patch of another patch, I apologize if it is difficult to read. But IMHO it wouldn't make sense to put the patch for this issue in another separated file. The --root options in groupadd and useradd are needed to make the useradd class work, and this issue was preventing to use useradd and groupadd long options while using the class. (From OE-Core rev: 6e9e19b18597103d8fe09f258cfd9904bb5f1c27) (From OE-Core rev: 533d99f28fab73503ed3ebaee63aaaeb23ad2a1c) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Allow user mode NFS server to run without rpcbind / portmapJason Wessel2012-01-304-13/+44
| | | | | | | | | | | | | | | | | and nfsroot mount without the need to talk to an RPC info server as long as the port numbers for mountd and nfsd are known in advance. This patch updates the qemu startup scripts and the user mode NFS server to have the ability to start without the need to use rpcbind or portmap services. (From OE-Core rev: 3b1346c607c41a2d592c48594457c32153cb2314) (From OE-Core rev: 13899c6cd44a618276e1b8d236187eddcb98bc2c) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: Fix logic that was accidently leaving legacy pkg-config ↵Richard Purdie2012-01-302-13/+17
| | | | | | | | | | functionality enabled (From OE-Core rev: aa816b0aaf39dc6f822114df0bd6d4dd62fce0b8) (From OE-Core rev: d46496b814b9a75523b337202d53c2c6c198566b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl/attr: don't make symlink if base_libdir = libdirSaul Wold2012-01-301-0/+3
| | | | | | | | | (From OE-Core rev: 46cd3527217821a7e9a8223dc45a43294b6c5e8d) (From OE-Core rev: c2d14090d6400f4d8cb140947ccb9b68f2086835) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native.bbclass: Ensure native recipes have a deterministic baselib valueRichard Purdie2012-01-301-0/+2
| | | | | | | | | | | | | | Changes to baselib by specific machine configuration were resulting in sstate cache invalidation, particularly in multilib configurations. This patch ensures this doesn't happen and native sstate cache files are reusable. (From OE-Core rev: d0915fb0a2cc80ad45b3fd526d3b29a91d99572c) (From OE-Core rev: 4fe88a2a3c7cec3ad9ea13d39d71d317405c910a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Ensure machine specific stamps are only wiped for the ↵Richard Purdie2012-01-301-2/+7
| | | | | | | | | | | | | | | | | | | current task sstate was being a little too ethusiastic about removing stamp files and was removing stamp files for other machines when it shouldn't have been. This patch teaches sstate about machine specific stamp extensions and allows it to only remove the current task's stampfiles. Based on a patch from Phil Blundell <philb@gnu.org> with some tweaks from me. (From OE-Core rev: 5e9488495401399d39fcb5012b86c313b6caca73) (From OE-Core rev: e8efeedbc2ec1587b1c4d938c25cacd4e8611053) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-buildenv-internal: Add SOCKS5_{USER, PASSWD} to BB_ENV_EXTRAWHITEKumar Gala2012-01-301-2/+1
| | | | | | | | | | | | | | | | | | | If a SOCKS5 gateway is needed for a proxy access like git it might also require authentication to the proxy via a password and username. Adding SOCKS5_USER & SOCKS5_PASSWD to BB_ENV_EXTRAWHITE allow for automation of the authentication request to occur when something like a git fetch is going through the proxy. This patch requires the bitbake patch to add extra exportvars so these variables get passed from Env -> bitbake -> fetcher (From OE-Core rev: 9206ea0f7cd39d2ba6ff4b41cbeb17409d3ae5f1) (From OE-Core rev: e0438a7ce3523c25d36d564ca85753f0931544e6) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>