Change 29604

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin under Review 29605
View Review
Download .zip
Added support for p4d r23.1 upgrades.

This adds a call to 'sudo setcap' per the P4D 2023.1 release notes.
Several preflight checks are done to verify the needed sudo access is
available to do 'sudo setcap'. If no such access is available, an
error message is displayed, and we abort in the preflight phase.

The code for the sudo preflight checks avoids a password prompt/hang
from 'sudo'.

#review-29605 @brent_schiestl @jason_gibson
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
upgrade.sh#51
Loading...
Tip: Use n and p to cycle through the changes.