split the initial pacman installation step into two

To verify that pacman and pacman mirrors work as they should pacman should be installed first and the rest should be installed by the functional pacman setup in the chroot, without relying on the outside pac-inst.conf file.
This commit is contained in:
joborun linux 2023-08-28 06:34:52 +00:00
parent 16663b035d
commit 472fb803a6
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ This is necessary for installing pacman to the target in order to use the curren
<pre>
# pacman -Sy pacman base opensysusers** linux(***) --config /tmp/pac-inst.conf -r /mnt
# pacman -Sy pacman --config /tmp/pac-inst.conf -r /mnt
# pacman -Sy base opensysusers** linux(***) -r /mnt
</pre>
** Sysusers should be used in lack of systemd to set systemd IDs for special users like systemd does. With the use of s6 and 66 obsysusers is a dependency and replaces opensysusers. Basically it is the same script and runs through a pacman hook reading a sysusers.d directory for users settings by any software that require to execute something as a special system user (neither a regular user or root).