diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-07 12:24:18 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-09 14:20:48 -0500 |
commit | 056aac864aaa989a17703857e8e0e9b67726fc22 (patch) | |
tree | e8fbec3d569f2ac114ff2d26d8e0046513293a0d /src/chroot-tools/libremakepkg.gpl2 | |
parent | 70e1601042250b395659f4c325ae7a73cbe238ab (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-x | src/chroot-tools/libremakepkg.gpl2 | 2 |
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 } |