Archived
1
0
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.
Carlos Torres 5d0f56b79e Always check pkg dir from Artool's tree root
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>
2024-04-04 21:01:52 -03:00
2024-03-19 23:08:55 +01:00
2024-03-26 18:27:50 +01:00
2024-03-22 23:03:09 +01:00
2023-12-20 19:48:18 +01:00
2023-06-17 11:18:09 +02:00
2023-12-20 19:48:18 +01:00

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
No description provided
Readme 4.1 MiB
Languages
Shell 97.4%
Makefile 2.6%