diff options
author | Koen Kooi <koen@openembedded.org> | 2009-09-12 15:55:45 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-12 15:55:45 +0200 |
commit | 18158e33775356f5d166908d253159b05125a2fb (patch) | |
tree | c428a4566ce9b01a3f010fe05076a53e0a7a2d76 /recipes | |
parent | bd4726dac9dd258ad787bc2f4f1c17fd35b6d1bd (diff) |
glibc-package bbclass: add hack to avoid "kernel too old" error when generating locales in angstrom
The proper fix would be to patch linux-libc-headers with 0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch and all arm kernels as well. Since that's quite an undertaking angstrom needs to short term hack like this commit to keep things building while the proper fix is being worked on.
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/glibc/glibc-package.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/glibc/glibc-package.bbclass b/recipes/glibc/glibc-package.bbclass index 69b569e346..4d7f6fdff9 100644 --- a/recipes/glibc/glibc-package.bbclass +++ b/recipes/glibc/glibc-package.bbclass @@ -265,7 +265,12 @@ python package_do_split_gconvs () { elif target_arch == "powerpc": target_arch = "ppc" - kernel_ver = bb.data.getVar("OLDEST_KERNEL", d, 1) + # This is a hack till linux-libc-headers gets patched for the missing arm syscalls and all arm device kernels as well + if bb.data.getVar("DISTRO_NAME", d, 1) == "Angstrom": + kernel_ver = "2.6.24" + else: + kernel_ver = bb.data.getVar("OLDEST_KERNEL", d, 1) + if kernel_ver is None: qemu = "qemu-%s -s 1048576" % target_arch else: |