Re: pacman via pacstrap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Wed, Nov 1, 2023 at 1:45 AM lacsaP Patatetom <patatetom@xxxxxxxxx> 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

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux