From 221a66c7cfbaaa5b6244f5a015234a8dfdf25094 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Mon, 11 Jul 2022 15:36:37 +0200 Subject: [PATCH] skopeo: Add oniro-specific configuration The most notable change is that we use the application partition for the root's graphroot. We also explicitly set the storage driver and runtime directory. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../recipes-containers/skopeo/skopeo/storage.conf | 8 ++++++++ .../recipes-containers/skopeo/skopeo_%.bbappend | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 meta-oniro-core/recipes-containers/skopeo/skopeo/storage.conf create mode 100644 meta-oniro-core/recipes-containers/skopeo/skopeo_%.bbappend diff --git a/meta-oniro-core/recipes-containers/skopeo/skopeo/storage.conf b/meta-oniro-core/recipes-containers/skopeo/skopeo/storage.conf new file mode 100644 index 00000000..bb5701d4 --- /dev/null +++ b/meta-oniro-core/recipes-containers/skopeo/skopeo/storage.conf @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +[storage] +driver = "overlay" +runroot = "/run/containers/storage" +graphroot="/run/mount/appdata/user-data/containers/root-rootuser" diff --git a/meta-oniro-core/recipes-containers/skopeo/skopeo_%.bbappend b/meta-oniro-core/recipes-containers/skopeo/skopeo_%.bbappend new file mode 100644 index 00000000..04dc5349 --- /dev/null +++ b/meta-oniro-core/recipes-containers/skopeo/skopeo_%.bbappend @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -- GitLab