Commit d6b43237 authored by AlmAck's avatar AlmAck
Browse files

store the logs in a dedicated folder "_logs" to that can be easly used to generate artifacts

parent c5a37a2d
......@@ -249,6 +249,7 @@ function build_packages() {
pushd $p
_log command "Building pkg: $p"
_do makepkg --noconfirm --rmdeps --noprogressbar --nosign --syncdeps --cleanbuild --log --config ~/.makepkg.conf
_do cp *.log ../_logs/
......@@ -21,6 +21,9 @@ _do cp $repo_name.conf /etc/pacman.conf
_log command "Creating directories for fetched sources..."
_do sudo -u builder mkdir -p _sources
_log command "Creating directories for storing the logs..."
_do sudo -u builder mkdir -p _logs
_log command "Create local repository..."
_do sudo -u builder mkdir -p "_repo/$local_repo_name"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment