mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 13:22:36 +01:00
Unified logic for building RPM packages for ARM on CentOS platforms
This commit is contained in:
parent
6f618342f8
commit
108922fd30
@ -284,14 +284,9 @@ DOC
|
||||
}
|
||||
|
||||
mkdir "/tmp/result_data" or die "Cannot create result_data folder";
|
||||
my $copy_rpm_res = system("cp /root/rpmbuild/RPMS/x86_64/* /tmp/result_data");
|
||||
my $copy_rpm_res = system("cp /root/rpmbuild/RPMS/$machine_architecture/* /tmp/result_data");
|
||||
|
||||
if ($copy_rpm_res != 0) {
|
||||
# TODO: remove it after debugging
|
||||
warn "Folders: \n";
|
||||
|
||||
`ls -la /root/rpmbuild/RPMS`;
|
||||
|
||||
die "Cannot copy result rpm\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user