HACKING: Fix intructions for installing cockpit build dependences
Since we use /dev/stdin for the spec file the command aborts before we are able to confirm the transaction. Workaround this problem by creating a temporary spec file that we pass to dnf builddep command. Fixes #11378 Closes #11408
This commit is contained in:
parent
1d557372c6
commit
95ce821b01
|
@ -40,7 +40,10 @@ Note that `tools/cockpit.spec` is a template filled in by
|
|||
The following should work in a fresh Git clone:
|
||||
|
||||
$ sudo dnf install dnf-utils
|
||||
$ sed 's/%{npm-version:.*}/0/' tools/cockpit.spec | sudo dnf builddep --spec /dev/stdin
|
||||
$ TEMPFILE=$(mktemp -u --suffix=.spec) && \
|
||||
sed 's/%{npm-version:.*}/0/' tools/cockpit.spec >$TEMPFILE && \
|
||||
sudo dnf builddep --spec $TEMPFILE && \
|
||||
rm $TEMPFILE
|
||||
|
||||
In addition, for testing, the following dependencies are required:
|
||||
|
||||
|
|
Loading…
Reference in New Issue