summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index f4fda83..cf2d880 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -180,6 +180,9 @@ chroot_init() {
MAKEPKG_CONF="$copydir/etc/makepkg.conf" set_conf_makepkg PKGDEST /pkgdest
MAKEPKG_CONF="$copydir/etc/makepkg.conf" set_conf_makepkg SRCDEST /srcdest
+ local PACKAGER="$(get_conf_makepkg PACKAGER .)"
+ MAKEPKG_CONF="$copydir/etc/makepkg.conf" set_conf_makepkg PACKAGER "$PACKAGER"
+ unset PACKAGER
if ! grep -q '^\[repo\]' "$copydir/etc/pacman.conf"; then
cat >> "$copydir/etc/pacman.conf" <<EOF
@@ -271,6 +274,7 @@ usage() {
echo 'configuration changes in the chroot:'
echo ' - whatever changes `librechroot` makes.'
echo ' - set `PKGDEST` and `SRCDEST` in `/etc/makepkg.conf`'
+ echo ' - set `PACKAGER` in `/etc/makepkg.conf`'
echo ' - (maybe) delete `/build/.makepkg.conf`'
echo ' - (maybe) delete `/build/.ssh/config`'
echo 'If run from inside of a chroot, this command will:'