aboutsummarylogtreecommitdiffstats
AgeCommit message (Collapse)Author
10 dayschore(PKGBUILD): bump to v0.27.0Simon Désaulniers
2026-06-16chore(PKGBUILD): bump v0.24.0Simon Désaulniers
2026-06-16docs(README): change incorrect pacman commands to makepkgSimon Désaulniers
2026-05-29fix(build): use .orig backup for install scriptletSimon Désaulniers
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.
2026-05-29fix(build): use .in template for install scriptletSimon Désaulniers
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.
2026-05-29comfyui.install: fix installation instructionsSimon Désaulniers
* Remove irrelevant pacman * Replace by makepkg where relevant.
2026-05-29docs(config): documenting {} in the file so user knows to delete itSimon Désaulniers
2026-05-29fix(config): prevent crash on fully commented yamlSimon Désaulniers
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.
2026-05-27chore(SRCINFO): bumpSimon Désaulniers
2026-05-27feat(config): make input/output dirs configurable via env varsSimon Désaulniers
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}.
2026-05-27fix(config): keep models under install prefix by defaultSimon Désaulniers
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.
2026-05-27fix(comfyui.install): display controller in AMD gpu regex patternSimon Désaulniers
2026-05-19docs: document _prefix environment variable overrideSimon Désaulniers
2026-05-19feat(build): allow overriding _prefix from environmentSimon Désaulniers
Use ${_prefix:-/opt/comfyui} so users can build with a custom prefix without editing the PKGBUILD: _prefix=/var/remise/comfyui makepkg -sf
2026-05-19chore: bump to v0.21.1Simon Désaulniers
2026-04-28chore(SRCINFO): bumpSimon Désaulniers
2026-04-28feat(install): auto-detect GPU for PyTorch installSimon Désaulniers
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
2026-04-28fix(install): reuse _comfyui_setup in post_upgradeSimon Désaulniers
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.
2026-04-28chore: bump pkgrel for build process fixesSimon Désaulniers
2026-04-28fix: preserve template files across repeated buildsSimon Désaulniers
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.
2026-04-28fix: include install script in source for AUR validationSimon Désaulniers
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.
2026-04-28refactor: extract .install script to template fileSimon Désaulniers
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.
2026-04-28chore(SRCINFO): add fileSimon Désaulniers
2026-04-28feat(PKGBUILD): fix maintainer infoSimon Désaulniers
2026-04-28feat: preserve venv across reinstalls, move config to /etcSimon Désaulniers
- 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/
2026-04-28feat: initial ComfyUI package for Arch LinuxSimon Désaulniers
- 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