package/libnss: install certutil tool on target

certutil is a command-line utility for managing keys and certificate in
both NSS databases and other NSS tokens.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Julien Floret 2020-09-04 13:35:01 +02:00 committed by Yann E. MORIN
parent 0e3febb75f
commit d27b5c7b72

View File

@ -105,6 +105,8 @@ define LIBNSS_INSTALL_TARGET_CMDS
$(@D)/$(LIBNSS_DISTDIR)/lib/*.a $(@D)/$(LIBNSS_DISTDIR)/lib/*.a
$(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \
$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
$(INSTALL) -D -m 755 $(@D)/$(LIBNSS_DISTDIR)/bin/certutil \
$(TARGET_DIR)/usr/bin/certutil
$(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \
$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
endef endef