diff options
author | Koen Kooi <koen@openembedded.org> | 2006-08-22 09:48:18 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-08-22 09:48:18 +0000 |
commit | 3109615e98eddd744d9ba9b428086ae7964944c7 (patch) | |
tree | 858e7ee42d66cdaccc14620a89daffaa3b703ace /packages/linux/LAB-kernel_cvs.bb | |
parent | ef21addc927288c9613feb6d988bc667b0a017c7 (diff) |
LAB-kernel cvs: add hhv version check
Diffstat (limited to 'packages/linux/LAB-kernel_cvs.bb')
-rw-r--r-- | packages/linux/LAB-kernel_cvs.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/linux/LAB-kernel_cvs.bb b/packages/linux/LAB-kernel_cvs.bb index aae29cd23f..aa393af203 100644 --- a/packages/linux/LAB-kernel_cvs.bb +++ b/packages/linux/LAB-kernel_cvs.bb @@ -33,7 +33,12 @@ HHV = "0" # KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" + do_configure() { + if [ `grep EXTRAVERSION Makefile | grep hh | awk '{print $3}' | sed s/-hh//` != ${HHV} ]; then + die "-hh version mismatch" + fi + # Substitute our uid/gid so the initramfs gets the right ownership. MY_UID=`id -u` MY_GID=`id -g` |