fix setup doc

This commit is contained in:
Evgenii Alekseev 2022-05-05 19:19:28 +03:00 committed by GitHub
parent 67388d8e32
commit 6671e61120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
Setup instructions Setup instructions
================== ==================
#.
#. Install package as usual. Install package as usual.
#. Change settings if required, see :doc:`configuration reference <configuration>` for more details. #.
Change settings if required, see :doc:`configuration reference <configuration>` for more details.
#. #.
TL;DR TL;DR
@ -14,7 +14,6 @@ Setup instructions
``repo-setup`` literally does the following steps: ``repo-setup`` literally does the following steps:
#. #.
Create ``/var/lib/ahriman/.makepkg.conf`` with ``makepkg.conf`` overrides if required (at least you might want to set ``PACKAGER``\ ): Create ``/var/lib/ahriman/.makepkg.conf`` with ``makepkg.conf`` overrides if required (at least you might want to set ``PACKAGER``\ ):
@ -25,11 +24,14 @@ Setup instructions
#. #.
Configure build tools (it is required for correct dependency management system): Configure build tools (it is required for correct dependency management system):
#.
#. Create build command, e.g. ``ln -s /usr/bin/archbuild /usr/local/bin/ahriman-x86_64-build`` (you can choose any name for command, basically it should be ``{name}-{arch}-build``\ ). Create build command, e.g. ``ln -s /usr/bin/archbuild /usr/local/bin/ahriman-x86_64-build`` (you can choose any name for command, basically it should be ``{name}-{arch}-build``\ ).
#. Create configuration file, e.g. ``cp /usr/share/devtools/pacman-{extra,ahriman}.conf`` (same as previous ``pacman-{name}.conf``\ ). #.
#. Change configuration file, add your own repository, add multilib repository etc; Create configuration file, e.g. ``cp /usr/share/devtools/pacman-{extra,ahriman}.conf`` (same as previous ``pacman-{name}.conf``\ ).
#. Set ``build_command`` option to point to your command. #.
Change configuration file, add your own repository, add multilib repository etc;
#.
Set ``build_command`` option to point to your command.
#. #.
Configure ``/etc/sudoers.d/ahriman`` to allow running command without a password. Configure ``/etc/sudoers.d/ahriman`` to allow running command without a password.