Remove unused /var/lib/registry data

This commit is contained in:
2026-03-26 05:10:35 +08:00
parent e5dfe17ae6
commit 8acf025a9d
5 changed files with 40 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ FUSE_OVERLAYFS="${FUSE_OVERLAYFS:-/usr/bin/fuse-overlayfs}"
ARCHIVE_DIR="${KUBE_IMG_CACHE}/archives/${ARCH}/${KUBE_VERSION}"
# Seed directly into the target rootfs image store.
TARGET_GRAPHROOT="${ROOTFS}/var/lib/containers/storage"
TARGET_GRAPHROOT="${ROOTFS}/usr/lib/monok8s/imagestore"
# Build-host temporary runtime state for containers/storage.
TMPDIR="$(mktemp -d)"
@@ -117,4 +117,4 @@ done
echo
echo "Done."
echo "Archives: ${ARCHIVE_DIR}"
echo "CRI-O storage: ${TARGET_GRAPHROOT}"
echo "CRI-O storage: ${TARGET_GRAPHROOT}"