Permalink
Browse files

mount aurtoolsrepo under root instead of copy

  • Loading branch information...
1 parent 777aee6 commit 9c03f37cd9006855b06a20346c26527896267035 @thomasdziedzic committed Jan 7, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 aurtoolsbuild
View
@@ -41,9 +41,9 @@ if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then
${chroots}/${repo}-${arch}/root \
${base_packages}
sudo mkdir -p ${chroots}/${repo}-${arch}/copy/var/tmp/aurtoolsrepo
- sudo mount --bind /var/tmp/aurtoolsrepo/ ${chroots}/${repo}-${arch}/copy/var/tmp/aurtoolsrepo/
+ sudo mount --bind /var/tmp/aurtoolsrepo/ ${chroots}/${repo}-${arch}/root/var/tmp/aurtoolsrepo/
else
- sudo mount --bind /var/tmp/aurtoolsrepo/ ${chroots}/${repo}-${arch}/copy/var/tmp/aurtoolsrepo/
+ sudo mount --bind /var/tmp/aurtoolsrepo/ ${chroots}/${repo}-${arch}/root/var/tmp/aurtoolsrepo/
setarch ${arch} sudo mkarchroot \
-u \
${chroots}/${repo}-${arch}/root
@@ -52,7 +52,7 @@ fi
echo "Building in chroot for [${repo}] (${arch})..."
setarch ${arch} sudo makechrootpkg -c -r ${chroots}/${repo}-${arch}
-sudo umount ${chroots}/${repo}-${arch}/copy/var/tmp/aurtoolsrepo/
+sudo umount ${chroots}/${repo}-${arch}/root/var/tmp/aurtoolsrepo/
repo-add /var/tmp/aurtoolsrepo/aurtools.db.tar.gz *.pkg.tar.xz
cp *.pkg.tar.xz /var/tmp/aurtoolsrepo

0 comments on commit 9c03f37

Please sign in to comment.