This commit is contained in:
Fleshless Builder 2017-11-18 00:15:16 +03:00
parent 10f7dd8d53
commit 51b453e90e
2 changed files with 5 additions and 3 deletions

View File

@ -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"

View File

@ -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"