From 9d026b5d4846829486e484b63c68290fd4d9b5b9 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 5 Sep 2026 02:06:24 +0200 Subject: [PATCH] fplearn.sh: enrol with learning off, so a fresh template starts clean Enrolment does not use learning, but the enrol step left the daemon running with it enabled, so the brand-new template started folding the moment anything verified. That is precisely the contamination a fresh-template control is meant to exclude, and the control is the next thing being run. trend turns it back on. --- packaging/fplearn.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/fplearn.sh b/packaging/fplearn.sh index 376b68f..3c1dec3 100755 --- a/packaging/fplearn.sh +++ b/packaging/fplearn.sh @@ -209,7 +209,11 @@ enrol) fi echo "=== enrol $F ===" echo "sizes before:"; sizes - restart "--learn=1" || exit 1 + # Learning OFF for the enrolment itself. Enrolment does not use it, and a + # daemon left with it on will start folding into the brand-new template the + # moment anything verifies -- which is exactly the contamination a + # fresh-template control exists to avoid. `trend` turns it back on. + restart "--learn=0" || exit 1 /tmp/fpenrol.sh "$F" echo; echo "sizes after the enrolment:"; sizes echo; echo "next: fplearn.sh base" ;;