Date: Thu, 6 Mar 2025 13:51:08 -0800 From: Mark Millard <marklmi@yahoo.com> To: Baptiste Daroussin <bapt@FreeBSD.org>, dev-commits-src-main@freebsd.org Subject: git: 8e99c8ad8fd4 - main - pkgbase: make pkg repo reproducible Message-ID: <75195E37-09E4-4982-A4EF-0DCE79CB8FD0@yahoo.com> References: <75195E37-09E4-4982-A4EF-0DCE79CB8FD0.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin <bapt_at_FreeBSD.org> wrote on Date: Thu, 06 Mar 2025 14:22:59 UTC : > The branch main has been updated by bapt: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D8e99c8ad8fd41d3befae62f9eee59d8c= 5c60a539 >=20 > commit 8e99c8ad8fd41d3befae62f9eee59d8c5c60a539 > Author: Baptiste Daroussin <bapt@FreeBSD.org> > AuthorDate: 2025-03-06 14:16:44 +0000 > Commit: Baptiste Daroussin <bapt@FreeBSD.org> > CommitDate: 2025-03-06 14:22:48 +0000 >=20 > pkgbase: make pkg repo reproducible >=20 > Add a PKG_WORKERS_THREADS variable set to 1 by default, if as a user > you want speed again, then just override it. Compare/contrast the PKG_WORKERS_THREADS name to the later PKG_WORKERS_COUNT name. I'm guessing PKG_WORKERS_COUNT was the final intent: processes vs. threads and threads possibly being misleading and COUNT being more generic for such distinctions. > --- > Makefile.inc1 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > index f51fe7d3b119..75fcbc0bf968 100644 > --- a/Makefile.inc1 > +++ b/Makefile.inc1 > @@ -606,6 +606,7 @@ SOURCE_DATE_EPOCH=3D ${TIMEEPOCHNOW:gmtime} > .else > SOURCE_DATE_EPOCH=3D ${PKG_TIMESTAMP} > .endif > +PKG_WORKERS_COUNT?=3D 1 PKG_WORKERS_COUNT vs. PKG_WORKERS_THREADS ? > =20 > PKG_NAME_PREFIX?=3D FreeBSD > PKG_MAINTAINER?=3D re@FreeBSD.org > @@ -2367,7 +2368,8 @@ real-sign-packages: _pkgbootstrap .PHONY > .if ${PKG_BIN_VERSION} < 11700 > printf "packing_format =3D \"${PKG_FORMAT}\";\n" >> = ${WSTAGEDIR}/meta > .endif > - @${PKG_CMD} -o ABI=3D${PKG_ABI} -o OSVERSION=3D"${SRCRELDATE}" = repo \ > + @${PKG_CMD} -o ABI=3D${PKG_ABI} -o OSVERSION=3D"${SRCRELDATE}" \ > + -o WORKERS_COUNT=3D${PKG_WORKERS_COUNT} repo \ PKG_WORKERS_COUNT vs. PKG_WORKERS_THREADS ? > -m ${WSTAGEDIR}/meta \ > -o ${REPODIR}/${PKG_ABI}/${PKG_VERSION} \ > ${REPODIR}/${PKG_ABI}/${PKG_VERSION} \ =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75195E37-09E4-4982-A4EF-0DCE79CB8FD0>