FS#58869 - {arch-install-scripts} pacstrap: use --sysroot instead of --root
Attached to Project:
Arch Linux
Opened by Uwe Sauter (UweSauter) - Monday, 04 June 2018, 22:20 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 05 June 2018, 14:37 GMT
Opened by Uwe Sauter (UweSauter) - Monday, 04 June 2018, 22:20 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 05 June 2018, 14:37 GMT
|
Details
Description:
Running pacstrap (via archiso) emits error messages like ==> Creating install root at work/x86_64/airootfs ==> Installing packages to work/x86_64/airootfs warning: option --root is deprecated; use --sysroot instead As far as I can tell this is triggered by line 355 in /usr/bin/pacstrap, which uses an undocumented option "-r" (probably short for --root) of pacman. Changing "-r" to "--sysroot" lets pacstrap (archiso) fail with: ==> Creating install root at work/x86_64/airootfs ==> Installing packages to work/x86_64/airootfs error: config file work/pacman.conf could not be read: No such file or directory ==> ERROR: Failed to install packages to new root |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 05 June 2018, 14:37 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#58778
Tuesday, 05 June 2018, 14:37 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by
Chih-Hsuan Yen (yan12125) -
Tuesday, 05 June 2018, 06:51 GMT
Eli Schwartz has a WIP:
https://git.archlinux.org/users/eschwartz/arch-install-scripts.git/log/