Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit 5b64e33

Browse files
committed
Debug: Provide a way to enable a debug console to the VM
Provide an additional unit file to enable a debug console. Also provide an additional agent service file variant that can be used to launch the VM in debug mode. The console can be attached using socat STATE_DIR_CONTAINER/console.sock - Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
1 parent 84761a1 commit 5b64e33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ HAVE_SYSTEMD := $(shell pkg-config --exists systemd 2>/dev/null && echo 'yes')
2929

3030
ifeq ($(HAVE_SYSTEMD),yes)
3131
UNIT_DIR := $(shell pkg-config --variable=systemdsystemunitdir systemd)
32-
UNIT_FILES = clear-containers.service
32+
UNIT_FILES = clear-containers.service clear-containers-debug.service
3333
GENERATED_FILES := $(UNIT_FILES)
34-
UNIT_FILES += clear-containers.target
34+
UNIT_FILES += clear-containers.target clear-containers-debug.target
3535
endif
3636

3737
SED = sed

0 commit comments

Comments
 (0)