![](https://seccdn.libravatar.org/avatar/9181eb84f9c35729a3bad740fb7f9d93.jpg?s=120&d=mm&r=g)
7 May
2020
7 May
'20
12:08
Branch: refs/heads/master Home: https://github.com/openSUSE/obs-build Commit: ecc8c721737088e0f411c34981ac3f52e70b02a1 https://github.com/openSUSE/obs-build/commit/ecc8c721737088e0f411c34981ac3f5... Author: Oleg Girko
-
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M build-vm-nspawn
Log Message:
-----------
Autodetect whether to use --pipe option of systemd-nspawn.
The "--pipe" option of systemd-nspawn is useful for automated build,
but it leads to very inconvenient results when running interactive shell
using "osc shell" command: pressing Ctrl+C causes the whole session
to terminate.
Also, "--pipe" option is not available on older versions of systemd-nspawn,
like the one that is used in Raspbian 10.
This change makes build-vm-nspawn autodetect whether "--pipe" option
is available, and use it only for automated build, but not interactive shell.
Signed-off-by: Oleg Girko
-
Commit: dd36916eaceaeb6c65d258cf4f65a667e242e7b0
https://github.com/openSUSE/obs-build/commit/dd36916eaceaeb6c65d258cf4f65a66...
Author: Adrian Schröter