| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Revert the .install.in approach rejected by the AUR hook and keep
comfyui.install in source=() as required.
build() now saves a no-clobber backup (.orig) of the pristine
template in $startdir before running sed, so repeated builds with
different _prefix values always start from clean markers.
|
|
build() was overwriting the install scriptlet template in $startdir
with prefix-substituted paths. Subsequent builds with a different
_prefix could not replace the markers, causing file path mismatches
between package contents and post-install hooks.
Rename comfyui.install to comfyui.install.in and generate the
scriptlet from the template with sed (without -i), so the source
template is never modified.
|
|
* Remove irrelevant pacman
* Replace by makepkg where relevant.
|
|
|
|
yaml.safe_load() returns None when the file contains only comments,
causing a TypeError in upstream extra_config.py. Add an empty dict
literal ({}) so the file always parses to a valid mapping.
|
|
|
|
Add /etc/comfyui/comfyui.conf as an EnvironmentFile for the systemd
service, allowing users to override COMFYUI_OUTPUT_DIR and
COMFYUI_INPUT_DIR without editing the service unit or the launcher
script. Defaults remain /var/lib/comfyui/{output,input}.
|
|
The extra_model_paths.yaml was setting base_path to /var/lib/comfyui
but the yaml keys (checkpoints, loras, etc.) were missing, making the
config silently ineffective. Rather than fixing it to redirect models
to /var/lib, make the default config a commented-out template so
models stay under the install prefix where users control placement
via the _prefix variable.
Remove /var/lib/comfyui/models from tmpfiles accordingly.
|
|
|
|
|
|
Use ${_prefix:-/opt/comfyui} so users can build with a
custom prefix without editing the PKGBUILD:
_prefix=/var/remise/comfyui makepkg -sf
|
|
|
|
|
|
Replace _TORCH_PKGS_ build-time variable with runtime GPU
detection via lspci in _detect_gpu(). The package is now
GPU-agnostic and installs the correct PyTorch variant
(ROCm/CUDA/CPU) automatically.
- Add pciutils to depends
- Simplify error messages to suggest reinstalling
- Bump pkgrel to 4
|
|
post_upgrade() was always re-downloading PyTorch (~6 GB) even when
it was already installed. Reuse _comfyui_setup() which checks for
an existing PyTorch installation before downloading.
|
|
|
|
Break symlinks before sed -i to avoid modifying originals in
$startdir. Save template before swapping in processed .install
for pacman. Subsequent builds with the same _prefix work without
manual restoration.
|
|
The AUR git hook requires the install file referenced by the
install= directive to exist in the repository. Use comfyui.install
with _PREFIX_ and _TORCH_PKGS_ placeholders directly (instead of
a separate .in template). build() breaks symlinks before sed to
preserve the originals, then copies the processed file back for
pacman.
|
|
Move the install script from an inline heredoc in PKGBUILD to a
separate comfyui.install.in template file with _PREFIX_ and
_TORCH_PKGS_ placeholders. The build() function generates the
final comfyui.install via sed, keeping the template intact across
repeated builds.
|
|
|
|
|
|
- Move model paths config to /etc/comfyui/extra_model_paths.yaml
- Protect config with pacman backup=() (.pacsave on removal)
- Preserve venv on package removal (pre_remove)
- Detect existing venv in post_install(), skip creation
- Skip PyTorch download if already installed (import torch)
- Fix post_install message to reference /etc/comfyui/
|
|
- Install source code to a configurable prefix
- Create Python venv in post_install() with PyTorch (ROCm)
- Systemd service running as dedicated comfy user
- /usr/bin/comfyui launcher with venv/PyTorch checks
- Pip error handling with cache preservation for retry
|