From 70b8ddc8a91490748fde95268d538c172534632e Mon Sep 17 00:00:00 2001 From: Jan Houben Date: Mon, 25 Dec 2017 14:27:38 +0100 Subject: [PATCH] Replace 'mksrcinfo' with 'makepkg --printsrcinfo' --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 51a3e8e..9e999c1 100755 --- a/build.sh +++ b/build.sh @@ -87,7 +87,7 @@ build_sources() { msg "Building source for ${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 } @@ -225,7 +225,7 @@ build_packages() { # Cleanup all previously built packages for the current package 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 error "A problem occurred building the package" exit 1