Skip to content

Clarify warning message about skipped sudo commands

Right now, when fdroid build runs without the --on-server option and the build recipe includes sudo= commands, a message like the following is displayed:

WARNING:org.example.package:42 runs this on the buildserver with sudo:
    dd if=/dev/urandom of=/dev/null

To an inexperienced user, it is not at all clear whether or not these commands are being run, and what they can do to change that (took me a while to figure out, and I am not the only one who was left puzzled by this message).

The MR adds a line stating that these commands are being skipped because the --on-server option was not given.

Merge request reports