From fa102e784b60d025e963b39e713ccf78a7090fce Mon Sep 17 00:00:00 2001 From: Sergio Costas Rodriguez Date: Wed, 16 Oct 2024 12:43:48 +0200 Subject: [PATCH] Delete broken links After the "mesa cleanup", libraries are removed but not some soft links to them, so they remain, but are broken. This patch removes all the broken links. --- snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 6c1bd8b..8927653 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -298,3 +298,5 @@ parts: find . -type d -empty -delete ${CRAFT_PART_SRC}/bin/gpu-2404-cleanup mesa-2404 + # delete any broken link + find . -xtype l -delete