diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2023-03-01 01:52:27 -0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-02 16:25:47 -0500 |
| commit | a27ba1b77d0eadf7ac2005fb86df1ec8837dd35b (patch) | |
| tree | c87f10488e15d87a43ac4e07035e18bca80deb39 /recipes-containers/skopeo | |
| parent | b861dd498dbc19d5bb72d1de0b0d266bf077fb71 (diff) | |
| download | meta-virtualization-a27ba1b77d0eadf7ac2005fb86df1ec8837dd35b.tar.gz | |
container-host-config: provide /etc/containers/policy.json
The /etc/containers/policy.json[1] file is used to specify verification
policy. For now, we can see it's used by both cri-o and skopeo. To avoid
conflict, we use container-host-config to provide this file and make both
skopeo and cri-o depend on it.
[1] https://github.com/containers/image/blob/main/docs/containers-policy.json.5.md
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/skopeo')
| -rw-r--r-- | recipes-containers/skopeo/skopeo_git.bb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_git.bb index 12a24b0f..e396e3af 100644 --- a/recipes-containers/skopeo/skopeo_git.bb +++ b/recipes-containers/skopeo/skopeo_git.bb | |||
| @@ -80,7 +80,6 @@ do_install() { | |||
| 80 | install -d ${D}/${sysconfdir}/containers | 80 | install -d ${D}/${sysconfdir}/containers |
| 81 | 81 | ||
| 82 | install ${S}/src/import/bin/skopeo ${D}/${sbindir}/ | 82 | install ${S}/src/import/bin/skopeo ${D}/${sbindir}/ |
| 83 | install ${S}/src/import/default-policy.json ${D}/${sysconfdir}/containers/policy.json | ||
| 84 | } | 83 | } |
| 85 | 84 | ||
| 86 | do_install:append:class-native() { | 85 | do_install:append:class-native() { |
