modify pacman.conf and mirrorlist changes

Since the move to sourceforge mirrors and the single repository of all three pacman.conf looks for server through a mirrorlist (/etc/pacman.d/mirrorlist-jobo) but this is inconvenient for new chroot installations.
This commit is contained in:
joborun linux 2023-08-28 06:27:54 +00:00
parent d0da009bb1
commit 16663b035d
1 changed files with 11 additions and 7 deletions

View File

@ -8,10 +8,9 @@
<pre>
% cd /tmp
% wget https://git.disroot.org/joborun-pkg/jobcore/raw/branch/main/pacman/pacman.conf</pre>
This will get you a copy of joborun's pacman.conf file.
% wget https://git.disroot.org/joborun-pkg/jobcore/raw/branch/main/pacman/pac-inst.conf</pre>
This will get you a copy of joborun's pacman.conf file without the need for a separate mirrorlist, as it is now the default joborun setup.
For simplicity we will refer to this prepared and mounted partition as the "target" /mnt and the arch system from which you will make the installation will be the "host" /
@ -40,19 +39,23 @@ This is necessary for installing pacman to the target in order to use the curren
<pre>
# pacman -Sy pacman base opensysusers** linux(***) --config /tmp/pacman.conf -r /mnt
# pacman -Sy pacman base opensysusers** linux(***) --config /tmp/pac-inst.conf -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).
*** You have a choice of joborun's special linux-lts (5.10) or linux (5.15) and if you need linux/linux-lts headers add them to the list. Same for linux-firmware, especially if you have an AMD machine with Radeon gfx card, you will not get anything on screen without it. There are also less frequently maintained kernel's 4.9 5.4 6.0 6.1 6.2 6.3...
*** You have a choice of joborun's special linux-lts (5.10) or linux (5.15) and if you need linux/linux-lts headers add them to the list. Same for linux-firmware, especially if you have an AMD machine with Radeon gfx card, you will not get anything on screen without it. There are also less frequently maintained kernel's 4.9 5.4 6.0 6.1 6.4 6.5 ...
We highly recommend linux-lts (5.10) as a very well developed kernel expiring in 2026, while 5.15 is expected to last only till 2024. So 5.10 is a longer LTS, while 5.15 is a relative short term LTS. Current late lts is 6.1 carried by Arch while 6.2 is current stable. So the choices are wide.
If you want additional packages you can either do this later through chroot or add them at the end of the above command (ie networking package of choice, text editor, arch-install-scripts, bootloader-grub/syslinux, etc. ).
We are trying to make sure you have a fully functional system to boot and login to console, then you can install whatever you like.
Select the closest mirrors to your location and remove the comment sign '#' from in front of them. Pacman hits the first uncommented server on the list and only if it fails goes to the next. You do this by editing: /etc/pacman.d/mirrorlist. This is a screened list from Arch to only include https:// mirrors, so some countries' mirrors that only offer an http:// service have been ommitted. You can always replace our pacman-mirrorlist pkg with core/pacman-mirrorlist by: pacman -S core/pacman-mirrorlist which includes the http: only sites.
Select the closest mirrors to your location and remove the comment sign '#' from in front of them. Pacman hits the first uncommented server on the list and only if it fails goes to the next. You do this by editing:
/etc/pacman.d/mirrorlist and
/etc/pacman.d/mirrorlist-jobo
This is a screened list from Arch to only include https:// mirrors, so some countries' mirrors that only offer an http:// service have been ommitted. You can always replace our https only mirrorlist with mirrorlist-arch which includes the http: only sites (an exact copy of the current arch mirrorlist).
The following is about the same as running joborun-setup from (jobo-setup) pkg. Install jobo-setup and execute the joborun-setup script to take care of the rest of the configuration. Alternatively take care of the following:
@ -124,4 +127,5 @@ You may either reboot at this point or use arch-chroot to get into the installat
## **Welcome to joborun** ##
Note: In general, the hierarchy as seen in pacman.conf works in reverse for wiki. What you can not find here you may find in Obarun, as it applies here as well. What you can't find in Obarun wiki you can find in wiki.archlinux.org, and it applies for Obarun, and applies here as well. With the exception of anything that relates to systemd/logind. On the other side of the coin though there may be a tendency to overbrowse Artix wiki, and with the very specific runit similarity there is nothing that should be relevant, compatible, and non-destructive. As this distro is oriented to medium/advanced users do not expect much hand-holding especially with functionality of guis and desktops.
Note: In general, the hierarchy as seen in pacman.conf works in reverse for wiki. What you can not find here you may find in Obarun, as it applies here as well. What you can't find in Obarun wiki you can find in wiki.archlinux.org, and it applies for Obarun, and applies here as well. With the exception of anything that relates to systemd/logind. On the other side of the coin though there may be a tendency to overbrowse Artix wiki, and with the very specific runit similarity there is nothing that should be relevant, compatible, and non-destructive.