aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-23 15:26:34 -0500
committerJesús <heckyel@hyperbola.info>2021-05-23 15:26:34 -0500
commit1ab0b26f8fa1a4eb91b629605453dcbbefb44665 (patch)
tree5b1d5e96768af78725341b7ad119844cc020f596
parent0cedeb0f68a4cf9a6f00a629cf3c951d08459bd2 (diff)
downloadbook-1ab0b26f8fa1a4eb91b629605453dcbbefb44665.tar.lz
book-1ab0b26f8fa1a4eb91b629605453dcbbefb44665.tar.xz
book-1ab0b26f8fa1a4eb91b629605453dcbbefb44665.zip
[libretools]: update
-rw-r--r--libretools/README.md75
1 files changed, 55 insertions, 20 deletions
diff --git a/libretools/README.md b/libretools/README.md
index c59222a..d5ee7e0 100644
--- a/libretools/README.md
+++ b/libretools/README.md
@@ -2,71 +2,106 @@
#### Definir PACKAGER
- sed -e 's|#PACKAGER="John Doe <john@doe.com>"|PACKAGER="Libre U. <user@email.domain>"|' -i /etc/makepkg.conf
+```console
+$ sed -e 's|#PACKAGER="John Doe <john@doe.com>"|PACKAGER="Libre U. <user@email.domain>"|' -i /etc/makepkg.conf
+```
#### Definir GPG-ID PACKAGER
- sed -e 's|#GPGKEY=""|GPGKEY="user-id"|' -i /etc/makepkg.conf
+```console
+$ sed -e 's|#GPGKEY=""|GPGKEY="user-id"|' -i /etc/makepkg.conf
+```
### Generar nuevas sumas
- updpkgsums
+```console
+$ updpkgsums
+```
### Limpiar librechroot
- doas librechroot clean-repo
+```console
+$ doas librechroot clean-repo
+```
### Construir entornos:
- doas librechroot -A x86_64 -n x86_64 make
+```console
+$ doas librechroot -A x86_64 -n x86_64 make
+```
- doas librechroot -A i686 -n i686 make
+```console
+$ doas librechroot -A i686 -n i686 make
+```
#### Avanzado
- doas librechroot -C /etc/pacman.conf -M /usr/share/pacman/defaults/makepkg.conf.i686 -n i686 make
+```console
+$ doas librechroot -C /etc/pacman.conf -M /usr/share/pacman/defaults/makepkg.conf.i686 -n i686 make
+```
### Entrar a la Jaula
- doas librechroot -n x86_64 enter
+```console
+$ doas librechroot -n x86_64 enter
+```
- doas librechroot -n i686 enter
+```console
+$ doas librechroot -n i686 enter
+```
### Compilar:
- doas libremakepkg -n x86_64
+```console
+$ doas libremakepkg -n x86_64
+```
- doas libremakepkg -n i686
+```console
+$ doas libremakepkg -n i686
+```
### Actualizar jaula
- doas librechroot update
+```console
+$ doas librechroot update
+```
- doas librechroot -n i686 update
+```console
+$ doas librechroot -n i686 update
+```
### Habilitanado internet durante la compilación
- doas libremakepkg -N
-
+```console
+$ doas libremakepkg -N
+```
### Subiendo paquete
- librestage <grupo>
+```console
+$ librestage <grupo>
+```
### Escribir parche
- git diff --no-prefix --no-index --no-renames --binary a b > parche.patch
+```console
+$ git diff --no-prefix --no-index --no-renames --binary a b > parche.patch
+```
> <grupo> repo en donde poner el paquete ej. core, extra, community
- librerelease
+```console
+$ librerelease
+```
### Example config doas
- $ doas nano -w /etc/doas.conf
-
+```console
+$ doas nano -w /etc/doas.conf
```
+
+```bash
## doas configuration file.
##
## See the doas man page for the details on how to write a configuration file.