if BUILD_PKGS is set add sha256 hash into the metalogs

This commit is contained in:
Baptiste Daroussin 2015-02-08 16:01:12 +00:00
parent 9f3d45b6d4
commit 9312c006f8

View File

@ -466,6 +466,9 @@ IMAKE+= -DNO_ROOT METALOG=${METALOG}
INSTALLFLAGS+= -U -M ${METALOG} -D ${INSTALL_DDIR} INSTALLFLAGS+= -U -M ${METALOG} -D ${INSTALL_DDIR}
MTREEFLAGS+= -W MTREEFLAGS+= -W
.endif .endif
.if defined(BUILD_PKGS)
INSTALLFLAGS+= -h sha256
.endif
.if defined(DB_FROM_SRC) || defined(NO_ROOT) .if defined(DB_FROM_SRC) || defined(NO_ROOT)
IMAKE_INSTALL= INSTALL="install ${INSTALLFLAGS}" IMAKE_INSTALL= INSTALL="install ${INSTALLFLAGS}"
IMAKE_MTREE= MTREE_CMD="mtree ${MTREEFLAGS}" IMAKE_MTREE= MTREE_CMD="mtree ${MTREEFLAGS}"