Replace 'mksrcinfo' with 'makepkg --printsrcinfo'

pull/218/head
Jan Houben 7 years ago
parent 17614bc887
commit 70b8ddc8a9
No known key found for this signature in database
GPG Key ID: B7C6B271DEB42D74
  1. 4
      build.sh

@ -87,7 +87,7 @@ build_sources() {
msg "Building source for ${pkg}"; msg "Building source for ${pkg}";
run_cmd "chown -R ${makepkg_nonpriv_user}: '${script_dir}/packages/${kernel_name}/${pkg}'" run_cmd "chown -R ${makepkg_nonpriv_user}: '${script_dir}/packages/${kernel_name}/${pkg}'"
run_cmd "su - ${makepkg_nonpriv_user} -s /bin/sh -c 'cd \"${script_dir}/packages/${kernel_name}/${pkg}\" && mksrcinfo && mkaurball -f'" run_cmd "su - ${makepkg_nonpriv_user} -s /bin/sh -c 'cd \"${script_dir}/packages/${kernel_name}/${pkg}\" && makepkg --printsrcinfo > .SRCINFO && mkaurball -f'"
done done
} }
@ -225,7 +225,7 @@ build_packages() {
# Cleanup all previously built packages for the current package # Cleanup all previously built packages for the current package
cleanup ${pkg} cleanup ${pkg}
run_cmd "cd \"${script_dir}/packages/${kernel_name}/${pkg}\" && ccm64 s && mksrcinfo" run_cmd "cd \"${script_dir}/packages/${kernel_name}/${pkg}\" && ccm64 s"
if [[ ${run_cmd_return} -ne 0 ]]; then if [[ ${run_cmd_return} -ne 0 ]]; then
error "A problem occurred building the package" error "A problem occurred building the package"
exit 1 exit 1

Loading…
Cancel
Save