From 8c7d8f52a9c3cb5b61779e4b2ed2602ab1c7427f Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sun, 23 Aug 2026 18:00:35 -0400 Subject: [PATCH] [UPD] hoist jinja2 ahead of systemd systemd generates source from jinja2 templates, and the Python set sits at the end of packages.sh while systemd is in the middle. The list order is the runtime closure, not the build order -- so the packages that must exist before another one builds are named in STAGE2_FIRST rather than moved. --- FR --- systemd genere du code depuis des gabarits jinja2, et l ensemble Python figure en fin de packages.sh quand systemd est au milieu. L ordre de la liste est la fermeture d execution, pas celle de construction : les paquets qui doivent exister avant qu un autre se batisse sont nommes dans STAGE2_FIRST plutot que deplaces. Assisted-by: Claude Opus 5 --- scripts/build-stage2.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-stage2.sh b/scripts/build-stage2.sh index 21ba418..54af1e3 100755 --- a/scripts/build-stage2.sh +++ b/scripts/build-stage2.sh @@ -718,7 +718,7 @@ NOTE STAGE2_FIRST=(texinfo libxml2 binutils pkgconf wget libxslt python-packaging python-pyproject-hooks python-build python-installer python-setuptools python-wheel - python-setuptools-scm) + python-setuptools-scm python-markupsafe python-jinja) # Packages the chroot needs that can only come from repo2. # @@ -779,6 +779,7 @@ CHROOT_STAGE2_PKGS=( python-packaging python-pyproject-hooks python-build python-installer python-setuptools python-wheel python-setuptools-scm + python-markupsafe python-jinja ) # Packages whose sources must be extracted on the HOST, because the chroot