Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:manual:contrib:packager_setup_guide [2022/03/26 19:40] i3_relativism finish translate titles |
en:manual:contrib:packager_setup_guide [2023/02/22 20:52] (current) i3_relativism fix reference according to main guides |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Configuraion | + | ====== Configuration |
==== Define PACKAGER ==== | ==== Define PACKAGER ==== | ||
Line 12: | Line 12: | ||
</ | </ | ||
- | === Generate new checksums === | + | ==== Generate new checksums |
<code bash> | <code bash> | ||
Line 18: | Line 18: | ||
</ | </ | ||
- | === Clean librechroot === | + | ==== Clear librechroot |
<code bash> | <code bash> | ||
Line 24: | Line 24: | ||
</ | </ | ||
- | === Build environments: | + | ==== Build environments: |
<code bash> | <code bash> | ||
Line 34: | Line 34: | ||
</ | </ | ||
- | ==== Advanced ==== | + | ===== Advanced |
<code bash> | <code bash> | ||
Line 40: | Line 40: | ||
</ | </ | ||
- | === Enter Container === | + | ==== Enter Container |
<code bash> | <code bash> | ||
Line 50: | Line 50: | ||
</ | </ | ||
- | === Compile: === | + | ==== Compile: |
<code bash> | <code bash> | ||
Line 60: | Line 60: | ||
</ | </ | ||
- | === Update container === | + | ==== Update container |
<code bash> | <code bash> | ||
Line 70: | Line 70: | ||
</ | </ | ||
- | === Enable networking during compilation === | + | ==== Enable networking during compilation |
<code bash> | <code bash> | ||
Line 76: | Line 76: | ||
</ | </ | ||
- | === Uploading package === | + | ==== Uploading package |
<code bash> | <code bash> | ||
Line 82: | Line 82: | ||
</ | </ | ||
- | === Write patch === | + | ==== Write patch ==== |
<code bash> | <code bash> | ||
Line 89: | Line 89: | ||
- | > <grupo> repo en donde poner el paquete ej. core, extra, community | + | > <group> repo where to put the package eg. core, extra, community |
<code bash> | <code bash> | ||
Line 95: | Line 95: | ||
</ | </ | ||
- | === Example config doas === | + | ==== Example config doas ==== |
<code bash> | <code bash> | ||
Line 108: | Line 108: | ||
## Allow members of group wheel to execute any command | ## Allow members of group wheel to execute any command | ||
- | # permit :wheel | + | permit |
## Same thing without a password | ## Same thing without a password | ||
- | permit nopass :wheel | + | #permit nopass :wheel |
- | ## Allow tedu to run procmap as root without a password | + | ## Allow user freedom |
- | #permit nopass | + | #permit nopass |
+ | |||
+ | ## Allow members of group power to execute power commands | ||
+ | permit nopass :power cmd openrc-shutdown | ||
+ | permit nopass :power cmd runit-halt | ||
+ | permit nopass :power cmd runit-shutdown | ||
+ | permit nopass :power cmd halt | ||
+ | permit nopass :power cmd poweroff | ||
+ | permit nopass :power cmd reboot | ||
+ | permit nopass :power cmd shutdown | ||
+ | |||
+ | ## Allow root user to execute any command | ||
+ | permit nopass root | ||
</ | </ | ||
- | == Configurationchroot | + | ===== Configuration chroot |
- | === Cambiar | + | ==== Change |
- | Primero copiar el archivo | + | First copy the file `pacman.conf` |
<code bash> | <code bash> | ||
Line 131: | Line 143: | ||
</ | </ | ||
- | === Change mirrors === | + | ==== Change mirrors |
<code bash> | <code bash> | ||
Line 141: | Line 153: | ||
</ | </ | ||
- | fijar los mirrors: | + | == Attach the mirrors: |
<code bash> | <code bash> | ||
Line 147: | Line 159: | ||
</ | </ | ||
- | === Comment line 83 fom generated container `/ | + | == Comment line 83 fom generated container `/ |
<code bash> | <code bash> | ||
Line 153: | Line 165: | ||
</ | </ | ||
- | === Update container === | + | ==== Update container |
<code bash> | <code bash> | ||
$ doas librechroot update | $ doas librechroot update | ||
</ | </ |