From 056aac864aaa989a17703857e8e0e9b67726fc22 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 7 Dec 2012 12:24:18 -0500 Subject: 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()` --- src/chroot-tools/libremakepkg.gpl2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chroot-tools/libremakepkg.gpl2') 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 } -- cgit v1.2.3-54-g00ecf