Hi Jussi, On Sat, Feb 25, 2023 at 02:04:32PM +0200, Jussi Pakkanen wrote: > What I wanted was to isolate _all_ code that has to do with platform > detection and selection in exactly one place. The only thing > debcrossgen should do is to call a different command. It should have > _zero_ "platform logic" code, meaning it should not touch any > DEB_HOST_* environment variables.
While I appreciate the idea, I think the result is not useful. debcrossgen is something that we want to delete before too long. It also is platform logic by definition as it is specific to Debian. Carrying platform logic (like touching DEB_HOST_* variables) there is something that is quite simple and architecture-independent. As such, I think it is the better compromise (for a limited amount of time). Anyway, your call. Both variants will work in practice. Helmut