summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-09-16eglibc-2.13: Replace oewarn with bbwarnKhem Raj
oewarn does not exist (From OE-Core rev: 97249b6d12e9a87bac97a48ad35434084bbe70e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16initramfs-live-install: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. (From OE-Core rev: ac3373f5baefd5ac5fea7d7f68690bf0f0889be6) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16grub_1.99: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. (From OE-Core rev: 2beec7ff9b177f82a897f281fa72e5d7f96246bc) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16ttf-bitstream-vera_1.10: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. (From OE-Core rev: cfccedf0f9c2aa051de3ecdd4c3f6d42729c982d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16liberation-fonts_1.06: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. (From OE-Core rev: c259bc5a16d85527ad22c22e996195eebe3519c1) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16liberation-fonts_1.04: add PN to RDEPENDSTom Zanussi
RDEPENDS is package-specific, so add ${PN} to it. (From OE-Core rev: d29f252486f80f2d59f5cd63042336f317a59e43) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16web: Fix SRCREV due to lost commit in web-satoSaul Wold
[YOCTO #1454] This SRCREV fixes the number of parameters (From OE-Core rev: 969165666d5a1074c5389d98b79c41ff31597baa) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16distro-tracking: Update package aliasDexuan Cui
(From OE-Core rev: ed8b469babb1273d7c249baeb4b642e751317b2a) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16liboil-0.3.17: add upstream Fix-enable-vfp-flag patchBernhard Guillon
Add upstream 1921498bcc06408e8b051a3a9e9ce4182998f748 patch to fix compiling with vfp Without this patch this error occours on arm with vfp and softfloat: | math_vfp_asm.S:273: Error: selected processor does not support `fnegd d12,d4' | math_vfp_asm.S:273: Error: selected processor does not support `fstmiad r0!,{d12,d13,d14,d15}' | math_vfp_asm.S:273: Error: selected processor does not support `fmxr fpscr,lr' | make[3]: *** [math_vfp_asm.lo] Error 1 (From OE-Core rev: f7f129b60d33e2758a3a9cc66a98251e1325664d) Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16claws-mail: be carefull with # comments ending with backslashMartin Jansa
* next line after #foo \ is not parsed correctly! * but http://bugzilla.pokylinux.org/show_bug.cgi?id=813 says NOTABUG, so be *very carefull* (From OE-Core rev: 125eb103194de5788920df13ccbc8004c54fb217) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16abiword: be carefull with # comments ending with backslashMartin Jansa
* next line after #foo \ is not parsed correctly! * but http://bugzilla.pokylinux.org/show_bug.cgi?id=813 says NOTABUG, so be *very carefull* (From OE-Core rev: e1cfe72e7d1e8c165aeec4e380788288fe80a244) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16subversion: remove neon-detection.patch and --with-neon optionMartin Jansa
* upstream detection seems to be doing its job right now * I don't see how this is supposed to work -- neon_config="$withval/bin/neon-config" -+ neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon" when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config " (From OE-Core rev: 6466de31048260089b8988280f77efdb14ac2f21) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16task-core-boot: allow distributions to define login and init managerMartin Jansa
* for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit (From OE-Core rev: e4d19d36877b6f608cef9e395504cd5b424e1920) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16openssh: update init script to create ECDSA keys if neededMartin Jansa
* Starting with openssh-5.8p1, the server will default to a newer key algorithm (ECDSA). (From OE-Core rev: 998e3acf0d38007fde10f47f98b71192685e19b9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15linux-yocto: remove emenlow from meta-yocto bbappend (2.6.37 version)1.1_M4.rc2+Paul Eggleton
The emenlow BSP is now contained in the meta-intel layer. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15qt4-x11-free: remove emenlow reference from meta-yocto bbappendPaul Eggleton
This is already in meta-emenlow within meta-intel. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15local.conf.sample: remove emenlow from example machinesPaul Eggleton
emenlow is now supported within meta-intel. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-15cml1/kernel: Update do_menuconfig to use oe.terminal()Richard Purdie
The recent environment fixes broke the menuconfig task since it couldn't access variables like DISPLAY. This patch updates it to use oe.terminal instead allowing it to work again. (From OE-Core rev: e876a44fa8ed0aa2e09084c1e7ddfc876c3f981b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15distro-tracking: Update aliasZhai Edwin
(From OE-Core rev: 80f930550b696c92f2fab25a4ee8f7d51d4f1860) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15distro_tracking: update package aliasDongxiao Xu
Update package alias which exist in other two distributions. (From OE-Core rev: 81388937aefbba9f57bf6351b43cff042e93ebf0) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15task-core-sdk: change task-core -> task-core-consoleSaul Wold
(From OE-Core rev: 504103ba42783e937c7201a8aa079a52cdde2846) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15grub2: new recipeTom Zanussi
This adds the grub-1.98 from meta-intel while upgrading it to 1.99. (From OE-Core rev: ccd2148e686f93518dc1a80376f7ddb24587a3da) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15initramfs-live-install: add support for grub2Tom Zanussi
grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. (From OE-Core rev: c67d03eb3684acab89e5972609e397087727e74e) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.cBruce Ashfield
Merging the following commit for the -rt machines: [ preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt kernels. Restore the move to non-static from commit 6857336c7fddaf460a13adc0c395698fcf9423ff. Reported-by: Kishore Bodke <kishore.k.bodke@intel.com> (From OE-Core rev: 1bc26dca631da53d956008a4570c46012c478435) Signed-off-by: Darren Hart <dvhart@linux.intel.com> ] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15linux-yocto: split e100 and e1000 supportBruce Ashfield
Merging the following meta changes: 12574e5 meta: create seperate feature for 10/100 LAN support c8b37bf meta: Remove 10/100 LAN support. (From OE-Core rev: 4ab79c8e02f9fe7a02c56019d5b169ad4f0e3aec) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15linux-yocto: move common tasks to a common locationBruce Ashfield
During the initial development of the linux-yocto recipes there were several additional tasks that needed to be run in any inheriting recipe. At that time, they didn't seem to fire if they were in the include file versus the recipes themselves. As it turns out, these tasks do work fine if placed in the linux-yocto.inc file, and the rest of the recipes can be simplified as a result. (From OE-Core rev: a1ab7c5e03df97e630dfee470ff7959d3143bf41) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15task-core: split into task-core-console and task-core-x11Paul Eggleton
[YOCTO #1481] Since tasks are referred to almost exclusively via RDEPENDS, and bitbake will build an entire task recipe when only one of its task packages are actually needed, building a console-only image that uses task-core-apps-console (or less directly, has apps-console in its IMAGE_FEATURES) will cause a build of a whole list of X11 applications that aren't needed. Splitting the task-core recipe into X11 and console portions prevents this issue. (From OE-Core rev: 07407baafb728c5ae1bb283f5b02a2ac773360bc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15distro_tracking_field: add distro checking fieldYu Ke
add the missing distro checking field for some recipes (From OE-Core rev: eaef15630c38b8dd60f83df766e6b17cb3838130) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15qt4: add blacklist-diginotar-certs patchEric Bénard
- this patch comes from Nokia and blacklist all DigiNotar intermediates and root certificates, more details are available here : http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/ (From OE-Core rev: abf51c33aba51782246a9136dddb53893216f518) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15package_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae buildDexuan Cui
[YOCTO #1070] Currently with deb packaging, we have 2 issues when running "bitbake meta-toolchain-gmae". 1) when MACHINE="qemux86", SDKMACHINE="i686", INSTALL_BASEARCH_DEB is "i686", too. This causes the following ERROR: | E: Couldn't find package task-sdk-host-nativesdk NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is becasue: due to the DPKG_ARCH mapping, we create such a deb package tmp/deploy/deb/i686-nativesdk/task-sdk-host-nativesdk_1.0-r10_i386.deb; dpkg can't recoginze the package. We need to map INSTALL_BASEARCH_DEB in the same way. 2) when MACHINE="qemux86", SDKMACHINE="x86_64", INSTALL_BASEARCH_DEB is "x86_64", too. We get such an ERROR: | E: Couldn't find package task-cross-canadian-i586 NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is because: dpkg can't recognize the generated package tmp/deploy/deb/x86_64-nativesdk/task-cross-canadian-i586_1.0-r0_i386.deb Here the "i386" suffix is incorrect and should be "x86_64" -- the i386 comes from the line DPKG_ARCH_i586 ?= "i386" in package_deb.bbclass. However, for canadian package, actually here the overriding of DPKG (from "x86-64" to "i386") should not happen -- it accidently happens just because TARGET_ARCH exists in OVERRIDES. We can move the overriding logic to the anonymous python function to work this around. (From OE-Core rev: 63010b9ee89643c8e83656783231f0a7848d9e45) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15Uprev to latest version of prelink_git, fixing TLS issuesMark Hatle
[YOCTO #1473] From the upstream cross prelink respository: Fix printf typecast problem Without this fix the printed TLS(...) information is incorrect, which causes the core prelinker code to incorrectly prelink. This bug triggers primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm targets. (From OE-Core rev: 2fc778068ebbd97b0fb473fb35a3eca03da86542) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-14core-image-minimal: Add missing POKY_EXTRA_IMAGE variableRichard Purdie
Whilst this needs renaming it at least brings this image into line with the other images and ensures consistent behaviour. Renaming can take place at a future point. This fixes the problem where extra packages could be added to other image types using this varibale but not in the case of the minimal image. (From OE-Core rev: 8df322abfd3fa8c460fd73c83c1ef0b5e419dc11) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-14libzypp: move package-manger to it own packageSaul Wold
[YOCTO #1234] This moves a couple of files to a pkgmgt package so that they will not be installed by default. This removes the Add/Remove Software Icon from rpm based rootfs. (From OE-Core rev: 3be290aac4da885fe5bc31797c4a689196c63b7a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/dev-manual/dev-manual-newbie.xml: Suggestions Robert BergerScott Rifenbark
I made several edits here. There is some mystery as to which changes are actually part of this commit. I did a 'git diff' and am only seeing one small change. If I later find they are not there I will delete the file and replace with a back up I saved prior to submitting this commit. (From yocto-docs rev: 62c63b3a812eaf92ca2bffa5714a6d327ac32d64) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/dev-manual/dev-manual-start.xml: Suggestions by Robert BergerScott Rifenbark
Fixed a type and also qualified the ability of YP as a testing environment. (From yocto-docs rev: e158615eba04709e05cccaf29238bde6c9843671) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/dev-manual/dev-manual-newbie.xml: Updates from Robert BergerScott Rifenbark
Added some clarification on the ability for testing. The wording as it was implied that the YP provided a complete testing framework, which is not true. (From yocto-docs rev: e40b39179c69b69f012f231009131b1efa7e732b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/adt-manual/adt-prepare.xml: Added note about satoScott Rifenbark
I discovered that in order to remotely deploy and debug an image from Eclipse you have to have a Sato image. I added text to the note about getting or building the image specifying that requirement. (From yocto-docs rev: 060de7f6082bc3dbfa0f7d4e25b2933f15a61fc0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/adt-manual/adt-eclipse.xml: Fixed ifconfig command.Scott Rifenbark
(From yocto-docs rev: 01bae397bd62e01080748970c47dfaa441a405b0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13documentation/adt-manual: Rewrite for Indigo version of Eclipse.Scott Rifenbark
These edits are extensive and cross into two files: adt-prepare.xml and adt-eclipse.xml. This is the first pass of a large re-write to bring the examples up-to-date using the preferred version of the Eclipse IDE (Indego 3.7). Much has changed. (From yocto-docs rev: 57c1f905c6d66268a498e013193d003596f2303d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13hob: correctly set the selected image when loading a recipeJoshua Lock
When the user saves their recipe based on an existing image type, loads it in a newly run hob instance and clicks bake they should not be asked about building packages vs an empty image up. Partially addresses [YOCTO #1468] (Bitbake rev: f4be83aae77a713e2b5a2d094651639b6e641031) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13hob: correctly handle an exceptionJoshua Lock
It doesn't matter if we can't remove the temprorary file, for some reason, so catch the exception and ignore it. Partially addresses [YOCTO #1468] (Bitbake rev: 4394e38b038e1bc9845adf01d73363157d98c96d) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13ui/crumbs/hobeventhandler: don't check BBPATH and BBFILES each buildJoshua Lock
There's no need to check the BBPATH and BBFILES are set correctly each build when running multiple builds for one launch of the UI. Partially addresses [YOCTO #1468] (Bitbake rev: 39ed18e70e9f3a13b522b4ea02bf6f4bdb7de89c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13ui/crumbs/hobeventhandler: fix test for BBFILESJoshua Lock
It seems we have a race whereby the image_dir variable may not be set before it's tested for, since the variable is always the same set it in the initialiser. Partially addresses [YOCTO #1468] (Bitbake rev: 09f5aed2edb0b8f4a6570e1041b5db66cf2d17cc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui
[YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. (From OE-Core rev: c7af358ec427487ccc053316d2f68f6121b97181) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13multilib: Remove recipe from multilib.conf that inherits allarchDongxiao Xu
Recipes like update-rc.d and qemu-config inherit "allarch", thus we shouldn't add multilib BBCLASSEXTEND for them in multilib.conf. Besides, we need to add multilib packages as the RPROVIDER contents for those recipes, in order to avoid the NoProvider error when parsing. [YOCTO #1471] (From OE-Core rev: 329d864f9bbf94ad3aae8df43d63fe10e4237e4f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipeDongxiao Xu
With Richard's commit f9c36392, we only build one kernel for a system, thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel. [YOCTO #1471] (From OE-Core rev: 90ad70fe13a9f8409387ca70289998bdca649aeb) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13Revert "pango: use qemu to generate pango.modules during rootfs construction"Richard Purdie
This reverts commit 62381fd3a135318794f14dc3740b04facd32446e. This commit has issues with the rpm rootfs generation which need resolving before it can be accepted. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13opensp: Fix hard path in native nsgmls.Zhai Edwin
This relocation issues caused following bug and introduce one partial fix bb024d: [YOCTO #1440] But the environment val hacking is not working all the time, as nsgmsl may append wrong path in some case. This fix use search directory "-D" as solution. And more important, change the iputils' way to make doc: Use the sysid in current directory instead of parent directory, as "../" is also appended to the search directory then lead searching failure. (From OE-Core rev: a5aeb873b943300e18493031ffa9e9f8ab56c2d2) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> CC: Saul Would <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09runqueue.py: Ensure fakeroot variables are reflected in the datastoreRichard Purdie
Without this, variables can be set to one thing in one part of the environment and something different in another part. This change ensures the datastore and the environment are consistent. (Bitbake rev: 459addf13721a6847406f215650fa1882fb83ea9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09shadow: add patch for useradd lossagePhil Blundell
This fixes (or, at least, papers over) a failure in do_install for recipes which inherit useradd.bbclass. Rewinding optind in this way is not entirely portable but in practice it seems to work on GNU-ish build hosts at least. (From OE-Core rev: 8fce8180c802ad187c4df44c17207bfb026ce6c7) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>