11 Commits

Author SHA1 Message Date
Alexander Kanavin 3cca2ec514 volume-key: disable python bindings
No longer compatible with python 3.12; there hasn't been a release since 2018:
https://pagure.io/volume_key/releases

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:47 -08:00
Khem Raj 44384179db volume-key: Inherit python3targetconfig
It uses python3-config during build to grok the python specific
includedirs, therefore its important to ensure that target specific
python3-config is used, otherwise currently it defaults to native
python3-config which ends up adding native python3 include paths
which might work out ok but is exposed when target is 32bit + lfs
enabled, the headers don't match between native and target python
and compile fails e.g.

| In file included from /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/volume-key/0.3.12-r0/recipe-sysroot-native/usr/include/python3.11/Python.h:38:
| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/volume-key/0.3.12-r0/recipe-sysroot-native/usr/include/python3.11/pyport.h:601:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
| #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
|  ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-30 09:46:47 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj c94e5cb7d8 volume-key: Inherit pkgconfig
Fixes
../volume_key-0.3.12/configure: line 13428: syntax error near unexpected token `blkid,'
../volume_key-0.3.12/configure: line 13428: `PKG_CHECK_MODULES(blkid, blkid)'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Kai Kang 01d8bdcf72 volume-key: not create python2 bindings
If create python2 bindings for volume-key, it requires to inherit
pythonnative which conflict with python3native.bbclass. And python2
reachs EOL, so remove package config 'python' and not create python2
bindings for volume-key.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-30 16:57:14 -08:00
Changqing Li 478d0bd9f5 volume-key: fix "Nothing RPROVIDES" when multilib enabled
Multilib enabled, and add IMAGE_INSTALL_append = " python3-volume-key"
in local.conf

fix below problem:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-python3-volume-key']

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-11 14:01:28 -07:00
Hongxu Jia cc46014a49 volume-key: 0.3.11 -> 0.3.12
Add PACKAGECONFIG to build with python3 rather than python2.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Hongxu Jia 4c258b784e volume-key: 0.3.10 -> 0.3.11
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Khem Raj 017f4a6a08 volume-key: Upgrade to 0.3.10
Add dependency on swig-native which was missing

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-14 15:50:14 -07:00
Hongxu Jia b268e84f04 volume-key: add recipe 0.3.9
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:54 +02:00