]> git.ipfire.org Git - thirdparty/mkosi.git/commit
mkosi: extend --environment to cover all scripts 765/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 7 Aug 2021 12:17:38 +0000 (14:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 9 Aug 2021 07:00:41 +0000 (09:00 +0200)
commit19a989fdafe3b50b7c6629efa64e6e4b1fa0c31a
tree9ce425d3444d8e553a7cc65f41f60a88d9100636
parentee1d6b2a9465ab9d5caddb51e9febbdee94c0e90
mkosi: extend --environment to cover all scripts

I would like to set environment variables for other scripts. But I
don't think adding separate options make sense: it should be fine to
just set the same environment variable for all scripts that are
invoked… After all, variables are best for "global" settings. Scripts
already get positional arguments that allow them to distinguish build
phases, so they don't need to use variables for this.
NEWS.md
mkosi.md
mkosi/__init__.py
mkosi/backend.py