[libretools]: improves chroot generation for Hyperbola v0.4 testing
This commit is contained in:
parent
61d6191d7d
commit
7aec87ef1f
@ -119,45 +119,42 @@ permit nopass :wheel
|
|||||||
|
|
||||||
## Configuración chroot para Hyperbola v0.4
|
## Configuración chroot para Hyperbola v0.4
|
||||||
|
|
||||||
### cambiar repos a [core] y [extra] solamente
|
### Cambiar repos
|
||||||
|
|
||||||
|
Primero copiar el archivo `pacman.conf`
|
||||||
|
|
||||||
```console
|
```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
|
```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
|
```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
|
```console
|
||||||
# Hyperbola GNU/Linux-libre - Last Updated: Wed May 29 22:13:37 EEST 2019
|
$ 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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
luego:
|
fijar los mirrors:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ doas chattr +i /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist
|
$ doas chattr +i /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Comentar línea 83 de la jaula engendrada `/usr/lib/libretools/chroot/arch-nspawn`
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ 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
|
```console
|
||||||
$ doas librechroot update
|
$ doas librechroot update
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user