-
Notifications
You must be signed in to change notification settings - Fork 373
Conversation
Notes:
|
For fairness we will change the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you noted, the CC path is hardwired and linked into how the CC runtime builds, but as a first pass to get us up and running:
lgtm
Makefile
Outdated
endif | ||
|
||
# remove goals that don't require the variable to be set | ||
remaining=$(filter-out clean help,$(MAKECMDGOALS)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You scary Make
guru :-)
Makefile
Outdated
endif | ||
|
||
clean: | ||
rm -f $(KATA_RUNTIME_PATH) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could run clean
in the (configured, or both?) runtime dirs as well maybe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
e7c0521
to
4bcefc2
Compare
@sameo - the CC runtime is now built as |
lgtm |
|
||
ifeq (runv,$(KATA_RUNTIME)) | ||
RUNTIME_DIR = runv | ||
RUNTIME_NAME = runv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jodh-intel should this be kata-runtime-runv?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind -- I see that our runtime name is updated just to avoid confusion and we ultimately make the symlink regardless.
Thanks James -- looks fine to me....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, but runv
's build doesn't allow the target name to be overridden unfortunately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
ifeq (runv,$(KATA_RUNTIME)) | ||
RUNTIME_DIR = runv | ||
RUNTIME_NAME = runv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind -- I see that our runtime name is updated just to avoid confusion and we ultimately make the symlink regardless.
Thanks James -- looks fine to me....
@bergwolf is working on fix on runv side to make it could pass the makefile |
Add a basic `Makefile` to allow a runtime to be built: - Clear Containers-based Kata runtime: ``` $ make KATA_RUNTIME=cc [install] ``` - `runv`-based Kata runtime: ``` $ make KATA_RUNTIME=runv [install] ``` Fixes kata-containers#15. Signed-off-by: James O. D. Hunt <[email protected]>
4bcefc2
to
6faabd2
Compare
fyi, I've opened #18 to fix runv build in kata runtimes repo. |
Thanks @sameo ! That one can go in as well. lgtm! |
clean up config.go
The latest runc vendoring requires this version. Shortlog: d983527 (HEAD -> master, origin/master, origin/HEAD) Fix capHeader.pid type (kata-containers#16) 33e07d3 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2 (kata-containers#14) Signed-off-by: Archana Shinde <[email protected]>
Add a basic
Makefile
to allow a runtime to be built:Clear Containers-based Kata runtime:
runv
-based Kata runtime:Fixes #15.
Signed-off-by: James O. D. Hunt [email protected]