summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg.gpl2
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-30 16:10:48 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-30 16:10:48 -0500
commit762e198c42dcd5b3da5c3a9dbe1006c7f85ec643 (patch)
tree1d0ff11257fa31b52cd8ebb1a88b29d07c8d53c1 /src/chroot-tools/libremakepkg.gpl2
parentd602c1d5d462100313a2c6c47434c652444ba7fd (diff)
[librechroot] have -n set the CHROOT; rename the old -n to -m
https://labs.parabola.nu/issues/252
Diffstat (limited to 'src/chroot-tools/libremakepkg.gpl2')
-rwxr-xr-xsrc/chroot-tools/libremakepkg.gpl24
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg.gpl2 b/src/chroot-tools/libremakepkg.gpl2
index cd279b8..bc8a9be 100755
--- a/src/chroot-tools/libremakepkg.gpl2
+++ b/src/chroot-tools/libremakepkg.gpl2
@@ -14,8 +14,8 @@
# GNU General Public License for more details.
chroot_init() {
- # no-op; make sure the chroot exists
- librechroot -n -l "$CHROOTCOPY" "$CHROOT"
+ # make sure the chroot exists
+ librechroot -n "$CHROOT" -l "$CHROOTCOPY" -m
if [[ -r "$LIBREHOME/.gnupg/pubring.gpg" ]]; then
install -D "$HOME/.gnupg/pubring.gpg" "$copydir/build/.gnupg/pubring.gpg"