In the postinstall script of the default tools tree pacman is called which apparently reads $CONFIG and tries to open a file given by its value. As that file does not exist it fails.
Possible solutions:
Call unset CONFIG in the upstream postinstall script
Use an environment variable of a different name (e.g. KCONF_FILE)
Workaround:
Do not use $CONFIG and instead adjust the shipped config file
In the postinstall script of the default tools tree pacman is called which apparently reads
$CONFIG
and tries to open a file given by its value. As that file does not exist it fails.Possible solutions:
unset CONFIG
in the upstream postinstall scriptKCONF_FILE
)Workaround:
$CONFIG
and instead adjust the shipped config filekernel/mkosi.kernel.conf