Don't use sudo when building AIX packages
PolyPkg uses "sudo installp -l" to list the built package by default but we may not have sudo privileges on the build host.
This commit is contained in:
@@ -11,8 +11,8 @@ This makes it possible to have all sudo I/O logs on a central server."
|
||||
# Convert to 4 part version for AIX, including patch level
|
||||
pp_aix_version=`echo $version|sed -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)p\([0-9]*\)$/\1.\2/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9\.].*$/\1/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)$/\1.0/'`
|
||||
|
||||
# Don't allow sudo to prompt for a password
|
||||
pp_aix_sudo="sudo -n"
|
||||
# Don't use sudo to list the package.
|
||||
pp_aix_sudo=
|
||||
%endif
|
||||
|
||||
%if [sd]
|
||||
|
@@ -9,8 +9,8 @@
|
||||
# Convert to 4 part version for AIX, including patch level
|
||||
pp_aix_version=`echo $version|sed -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)p\([0-9]*\)$/\1.\2/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9\.].*$/\1/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)$/\1.0/'`
|
||||
|
||||
# Don't allow sudo to prompt for a password
|
||||
pp_aix_sudo="sudo -n"
|
||||
# Don't use sudo to list the package.
|
||||
pp_aix_sudo=
|
||||
%endif
|
||||
|
||||
%if [sd]
|
||||
|
@@ -21,8 +21,8 @@ still allow people to get their work done."
|
||||
# Convert to 4 part version for AIX, including patch level
|
||||
pp_aix_version=`echo $version|sed -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)p\([0-9]*\)$/\1.\2/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)[^0-9\.].*$/\1/' -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\)$/\1.0/'`
|
||||
|
||||
# Don't allow sudo to prompt for a password
|
||||
pp_aix_sudo="sudo -n"
|
||||
# Don't use sudo to list the package.
|
||||
pp_aix_sudo=
|
||||
%endif
|
||||
|
||||
%if [sd]
|
||||
|
Reference in New Issue
Block a user