diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-security')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-security/keyutils/keyutils_1.6.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-security/keyutils/keyutils_1.6.bb b/meta-openembedded/meta-oe/recipes-security/keyutils/keyutils_1.6.bb index dca86f3c62..572143a5ae 100644 --- a/meta-openembedded/meta-oe/recipes-security/keyutils/keyutils_1.6.bb +++ b/meta-openembedded/meta-oe/recipes-security/keyutils/keyutils_1.6.bb @@ -40,6 +40,18 @@ do_install () { oe_runmake DESTDIR=${D} install } +do_install_append_class-nativesdk() { + install -d ${D}${datadir} + src_dir="${D}${target_datadir}" + mv $src_dir/* ${D}${datadir} + par_dir=`dirname $src_dir` + rmdir $src_dir $par_dir + + install -d ${D}${sysconfdir} + mv ${D}/etc/* ${D}${sysconfdir}/ + rmdir ${D}/etc +} + do_install_ptest () { cp -r ${S}/tests ${D}${PTEST_PATH}/ sed -i -e 's/OSDIST=Unknown/OSDIST=${DISTRO}/' ${D}${PTEST_PATH}/tests/prepare.inc.sh |