Jesús c0e0dbfc36 update doas conf | il y a 2 ans | |
---|---|---|
.. | ||
README.md | il y a 2 ans |
$ sed -e 's|#PACKAGER="John Doe <john@doe.com>"|PACKAGER="Libre U. <user@email.domain>"|' -i /etc/makepkg.conf
$ sed -e 's|#GPGKEY=""|GPGKEY="user-id"|' -i /etc/makepkg.conf
$ updpkgsums
$ doas librechroot clean-repo
$ doas librechroot -A x86_64 -n x86_64 make
$ doas librechroot -A i686 -n i686 make
$ doas librechroot -C /etc/pacman.conf -M /usr/share/pacman/defaults/makepkg.conf.i686 -n i686 make
$ doas librechroot -n x86_64 enter
$ doas librechroot -n i686 enter
$ doas libremakepkg -n x86_64
$ doas libremakepkg -n i686
$ doas librechroot update
$ doas librechroot -n i686 update
$ doas libremakepkg -N
$ librestage <grupo>
$ git diff --no-prefix --no-index --no-renames --binary a b > parche.patch
repo en donde poner el paquete ej. core, extra, community
$ librerelease
Example config doas
$ doas nano -w /etc/doas.conf
## doas configuration file. ## ## See the doas man page for the details on how to write a configuration file. ## ## Allow members of group wheel to execute any command permit persist :wheel ## Same thing without a password #permit nopass :wheel ## Allow tedu to run procmap as root without a password #permit nopass tedu as root cmd /usr/sbin/procmap ## 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
Configuración chroot para Hyperbola v0.4
Editar
/etc/pacman.d/mirrorlist
del sistema operativo local con las URLs de testing (al menos por ahora hasta fijar libretools).$ wget https://paste.debian.net/plain/1199102 -O /tmp/pacman.conf
$ doas librechroot -C /tmp/pacman.conf make
$ wget https://paste.debian.net/plain/1199103 -O /tmp/mirrorlist
Cambiar
<your-user>
por su usuario:$ doas cp -av /tmp/mirrorlist /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist
$ doas chattr +i /var/lib/archbuild/default/<your-user>/etc/pacman.d/mirrorlist
Fijar arch-nspawn:
$ 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
$ doas librechroot update
Restaurar el archivo
/etc/pacman.d/mirrorlist
de sistema operativo local