From 3ce5b54cf183504ab3a39d2984cb928f2ba49658 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 5 Dec 2024 20:46:29 +0000 Subject: [PATCH] Trim unneeded content from OpenEuler mirror We currently only support x86_64 and aarch64 systems, and don't need packages for other platforms nor separate bootable system image files. Explicitly exclude them in the OpenEuler mirror script. Change-Id: Ia1e741909b2a5129e10eedcba5ca4c87ccad5d91 --- playbooks/roles/mirror-update/files/openeuler-mirror-update | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/roles/mirror-update/files/openeuler-mirror-update b/playbooks/roles/mirror-update/files/openeuler-mirror-update index 9483436402..872fe05d3c 100644 --- a/playbooks/roles/mirror-update/files/openeuler-mirror-update +++ b/playbooks/roles/mirror-update/files/openeuler-mirror-update @@ -60,10 +60,16 @@ for REPO in $REPOS; do --exclude="isolinux/" \ --exclude="debuginfo/" \ --exclude="docker_img/" \ + --exclude="edge_img/" \ + --exclude="embedded_img/" \ + --exclude="loongarch64/" \ + --exclude="ppc64le/" \ --exclude="raspi_img" \ + --exclude="riscv64/" \ --exclude="source/" \ --exclude="stratovirt_img/" \ --exclude="virtual_machine_img/" \ + --exclude="WSL/" \ $MIRROR/$REPO/ $BASE/$REPO/ echo_ts "$REPO rsync done." done