From ddd508efc083fc9beb6f2c96e2537521b31c1e6f Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Thu, 14 Sep 2017 23:31:41 +0200 Subject: makechrootpkg: Reopen console to assign the CTTY nspawn does not give us a controlling terminal, hence we ignore interrupts. Apparently this was lost in systemd at some point. Hack around this by reopening the console to make it the controlling terminal. --- makechrootpkg.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makechrootpkg.in b/makechrootpkg.in index add87d3..8724355 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -241,6 +241,9 @@ EOF # These functions aren't run in makechrootpkg, # so no global variables _chrootbuild() { + # Work around nspawn not giving us a ctty + exec