diff Makefile @ 356:2ba1072103f1

Implement a new periodic script (daily) to control the automatic TRIM of SSD that contain ZFS pools/datasets
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 08 Dec 2022 09:55:12 +0100
parents dc47c5a49a5c
children da77f8d84d71
line wrap: on
line diff
--- a/Makefile	Thu Dec 08 00:54:18 2022 +0100
+++ b/Makefile	Thu Dec 08 09:55:12 2022 +0100
@@ -55,7 +55,7 @@
 	${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_rp}
 .endfor
 	${MKDIR} ${WRKSRC}/etc/periodic/daily
-.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh
+.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs
 	${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef}
 	${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/${_ef} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/${_ef}
 	${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_ef}
@@ -80,7 +80,7 @@
 	${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef}
 .endfor
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
-.for _ps in 800.local-ipv6-refresh
+.for _ps in 800.local-ipv6-refresh 750.local-trim-zfs
 	${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily
 .endfor