On Wed, Nov 1, 2023 at 1:45 AM lacsaP Patatetom <patate...@gmail.com> wrote:
> I use `pacstrap -U` to install locally forged packages in a dedicated > folder. > this dedicated folder already contains some files and some of these files > are causing problems for `pacstrap -U` (eg. `pacman -U`). > > i'd like to be able to use `--overwrite` option and pass it from > `pacstrap`. > > is it possible to pass options to `pacman` via `pacstrap` ? > It seems pacstrap is passing any additional flags to pacman: https://github.com/archlinux/arch-install-scripts/blob/master/pacstrap.in#L141 So you should be able to pass options using e.g.: $ pacstrap -U /mnt linux -- --overwrite