On 30/08/2024 at 13:32, Holger Wansing wrote:
Am 27. August 2024 23:46:41 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:Looking at partman-auto-lvm code more closely, it seems that the lvmok flag check happens only after calling choose_recipe. So I guess the check should be moved into choose_recipe (in partman-auto).
(...)
Patch ready and tested. Shall I add it to the MR or open a new one ?
(...)
Ok, so I think we include it in this MR then.
Patch included. I also updated existing recipes and added new server and small_disk recipes for armhf, ppc64el and riscv64.
I also wrote a crude script which generates recipe files for the 5 architectures updated in this MR from a reduced set of parameters:
<https://salsa.debian.org/pham/partman-auto/-/blob/recipe_generator/build_recipes?ref_type=heads>It does the tedious partition priority value calculations from simple percentage-like values. With the current parameters, the generated files are the same as in the current state of this MR (commit b3a0376f). It allowed me to spot and fix a missing tag in some new recipes I created manually. It comes in handy to test other size limits, and maybe it could help generating recipe files on further updates.