summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/rt: udpate SRCREVs to 3.2.9-rt16Bruce Ashfield2012-03-082-4/+4
| | | | | | | | | | | Bumping the -rt kernel to pickup the incremental update to -rt16. No major changes from -rt15, except for a bug fix that we want to pick up. (From OE-Core rev: 0b03c2382ad6b2d472555f5054a1ce82eb4e3de9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: fix incorrect config referencesBruce Ashfield2012-03-082-2/+2
| | | | | | | | | | | | | | | Updating the meta SRCREV to pickup the following fixes: a9ffedb meta/fri2/sys940x: fix incorrect cfg includes 3d1a678 meta/sys940x: fix incorrect emgd branch merge During the merge of the 3.0 BSPs forward to 3.2, a few moved config fragments were missed. (From OE-Core rev: 51c0c1d07d44b3bffb63d15b6befff6e7ba2549f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: Add mising commands module import.Peter Tworek2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_compile", line 24, in <module> ERROR: ERROR: File "do_compile", line 11, in do_compile ERROR: ERROR: The code that was being executed was: ERROR: 0020: bb.build.exec_func("oe_runmake", d) ERROR: 0021: shutil.copyfile("psplash", outputfile) ERROR: 0022: ERROR: 0023: ERROR: *** 0024:do_compile(d) ERROR: 0025: ERROR: (file: 'do_compile', lineno: 24, function: <module>) ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split() ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split() ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles): ERROR: 0010: if localfile.endswith(".png"): ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile) ERROR: 0012: print(outp[1]) ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0] ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile) ERROR: 0015: else: (From OE-Core rev: 34bdb9a459208377210454e54635afb9404ee126) Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Upgrade to 4.6.3 releaseKhem Raj2012-03-086-151/+131
| | | | | | | | | | core-image-sato/core-image-minimal builds and boots on all qemu machines (From OE-Core rev: 40d7a4b70d342f75e13de7872fb62e2b9d6d40bf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate 3.7.9: Allow rotate log across filesystemsRobert Yang2012-03-082-2/+157
| | | | | | | | | | | | | | | | | | | The logrotate can't save the log across the different filesystems since it used the "rename(const char *oldpath, const char *newpath)" to save the file, fix it to act as the "mv" command(first rename, if failed, read and write) to allow save the log across the different filesystems. * config.c: Remove the check for different filesystems * logrotate.c: Act as the "mv" command when rotate log * logrotate.8: Update the mannual * logrotate.8: Fix a bug in the mannual(\f should be \fR) [YOCTO #718] (From OE-Core rev: fca0a2c597ab40d55da768dac4088234b9b0d773) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: v3.2.9, v3.0.23 + fixes and updatesBruce Ashfield2012-03-085-31/+29
| | | | | | | | | | | | | | | | | | | | This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring in the following updates: - v3.0.23 stable update - v3.2.9 stable update - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart - 3.0: pvr merge from Kishore Bodke - linux-yocto/rt: update to 3.0.23-rt38 - linux-yocto/rt: update to 3.2.9-rt15 These have been built for all qemu targets, and built for the appropriate hardware platforms. (From OE-Core rev: a9e7131b85e1787e6f76c64d77b2ac6684c8a9c9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: use bareclone optionBruce Ashfield2012-03-086-12/+12
| | | | | | | | | | | | Instead of specifying nocheckout=1, it provides a better workflow if the linux-yocto recipes use the new bareclone=1 option to get a mirrored copy of the source repository. This allows all local and remote branches to be available during the kernel build and development cycle. (From OE-Core rev: 2281e14a342639bfd2656ffa220dc023168cb35e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: add IMAGE_ROOTFS_ALIGNMENTKen Werner2012-03-081-1/+11
| | | | | | | | | | | Introduce a new variable called IMAGE_ROOTFS_ALIGNMENT that allows to control the aligment of the size of the rootfs. Its default value is set to 1KiB so that the existing behaviour is not changed. In case the SD card emulation of a QEMU system emulator gets used you may set the alignment to 2MiB. (From OE-Core rev: 99128c209e3de3e9e175eacb3acf0f06857043fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: add DirectFB supportAndreas Oberritter2012-03-081-3/+5
| | | | | | | | | | * Use conditional dependencies for DirectFB, like it's already done for OpenGL and X11. (From OE-Core rev: 29ba15af6b4a85687bd487779ec2ea2be80644dc) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: add dependency on libcheck to enable test modulesChase Maupin2012-03-082-2/+2
| | | | | | | | | | | | | | | | | | | | * The later versions of bluez such as 4.98 require libcheck in order to build the test packages as enabled by the --enable-test option passed in EXTRA_OECONF. * Failure to have the libcheck package available results in the configure script ignoring the --enable-test option and not building the test modules. * Adding libcheck, which is greater than the minimum required version of the check library of 0.9.6 allows building the test modules. * Build tested for am335x-evm MACHINE type and run time tested by back porting this fix to the oe-classic and arago setup and booting on am335x-evm. (From OE-Core rev: 6e5fc682a4d464f62fbba12e61a8bc8e97ff92e2) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: don't hardcode path to pidofAndreas Oberritter2012-03-082-5/+3
| | | | | | | | | | * pidof lives in /bin, search it in $PATH. * Assume pidof's presence. (From OE-Core rev: 2f9ac0a10f7d1e3144622a5dff5aa6787fcee534) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Fix PACKAGECONFIG handling when no flags are setRichard Purdie2012-03-051-3/+4
| | | | | | | | | | | When the main PACKAGECONFIG variable was empty with no flags set, the options were not being added to explicitly disable features. This patch corrects that problem and ensures the disable fields are correctly parsed and added to variables. (From OE-Core rev: d7b8c247227f3cc82f92292407f548927e9fde78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* polkit: Default to shadow, not none to fix build failuresRichard Purdie2012-03-051-2/+2
| | | | | | | | | Without this builds would fail due to an invalid confiuration being selected by the configure script. (From OE-Core rev: d62b083fe1ee33cbd3ea3929e592c403000fb3b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Drop fetch v1, v2 provides a much better codebase to build fromRichard Purdie2012-03-0514-2713/+2
| | | | | | (Bitbake rev: 292e3430e5140b602cad86f55b5453e8cebb28a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes: Convert to use appendVar and appendVarFlagsRichard Purdie2012-03-058-26/+26
| | | | | | (From OE-Core rev: 3b57de68e70e77dbc03c0616a83a29a2e99e40b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: reinstate PE=1 that got lost in the big meta-oe Xorg mergeKoen Kooi2012-03-052-1/+3
| | | | | | | | | This prevents package managers 'upgrading' 1.4.4 to 1:1.4.3 (From OE-Core rev: 906641853e8ac6fd296dfb91f8bb647c7da8e23e) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+ 2.24.8: bump PR to force rebuild and feed updateKoen Kooi2012-03-051-1/+1
| | | | | | | | | | | This should errors similar to this one: /usr/libexec/gdm-simple-greeter: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest (From OE-Core rev: 98b95330b66406625c8fef9b58f2ac7983585fcb) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* polkit 0.104: add 2 backports from upstream to fix crashes during authKoen Kooi2012-03-053-1/+119
| | | | | | | (From OE-Core rev: bcb8e65ab3f7d7f0f884f05c758f8a779c260306) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe ↵Koen Kooi2012-03-051-10/+15
| | | | | | | | | styleguide (From OE-Core rev: 7a6fcc7f79445e5f290dd499c223619a2a426f78) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-0544-129/+129
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Remove unecessary bb.data.expand()Richard Purdie2012-03-051-7/+7
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-0583-290/+290
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes: Convert to use appendVar and appendVarFlagsRichard Purdie2012-03-057-58/+24
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* soc-family.inc: to be included in machine.conf to add SOC_FAMILY to ↵Denys Dmytriyenko2012-03-041-0/+2
| | | | | | | | | | | | | | MACHINEOVERRIDE Add a soc-family.inc file that can be included in a machine.conf to enable the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group multiple machines with the same common base. Some examples can be seen in meta-ti BSP layer. (From OE-Core rev: 641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-trim: Add error information from LSB Test Suite to ↵Xiaofeng Yan2012-03-041-1/+32
| | | | | | | | | | | | makekeys_crosscompile.patch Append error information from LSB Test Suite to this patch for an illustrative purpose \ why this patches should be needed. (From OE-Core rev: 0e6dfa5dcf324a1d32b634bbcd9487106a6f5413) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-1.4.4: Add patch "makekeys_crosscompile.patch"Xiaofeng Yan2012-03-041-1/+2
| | | | | | | | | | | | Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing bug 1970. [YOCTO #1970] (From OE-Core rev: 21499be467ce14f165b56c1ce67507f7c41c5a1c) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-1.4.4: Add patch makekeys_crosscompile.patchXiaofeng Yan2012-03-041-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSB 4.1 complain a host contamination error from libx11 because of absent patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4. The error from LSB Test Suite is as follow: VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the name of a KeySym in the table with the prefix XK_ removed, then a call to XStringToKeysym returns that KeySym. METH: For each KeySym name in table with code G: METH: Call XStringToKeysym to obtain the KeySym defined for that string. METH: Verify that XStringToKeysym did not return NoSymbol. METH: Verify that the returned string is correct. CHECK: XStringToKeysym-7 1, line 130 CHECK: XStringToKeysym-7 2, line 140 CHECK: XStringToKeysym-7 3, line 150 CHECK: XStringToKeysym-7 4, line 160 CHECK: XStringToKeysym-7 5, line 170 CHECK: XStringToKeysym-7 6, line 180 CHECK: XStringToKeysym-7 7, line 190 CHECK: XStringToKeysym-7 8, line 200 CHECK: XStringToKeysym-7 9, line 210 CHECK: XStringToKeysym-7 10, line 220 CHECK: XStringToKeysym-7 11, line 230 CHECK: XStringToKeysym-7 12, line 240 CHECK: XStringToKeysym-7 13, line 250 CHECK: XStringToKeysym-7 14, line 260 CHECK: XStringToKeysym-7 15, line 270 CHECK: XStringToKeysym-7 16, line 280 CHECK: XStringToKeysym-7 17, line 290 CHECK: XStringToKeysym-7 18, line 300 CHECK: XStringToKeysym-7 19, line 310 CHECK: XStringToKeysym-7 20, line 320 [YOCTO #1970] (From OE-Core rev: c9824083d4ab5bfd37fa1efdfbc3e93288cb47b6) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross.inc: Fix cross testing scripts to work with dashKhem Raj2012-03-041-2/+2
| | | | | | | | | dash does not like >& so be explicit and say 2>&1 (From OE-Core rev: 1d262630853e65be9167d904b934b581acf64182) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-testing: Fix testing script to work well with dashKhem Raj2012-03-041-1/+1
| | | | | | | | | Dash did not like >& so we do 2 >& 1 > /dev/null (From OE-Core rev: 06c783e2d6f4e3b316b230565b28d9e4c535c31b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: fix breakage during rebuildSteve Sakoman2012-03-022-2/+2
| | | | | | | | | | | | | | | | | | | | | Install phase currently edits files in $S with sed. This causes breakage if install is run a second time (due to sstate hash rebuild for example) The result is hidden build breakage, in particular /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains: Exec=/usr/usr/sbin/wpa_supplicant -u rather than: Exec=/usr/sbin/wpa_supplicant -u This patch does the sed edit after the files are copied to $D, which should be safe. (From OE-Core rev: 857840472705af1c0fbb8db917b4bb6809b929a6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Ensure duplicate compressed types aren't createdRichard Purdie2012-03-021-1/+2
| | | | | | | | | This allows IMAGE_FSTYPES = "tar.bz2 tar.bz2" to work (and now is faster since it will only do it once). (From OE-Core rev: b24d4bcde21b013e48eaffea5f3a70d8b1df1047) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: We need to preserve order in the types variable and ↵Richard Purdie2012-03-021-4/+8
| | | | | | | | avoid set() (From OE-Core rev: c547169f7dfe043affc2ddc5ae0a9091379df6de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: If unpacking again, wipe out ${S}/patchesRichard Purdie2012-03-021-0/+1
| | | | | | | | | | | | | | | If we unpack again, its assumed the data in any patches directory is invalid since do_patch will run again. This ensures old patch data doesn't get reused in a confused way. Ideally we should probably wipe out ${S} here but that is probably a change for another time. [YOCTO #2043 partially] (From OE-Core rev: 5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/patch.py: Fix and improve PatchTree() resolver logicRichard Purdie2012-03-021-12/+53
| | | | | | | | | | | | | | | | | | | | | | | | Currently, if PATCHRESOLVE is user and and PatchTree() is being used, you can get backtraces if patch application fails. This is because even in the failure case, self._current is incremented, meaning second time around, there are array range issues. This patch changes the code so _current is only incremented upon successful patch application, thereby resolving this failure. Secondly, if you bitbake -c patch -f a recipe using PatchTree(), the clean method was unimplemented leading to patch failures. The other part of this patch changes the logic so a series file and set of applied patches are maintained in a quilt like fashion. This means a the Clean method can be implemented correctly and rerunning the patch task of an existing patches source now works reliably. [YOCTO #2043 partially] (From OE-Core rev: f0fc47aea37793a62c43f10eea27ca014c420924) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: make pulseaudio support conditional upon DISTRO_FEATURESPaul Eggleton2012-03-026-1/+95
| | | | | | | | | | | | | | Add a pulseaudio DISTRO_FEATURES item and disable pulseaudio support in phonon within Qt4 if it is not present; otherwise it is a race condition as to whether it is enabled or disabled or breaks the build. Note that this adds pulseaudio to DISTRO_FEATURES_BACKFILL thus leaving existing distro configurations unaffected. (From OE-Core rev: b82c216c1ee8e2a009e87856b7adad08f7f50482) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stderr would previously be appended to stdout, corrupting the result when ↵Adrien Bustany2012-03-021-23/+17
| | | | | | | | | something was outputed to stderr but exit code was still 0 (non-fatal warning messages). This commit makes the code parse only stdout, but output stderr if an error happened. (Bitbake rev: 4a480a052f450c4ee061ab0e60a495a45f140cf9) Signed-off-by: Adrien Bustany <adrien.bustany@nokia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/bitbake-prserv: Set file mode bits "x".Lianhao Lu2012-03-021-0/+0
| | | | | | | [YOCTO #2051] Set 'x' bit to make bitbake-prserv executable. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Create the volatiles cache atomically.James Limbouris2012-03-022-5/+7
| | | | | | | | | | | If a machine loses power while building the volatiles cache, it will continue to operate with an incomplete set of volatiles. Fix this by updating atomically. (From OE-Core rev: a60432ff4588390f5f955a6da234298e958546e6) Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to v3.2.8Bruce Ashfield2012-03-022-10/+10
| | | | | | | | | | 3.2.8 was released and contains a floating point fix for x86 32 bit and some x86-64 fixes. So it's worth picking up right away. (From OE-Core rev: 8bd3038b62eaf46f9ac09fcdc1ca5e6f6e53a126) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/meta: add pvr feature descriptionBruce Ashfield2012-03-025-5/+5
| | | | | | | | | | | Updating the 3.0 and 3.2 kernel SRCREVS to make the PVR feature description available to machines with the appropriate hardware. (From OE-Core rev: 0027bb45a40d209f43088e2c2b38191446ea1190) Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: make kernel_checkout reentrantBruce Ashfield2012-03-021-13/+20
| | | | | | | | | | | | | | | The steps in do_kernel_checkout modify the source tree in WORKDIR. If it is called multiple times, or interrupted, the tree is left in an inconsistent state. This change adds protections around branch names, and around the manipulations of directories to ensure that it is safe to call at any point. (From OE-Core rev: f937977f241e786c5a7438449ed4c9da4c55829b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.4Scott Garman2012-03-022-5/+6
| | | | | | | | | | | | | | | | | | | During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced with a non-recursive BSD-licensed version, hence the removal of UCB and addition of BSD in the LICENSE field. This led to checksum changes in the doc/LICENSE file, and we now additionally track the comment headers in redblack.c. These changes were confirmed on the sudo mailing list: http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html This upgrade also fixes CVE-2012-0809. (From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Ensure dependencies for compression types containing multiple ↵Richard Purdie2012-03-021-1/+1
| | | | | | | | | | dots are handled correctly This ensures dependencies for image types like ext2.gz.u-boot are handled correctly. (From OE-Core rev: d94cb18f7f17a492c7a948337d7d2d1d0785573f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* V2 Fix libpam's chmodRobert Yang2012-03-021-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The libpam's has an error when generating the rootfs: chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory This is because the following code in libpam_1.1.5.bb: pkg_postinst_pam-plugin-unix () { # below is necessary to allow unix_chkpwd get user info from shadow file # on lsb images chmod 4755 ${sbindir}/unix_chkpwd } This is to set the setuid permission for unix_chkpwd (the lsb test requires this), but it lacks a "${D}", and we can do this in the install stage. [YOCTO #2049] (From OE-Core rev: 0725c7f01b173b1cc2090f4a03a274c7017b8a1a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-git-proxy-socks-command: Add fallback to use ncRichard Purdie2012-03-021-5/+11
| | | | | | | | | If our own proxy command isn't available for some reason and nc is available, fall back to use it. (From OE-Core rev: aaab6ae94258277dcd2f29823a64689e6245fa7a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-git-proxy-socks-command: Improve error fallback/handlingRichard Purdie2012-03-021-0/+15
| | | | | | | | | | | | | If oe-git-proxy-socks isn't available, try and create it. If that fails, tell the user there is a problem, don't just fail to find the command. [YOCTO #2007] (From OE-Core rev: 46c675d85603d7a573bc59638ce615aba9fd7df2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Restore 'date' compatabilityGary Thomas2012-03-012-2/+2
| | | | | | | | | | | Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date', whether from busybox or coreutils, agree on the format when setting the date from the command line. (From OE-Core rev: 5506cc481b7afd9a30af53e8966bcbe2ff67b6d0) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Properly format date when set from timestampGary Thomas2012-03-012-2/+2
| | | | | | | | | Reformat date, as stored in /etc/timestamp, to match CLI format. (From OE-Core rev: 7aa4c51089cc4a2811bd11842647839d1e4b1e95) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: Fix build errors due to missing prototypesKhem Raj2012-03-012-2/+26
| | | | | | | | | | | g++ really does not like the missing prototypes here we were missing close() and read() so include unistd.h to get them (From OE-Core rev: f32b30ef4711fe602a11549f77be06a0eef2fc0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site.conf.sample: Fix broken SOCKS proxy setup and configurationInaky Perez-Gonzalez2012-03-012-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOCKS proxy specification with git was using conflicting methods and thus was failing when mixed SOCKS needs were in place (requiring no proxy for some hosts and proxy for the rest) - GIT_PROXY_COMMAND is an environment variable GIT uses to OVERRIDE all proxy configuration in ~/.gitconfig or any other gitconfig. By using it to configure, it was breaking havoc on site git configuration or the one generated by bitbake in tmp/. Renamed to OE_GIT_PROXY_COMMAND in meta/conf/site.conf.sample (with a doc tidbit on the name chosen), meta/classes/base.bbclass. - The gitconfig generated by bitbake was wrong. There was a typo error (gitproxy vs gitProxy), thus all lines were being ignored. Fixed in meta/classes/base.bbclass. - The gitconfig generated was being placed in ${STAGING_DIR_NATIVE}/usr/etc/gitconfig; git was looking for it in ${STAGING_DIR_NATIVE}/etc/gitconfig. Fixed that in meta/classes/base.bbclass, at the same time creating a GIT_CONFIG_PATH variable, since it is also referenced in generate_git_config() and have all instances refer to that. (From OE-Core rev: e579eb7f33462258c8e82a0936d970593614840d) Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>