package/libnss: install certutil tool on target
authorJulien Floret <julien.floret@6wind.com>
Fri, 4 Sep 2020 11:35:01 +0000 (13:35 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Sep 2020 07:35:28 +0000 (09:35 +0200)
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>
package/libnss/libnss.mk

index f28e16a40670964981e7434ca3647eb912b40777..d0b2d51772bdd24ee2e8b6d5a4696d3577168d52 100644 (file)
@@ -105,6 +105,8 @@ define LIBNSS_INSTALL_TARGET_CMDS
                $(@D)/$(LIBNSS_DISTDIR)/lib/*.a
        $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \
                $(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;' \
                $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
 endef