Repository navigation
Breaking change: run ccm as your regular user
ccm no longer runs as root. Run ccm, not sudo ccm. It calls sudo itself for the steps that need root: creating, updating and nuking the chroot, building in it, and editing files inside it. Everything else (config, local repo, build log, package signing) runs as you.
- Remove any
alias ccm='sudo ccm'. ccm now refuses to run as root. - A sudoers rule that only allowed
/usr/bin/ccmno longer works. The user needs regular sudo rights. - ccm now honors
XDG_CONFIG_HOME. If yours is not~/.config, moveclean-chroot-manager.confandccm.slotthere.
Fixes
- The local repo is set up in the chroot's pacman.conf when the chroot is created, so nothing after a build needs sudo.
- Lock files left in
$XDG_RUNTIME_DIRby older root-run versions are replaced automatically, unless an old ccm still holds them. - Chroot dirs left unreadable by a restrictive umask are made accessible on startup.
- The local repo is kept world-readable instead of chowned to the host's alpm group, so pacman's DownloadUser can read it under any umask.
Full Changelog: v4.1...v4.2