Skip to content

Commit

Permalink
keyutils: fix install path
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Thoma a.thoma@rational-online.com
Signed-off-by: Florian Wühr f.wuehr@rational-online.com
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
athoma88 authored and kraj committed Oct 14, 2021
1 parent 845b15c commit 953f6a2
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions meta-oe/recipes-security/keyutils/keyutils_1.6.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \
LIBDIR=${libdir} \
USRLIBDIR=${libdir} \
INCLUDEDIR=${includedir} \
ETCDIR=${sysconfdir} \
SHAREDIR=${datadir}/keyutils \
MANDIR=${datadir}/man \
BUILDFOR=${SITEINFO_BITS}-bit \
NO_GLIBC_KEYERR=1 \
"
Expand All @@ -40,18 +43,6 @@ 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
Expand Down

0 comments on commit 953f6a2

Please sign in to comment.