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

Makefile: add missing dependencies to install targets#284

Merged
bergwolf merged 1 commit into
kata-containers:masterfrom
stefanha:Makefile-add-install-dependency
May 3, 2018
Merged

Makefile: add missing dependencies to install targets#284
bergwolf merged 1 commit into
kata-containers:masterfrom
stefanha:Makefile-add-install-dependency

Conversation

@stefanha
Copy link
Copy Markdown

@stefanha stefanha commented May 2, 2018

"make install" fails on a clean working directory:

$ make install
install: cannot stat ‘data/kata-collect-data.sh’: No such file or directory

This happens because install and install-scripts do not depend on the
runtime. Make doesn't know it needs to build the runtime before it can
be installed.

Add the missing dependencies to the install targets so that "make
install" works on a clean working directory and rebuilds when source
files have been modified.

Note that SCRIPTS contains the generated kata-collect-data.sh script.
That file needs to be generated before it can be installed, so make
SCRIPTS a dependency of install-scripts.

Fixes: #283
Signed-off-by: Stefan Hajnoczi stefanha@redhat.com

"make install" fails on a clean working directory:

  $ make install
  install: cannot stat ‘data/kata-collect-data.sh’: No such file or directory

This happens because install and install-scripts do not depend on the
runtime.  Make doesn't know it needs to build the runtime before it can
be installed.

Add the missing dependencies to the install targets so that "make
install" works on a clean working directory and rebuilds when source
files have been modified.

Note that SCRIPTS contains the generated kata-collect-data.sh script.
That file needs to be generated before it can be installed, so make
SCRIPTS a dependency of install-scripts.

Fixes: kata-containers#283
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Copy link
Copy Markdown
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sboeuf
Copy link
Copy Markdown

sboeuf commented May 2, 2018

@stefanha thanks for the PR. I have restarted the fedora build, we got a glitch here. I'll merge when the CI turn green.

@bergwolf
Copy link
Copy Markdown
Member

bergwolf commented May 3, 2018

CI failed crio redis-server test:

time="2018-05-02T16:44:27Z" level=fatal msg="execing command in container failed: unable to upgrade connection: 404 page not found"

@codecov
Copy link
Copy Markdown

codecov Bot commented May 3, 2018

Codecov Report

Merging #284 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   65.64%   65.64%           
=======================================
  Files          75       75           
  Lines        8008     8008           
=======================================
  Hits         5257     5257           
  Misses       2181     2181           
  Partials      570      570

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87aa1d7...c032061. Read the comment docs.

@bergwolf
Copy link
Copy Markdown
Member

bergwolf commented May 3, 2018

lgtm

Approved with PullApprove

@bergwolf bergwolf merged commit 3d1b4a1 into kata-containers:master May 3, 2018
mcastelino added a commit to mcastelino/runtime-1 that referenced this pull request Dec 15, 2018
Add firecracker swagger definition v2.0 retrieved from
https://github.com/firecracker-microvm/firecracker-go-sdk/blob/master/client/swagger.yaml
at 840c1e37f5f2bbcbff1fdbfcfcea09d0bf158977

This will be used to generate the client code.

Fixes: kata-containers#284

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
mcastelino added a commit to mcastelino/runtime-1 that referenced this pull request Dec 15, 2018
Add firecracker swagger definition v2.0 retrieved from
https://github.com/firecracker-microvm/firecracker-go-sdk/blob/master/client/swagger.yaml
at 840c1e37f5f2bbcbff1fdbfcfcea09d0bf158977

This will be used to generate the client code.

Fixes: kata-containers#284

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
grpc: Don't close the terminal on CloseStdin() call
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants