diff options
author | Jesús <heckyel@hyperbola.info> | 2021-05-27 15:48:21 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-05-27 15:48:21 -0500 |
commit | 7aec87ef1f764b490007aa23a75c39954dc77a99 (patch) | |
tree | 8b9321ae1a68aed70636d95460f35970c26c97e7 | |
parent | 61d6191d7d202db4a0039e41c07a11a85c8d4157 (diff) | |
download | book-7aec87ef1f764b490007aa23a75c39954dc77a99.tar.lz book-7aec87ef1f764b490007aa23a75c39954dc77a99.tar.xz book-7aec87ef1f764b490007aa23a75c39954dc77a99.zip |
[libretools]: improves chroot generation for Hyperbola v0.4 testing
-rw-r--r-- | libretools/README.md | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/libretools/README.md b/libretools/README.md index f90c8ad..d0c9413 100644 --- a/libretools/README.md +++ b/libretools/README.md @@ -119,45 +119,42 @@ permit nopass :wheel ## Configuración chroot para Hyperbola v0.4 -### cambiar repos a [core] y [extra] solamente +### Cambiar repos + +Primero copiar el archivo `pacman.conf` ```console -$ doas nano -w /etc/pacman.conf +$ wget https://paste.debian.net/plain/1199102 -O /tmp/pacman.conf ``` -### Hacer copia de mirror al chroot - ```console -$ doas cp -av /etc/pacman.d/mirrorlist /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist +$ doas librechroot -C /tmp/pacman.conf make ``` -### cambiar repos-mirror a testing +### Cambiar mirrors ```console -$ doas nano -w /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist +$ wget https://paste.debian.net/plain/1199103 -O /tmp/mirrorlist ``` -```bash -# Hyperbola GNU/Linux-libre - Last Updated: Wed May 29 22:13:37 EEST 2019 +```console +$ doas cp -av /tmp/mirrorlist /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist +``` -# Location: Boston, USA -# Responsible: Free Software Foundation -# Work hours: 24*7 -# Note: Only for development and debugging -# Server = https://mirror.fsf.org/hyperbola/gnu-plus-linux-libre/testing/$repo/os/$arch +fijar los mirrors: -# Location: Siauliai, Lithuania -# Responsible: Hyperbola Project -# Note: Only for development and debugging -Server = https://repo.hyperbola.info:50011/gnu-plus-linux-libre/testing/$repo/os/$arch +```console +$ doas chattr +i /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist ``` -luego: +### Comentar línea 83 de la jaula engendrada `/usr/lib/libretools/chroot/arch-nspawn` ```console -$ doas chattr +i /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist +$ doas sed -e 's|echo "Server = $host_mirror" >"$working_dir/etc/pacman.d/mirrorlist"|#echo "Server = $host_mirror" >"$working_dir/etc/pacman.d/mirrorlist"|g' -i /usr/lib/libretools/chroot/arch-nspawn ``` +### Actualizar la jaula + ```console $ doas librechroot update ``` |