From faf118276913374560f1e88e2304bd1d77bc91f5 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 23 May 2017 11:38:15 -0400 Subject: [PATCH] init: install cockpit/ws before running The atomic CLI changed behaviour recently (in https://github.com/projectatomic/atomic/pull/950), to require containers with INSTALL labels to be explicitly installed before being run. This is probably something we should have done to begin with. Downstream RHBZ: #1454439 --- libexec/init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/init b/libexec/init index 5f0c0ce..5f2f115 100755 --- a/libexec/init +++ b/libexec/init @@ -144,7 +144,8 @@ bottom_pane() { fi rc=0 - atomic run cockpit/ws || rc=$? + (atomic install cockpit/ws && + atomic run cockpit/ws) || rc=$? echo $rc > /run/atomic-devmode-cockpit.rc journalctl -f }