-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paru not using $XDG_CONFIG_HOME/pacman/makepkg.conf
inside CHROOT
#1283
Comments
paru-git should also support the .d drop in files. But there's no logic to currently handle makepkg.conf in the home directory. |
romanstingler
pushed a commit
to romanstingler/paru
that referenced
this issue
Dec 12, 2024
Allow users to override makepkg.conf settings by placing a config file in $XDG_CONFIG_HOME/pacman/makepkg.conf. When present, this config will be mounted read-only in the chroot at /etc/makepkg.conf.d/xdg.conf, allowing its settings to take precedence over the base config. Closes Morganamilo#1283
@cwrau maybe you can try to compile my version and see if it works for you |
romanstingler
pushed a commit
to romanstingler/paru
that referenced
this issue
Dec 17, 2024
Allow users to override makepkg.conf settings by placing a config file in $XDG_CONFIG_HOME/pacman/makepkg.conf. When present, this config will be mounted read-only in the chroot at /etc/makepkg.conf.d/xdg.conf, allowing its settings to take precedence over the base config. Closes Morganamilo#1283
romanstingler
pushed a commit
to romanstingler/paru
that referenced
this issue
Dec 17, 2024
Allow users to override makepkg.conf settings by placing a config file in $XDG_CONFIG_HOME/pacman/makepkg.conf. When present, this config will be mounted read-only in the chroot at /etc/makepkg.conf.d/xdg.conf, allowing its settings to take precedence over the base config. Closes Morganamilo#1283
romanstingler
pushed a commit
to romanstingler/paru
that referenced
this issue
Dec 25, 2024
Allow users to override makepkg.conf settings by placing a config file in $XDG_CONFIG_HOME/pacman/makepkg.conf. When present, this config will be mounted read-only in the chroot at /etc/makepkg.conf.d/xdg.conf, allowing its settings to take precedence over the base config. Closes Morganamilo#1283
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Version
paru v2.0.3.rebuild.1.r1.g90656a9 - libalpm v15.0.0
Description
I've successfully setup building inside the chroot, but paru doesn't use my
$XDG_CONFIG_HOME/pacman/makepkg.conf
for building.This leads to errors, as I've set
e.g.
PKGEXT='.pkg.tar'
which is used locally but not for building, which in turn fails withfailed to run: repo-add -R /var/cache/aur-repo/aur.db.tar /var/cache/aur-repo/$package.pkg.tar
As far as I can tell paru mounts
/etc/pacman.conf
and/etc/makepkg.conf
but nothing more.I know about
/etc/makepkg.conf.d/*.conf
but putting mymakepkg.conf
in there doesn't work by itself (I guess it won't be copied?).Setting the
paru.conf
optionMakepkgConf = /etc/makepkg.conf.d/custom.conf
fails completely because this flag expects a fullmakepkg.conf
and not just the changes to the default. (I found this out as I don't haveCARCH
set, which is set by default).Manually copying the config inside the chroot to
/etc/makepkg.conf.d/custom.conf
works a little bit, but ultimately fails because I changed theBUILDDIR
inside mymakepkg.conf
which is not picked up by whatever runs inside the chroot.paru.conf
makepkg.conf
The text was updated successfully, but these errors were encountered: