This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
main: Remove hardcoded Clear Containers references #921
Comments
Agreed. The most flexible approach would be to define them in the
And then add the appropriate code to |
This was referenced Jan 15, 2018
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 17, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: $ make build-kata-system $ sudo make install-kata-system Two new variables have also been added: - KATA_SYSTEM_BUILD: set to any value to build/install for Kata. - SYSTEM_BUILD_TYPE: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See "make help" for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 17, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: $ make build-kata-system $ sudo make install-kata-system Two new variables have also been added: - KATA_SYSTEM_BUILD: set to any value to build/install for Kata. - SYSTEM_BUILD_TYPE: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See "make help" for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 17, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: ``` $ make build-kata-system $ sudo make install-kata-system ``` Two new variables have also been added: - `KATA_SYSTEM_BUILD`: set to any value to build/install for Kata. - `SYSTEM_BUILD_TYPE`: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See `make help` for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 17, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: ``` $ make build-kata-system $ sudo make install-kata-system ``` Two new variables have also been added: - `KATA_SYSTEM_BUILD`: set to any value to build/install for Kata. - `SYSTEM_BUILD_TYPE`: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See `make help` for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 18, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: ``` $ make build-kata-system $ sudo make install-kata-system ``` Two new variables have also been added: - `KATA_SYSTEM_BUILD`: set to any value to build/install for Kata. - `SYSTEM_BUILD_TYPE`: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See `make help` for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 18, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: ``` $ make build-kata-system $ sudo make install-kata-system ``` Two new variables have also been added: - `KATA_SYSTEM_BUILD`: set to any value to build/install for Kata. - `SYSTEM_BUILD_TYPE`: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See `make help` for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
jodh-intel
added a commit
to jodh-intel/runtime
that referenced
this issue
Jan 18, 2018
Rework the build system to allow the runtime to be built for either of the following: - Clear Containers (`cc-runtime` binary and configuration) - Kata Containers (`kata-runtime` binary and configuration) The existing build rules are retained but there are now two new rules: ``` $ make build-kata-system $ sudo make install-kata-system ``` Two new variables have also been added: - `KATA_SYSTEM_BUILD`: set to any value to build/install for Kata. - `SYSTEM_BUILD_TYPE`: build for either Clear Containers (set to `cc`) or Kata (set to `kata`). See `make help` for further details. Note that configuration files are installed to a project-specific directory, allowing for systems to be installed for both Kata and Clear Containers. Finally, the bash completion and collection scripts have been updated to work for either project. Fixes clearcontainers#919, clearcontainers#921. Signed-off-by: James O. D. Hunt <[email protected]>
mcastelino
pushed a commit
to mcastelino/runtime
that referenced
this issue
Dec 6, 2018
The function ioctl can lead to a big endian bug. Issue already solved in containerd/console: containerd/console@dbd69c5 Fixes: clearcontainers#921 Signed-off-by: Alice Frosi <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Every reference to Clear Containers should be configured depending on the configuration used. In case we test Kata, we want the logger name to be
kata-runtime
instead ofcc-runtime
. Same thing for references toClear Containers
.Refer to:
https://github.com/clearcontainers/runtime/blob/master/main.go#L33-L34
The text was updated successfully, but these errors were encountered: