删除SoftHSM2组件不必要的文件,节省rootfs空间

This commit is contained in:
Huang Xin 2022-07-08 08:45:24 -07:00
parent cca1f13013
commit cbbcbc169a
1 changed files with 4 additions and 3 deletions

View File

@ -13,8 +13,9 @@ inherit autotools
S = "${WORKDIR}/SoftHSMv2-2.6.1"
FILES_${PN} = "/usr/lib64/softhsm/libsofthsm2* ${bindir}/softhsm2-util"
FILES_${PN} = "/usr/lib64/softhsm/libsofthsm2*.so ${bindir}/softhsm2-util"
FILES_${PN}-dev += "/usr/lib64/softhsm/*.la"
FILES_${PN}-staticdev += "/usr/lib64/softhsm/*.a"
do_install_append() {
# Install Sample application to test Alexa Voice Service
@ -25,4 +26,4 @@ do_install_append() {
install -m 0755 ${B}/./src/lib/.libs/libsofthsm2.so ${D}${libdir}
}
INSANE_SKIP_${PN} += "installed-vs-shipped staticdev"
INSANE_SKIP_${PN} += "installed-vs-shipped"