packaging: Prevent any interactive behaviour in scripts
Jenkins launches Docker as docker --tty
, which leads some programs to
think that they can prompt the user interactively (for instance,
osc submitrequests
prompts the user when it finds an already existing
pending request).
This results in job hanging forever.
Since at the moment there does not seem a way to fix Jenkins[1],
forcefully redirect stdin to /dev/null
where possible.