You are not logged in.
I'm trying to use archiso within a docker container to build ISOs in a CI Pipeline.
Everything seems to be working as expected, except that pacman is asking for confirmation to install packages. Since I want to run this as a CI Pipeline, I can't manually confirm.
I know about pacman's --noconfirm option, but I don't know how to force mkarchiso to use that flag.
Any other ideas?
Thank you!
Last edited by pemattern (2025-05-15 13:43:03)
Offline
mkarchiso uses pacstrap which runs pacman with the --noconfirm option by default. You shouldn't be seeing any prompts.
Offline
Thank you. I confirmed this, no conformation is needed to run mkarchiso. However, it appears that an interactive shell (i.e. one with a stdin) is still required when using the --noconfirm option with pacman.
Hence, the docker container must be run in interactive mode.
Offline