Remove fakeroot wrapper, when building .rpm packages (#153249)
RPM packaging: Don't use fakeroot to build RPM packages are intended to be built by normal users, they don't require root permissions (even fake ones). Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>pull/154202/head
parent
3e59037fa1
commit
1a621c9b74
|
@ -210,7 +210,7 @@ function buildRpmPackage(arch) {
|
|||
|
||||
return shell.task([
|
||||
'mkdir -p ' + destination,
|
||||
'HOME="$(pwd)/' + destination + '" fakeroot rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product.applicationName + '.spec --target=' + rpmArch,
|
||||
'HOME="$(pwd)/' + destination + '" rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product.applicationName + '.spec --target=' + rpmArch,
|
||||
'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/'
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue