Move repo files copy after specific kernel building
This commit is contained in:
parent
21693c5729
commit
f78fe2d14e
@ -174,13 +174,13 @@ addPackageToRepo() { # Add package $1
|
|||||||
echo "Adding $1 to repository..."
|
echo "Adding $1 to repository..."
|
||||||
scp $ssh_options $run_directory_path/$1/$1-$2*.pkg.tar.xz $remote_repository/
|
scp $ssh_options $run_directory_path/$1/$1-$2*.pkg.tar.xz $remote_repository/
|
||||||
repo-add $repo_db_file $run_directory_path/$1/$1-$2*.pkg.tar.xz
|
repo-add $repo_db_file $run_directory_path/$1/$1-$2*.pkg.tar.xz
|
||||||
scp $ssh_options $run_directory_path/$repo_db_file $run_directory_path/$repo_db_file.old $run_directory_path/$repo_db_filesfile $run_directory_path/$repo_db_filesfile.old $remote_repository/
|
|
||||||
reg="(linux-lts).+"
|
reg="(linux-lts).+"
|
||||||
if [[ $name =~ $reg ]]; then
|
if [[ $name =~ $reg ]]; then
|
||||||
echo "Adding $1-headers and $1-docs to repository..."
|
echo "Adding $1-headers and $1-docs to repository..."
|
||||||
repo-add $repo_db_file $run_directory_path/$1/$1-headers-$2*.pkg.tar.xz $run_directory_path/$1/$1-docs-$2*.pkg.tar.xz
|
repo-add $repo_db_file $run_directory_path/$1/$1-headers-$2*.pkg.tar.xz $run_directory_path/$1/$1-docs-$2*.pkg.tar.xz
|
||||||
scp $ssh_options $run_directory_path/$1/$1-headers-$2*.pkg.tar.xz $run_directory_path/$1/$1-docs-$2*.pkg.tar.xz $remote_repository/
|
scp $ssh_options $run_directory_path/$1/$1-headers-$2*.pkg.tar.xz $run_directory_path/$1/$1-docs-$2*.pkg.tar.xz $remote_repository/
|
||||||
fi
|
fi
|
||||||
|
scp $ssh_options $run_directory_path/$repo_db_file $run_directory_path/$repo_db_file.old $run_directory_path/$repo_db_filesfile $run_directory_path/$repo_db_filesfile.old $remote_repository/
|
||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
clean() {
|
||||||
|
Loading…
Reference in New Issue
Block a user