summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg.gpl2
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-07 12:24:18 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-09 14:20:48 -0500
commit056aac864aaa989a17703857e8e0e9b67726fc22 (patch)
treee8fbec3d569f2ac114ff2d26d8e0046513293a0d /src/chroot-tools/libremakepkg.gpl2
parent70e1601042250b395659f4c325ae7a73cbe238ab (diff)
Improve chcleanup, make supporting changes to other tools
chcleanup: * load `CHROOTEXTRAPKGS` from `/etc/libretools.d/chroot.conf` * always cleanup temporary files * properly quote the various arrays used * verify that you are in a chroot librechroot: * write `$copydir/etc/libretools.d/chroot.conf` libremakepkg.gpl2: * use `librechroot` instead of `archroot` directly in `chrootexec()`
Diffstat (limited to 'src/chroot-tools/libremakepkg.gpl2')
-rwxr-xr-xsrc/chroot-tools/libremakepkg.gpl22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/libremakepkg.gpl2 b/src/chroot-tools/libremakepkg.gpl2
index 9c600ed..3f66589 100755
--- a/src/chroot-tools/libremakepkg.gpl2
+++ b/src/chroot-tools/libremakepkg.gpl2
@@ -98,7 +98,7 @@ cd /build
${cmd}
EOF
chmod 755 "$copydir/chrootexec"
- archroot $flags "$copydir" -r /chrootexec
+ librechroot $flags -n "$CHROOT" -l "$CHROOTCOPY" -r /chrootexec
fi
}