diff --git a/makepkg-overlay b/makepkg-overlay index 18d0a48..6148bfd 100755 --- a/makepkg-overlay +++ b/makepkg-overlay @@ -22,6 +22,8 @@ chmod 755 "$cnt_dir/rootfs/init" # Tell it where to fetch the package echo "$pkg_url" > "$cnt_dir/rootfs/repo" +export PKG_GIT_URL="$pkg_url" + # Start the container lxc-start -n "$cnt" -F; lxc_exit=$? (( lxc_exit )) && exit "$lxc_exit" diff --git a/post-receive b/post-receive index 25380a5..06899d3 100755 --- a/post-receive +++ b/post-receive @@ -11,7 +11,7 @@ spark_repo_path="$HOME/public/$spark_repo" sudo makepkg-overlay "$self_url" "$spark_repo_path" cd "$spark_repo_path" -"$HOME/scripts/repo-sign" > "$HOME/log/repo-sign.$spark_repo.log" -"$HOME/scripts/repo-clean" > "$HOME/log/repo-clean.$spark_repo.log" +"$HOME/scripts/repo-sign" &> "$HOME/log/repo-sign.$spark_repo.log" +"$HOME/scripts/repo-clean" &> "$HOME/log/repo-clean.$spark_repo.log" -repo-add -n "$spark_repo.db.tar.gz" *.pkg.tar.xz +repo-add -n "$spark_repo.db.tar.gz" *.pkg.tar.xz &> "$HOME/log/repo-add.$spark_repo.log"