From b667e379f037b7ce6078a47edf056686e6e21f0c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 26 Sep 2016 22:05:28 +0200 Subject: [PATCH] Add setupInitLayer() placeholder for Solaris Commit d2bc5d62761c24866e4b0ff4099dd54264bd9325 added a setupInitLayer() for all platforms, but did not add a placeholder for Solaris. This adds the missing placeholder. Signed-off-by: Sebastiaan van Stijn Upstream-commit: eb2fbaa3f2c59bf4a78a3f642fe99a74e3e33b3e Component: engine --- components/engine/daemon/daemon_solaris.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/engine/daemon/daemon_solaris.go b/components/engine/daemon/daemon_solaris.go index 7578bc5b5b..b2244a888d 100644 --- a/components/engine/daemon/daemon_solaris.go +++ b/components/engine/daemon/daemon_solaris.go @@ -43,6 +43,10 @@ func setupDaemonRoot(config *Config, rootDir string, rootUID, rootGID int) error return nil } +func (daemon *Daemon) getLayerInit() func(string) error { + return nil +} + // setupInitLayer populates a directory with mountpoints suitable // for bind-mounting dockerinit into the container. The mountpoint is simply an // empty file at /.dockerinit