forked from Spark/builder
kek
This commit is contained in:
parent
10f7dd8d53
commit
51b453e90e
|
@ -22,6 +22,8 @@ chmod 755 "$cnt_dir/rootfs/init"
|
||||||
# Tell it where to fetch the package
|
# Tell it where to fetch the package
|
||||||
echo "$pkg_url" > "$cnt_dir/rootfs/repo"
|
echo "$pkg_url" > "$cnt_dir/rootfs/repo"
|
||||||
|
|
||||||
|
export PKG_GIT_URL="$pkg_url"
|
||||||
|
|
||||||
# Start the container
|
# Start the container
|
||||||
lxc-start -n "$cnt" -F; lxc_exit=$?
|
lxc-start -n "$cnt" -F; lxc_exit=$?
|
||||||
(( lxc_exit )) && exit "$lxc_exit"
|
(( lxc_exit )) && exit "$lxc_exit"
|
||||||
|
|
|
@ -11,7 +11,7 @@ spark_repo_path="$HOME/public/$spark_repo"
|
||||||
sudo makepkg-overlay "$self_url" "$spark_repo_path"
|
sudo makepkg-overlay "$self_url" "$spark_repo_path"
|
||||||
|
|
||||||
cd "$spark_repo_path"
|
cd "$spark_repo_path"
|
||||||
"$HOME/scripts/repo-sign" > "$HOME/log/repo-sign.$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"
|
"$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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user