On 10/21/14, 3:08 AM, Burton, Ross wrote:
On 20 October 2014 19:30,  <[email protected]> wrote:
+    # Check that our kernel will work for crosssdk
+    if os.uname()[0] == "Linux" and LooseVersion(os.uname()[2]) < 
LooseVersion(d.getVar('OLDEST_KERNEL')):
+        status.addresult("The system requires a kernel of at least %s to 
run\n" % d.getVar('OLDEST_KERNEL'))
+

The OLDEST_KERNEL documentation says:

                     Declares the oldest version of the Linux kernel that the
                     produced binaries must support.
                     This variable is passed into the build of the Embedded
                     GNU C Library (<filename>eglibc</filename>).

So surely checking this value at *runtime in bitbake* isn't correct.

The generated SDK has the same limitation as the runtime since we moved to building the SDK for things like the buildtools-tarball.

While it -might- work on older kernels, I think we do need to limit the version we support to match the SDK and related, otherwise we will have issues. (Do we also need to add this to the SDK .sh installer script? probably.)

--Mark

Ross


--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to