forked from artix/artools
This repository has been archived on 2024-04-05 . You can view files and clone it, but cannot push or open issues or pull requests.
master
Currently Artools repo commands assume 'artixpkg' is being executed in the same directory as 'TREE_DIR_ARTIX', exiting silently if that's not the case. This commit changes the package directory existence conditional to be independent of the current working directory, allowing Artools to be run from anywhere. Moreover, a warning is added in case the conditional yields false, that is, if it's unable to find the package directory. Signed-off-by: Carlos Torres <torr@artixlinux.org>
artools
Make flags
- PREFIX=/usr
- SYSCONFDIR=/etc
Dependencies
Buildtime:
- make
- shellcheck
Runtime:
-
base:
- awk
- bash
- coreutils
- grep
- pacman
- util-linux
- sed
-
pkg:
- artools-base
- binutils
- diffutils
- findutils
- go-yq
- openssh
- parallel
- rsync
-
iso:
- artools-base
- dosfstools
- e2fsprogs
- findutils
- grub
- libarchive
- libisoburn
- mtools
- squashfs-tools
- go-yq
Configuration
artools-{pkg,iso}.conf are the configuration files for artools. By default, the config files are installed in
/etc/artools/artools-{pkg,iso}.conf
A user artools-{pkg,iso}.conf can be placed in
$HOME/.config/artools/artools-{pkg,iso}.conf
If the userconfig is present, artools will load the userconfig values, however, if variables have been set in the systemwide
These values take precedence over the userconfig. Best practise is to leave systemwide file untouched. By default it is commented and shows just initialization values done in code.
Tools configuration is done in artools-{pkg,iso}.conf or by args. Specifying args will override artools-{pkg,iso}.conf settings.
Both, pacman.conf and makepkg.conf for chroots are loaded from
usr/share/artools/makepkg.conf.d/${arch}.conf
usr/share/artools/pacmanconf.d/${repo}-${arch}.conf
and can be overridden dropping them in
$HOME/.config/artools/makepkg.conf.d/
$HOME/.config/artools/pacman.conf.d/
artools-*.conf:
$HOME/.config/artools/
Description
Languages
Shell
97.4%
Makefile
2.6%