From a1c706e388cc43a9124d6d11e5a77ba4c678504c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Thu, 2 Dec 2021 19:06:32 +0000 Subject: [PATCH] [Rootfs] Rename `armv6l` -> `armv7l` only for the GCCBootstrap shard --- src/Rootfs.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Rootfs.jl b/src/Rootfs.jl index c783e259..1e40b7bd 100644 --- a/src/Rootfs.jl +++ b/src/Rootfs.jl @@ -67,8 +67,10 @@ function artifact_name(cs::CompilerShard) if cs.target != nothing target_str = "-$(triplet(cs.target))" - # armv6l uses the same shards as armv7l, so we just rename here. - target_str = replace(target_str, "-armv6l-linux" => "-armv7l-linux") + if cs.name == "GCCBootstrap" + # armv6l uses the same GCC shards as armv7l, so we just rename here. + target_str = replace(target_str, "-armv6l-linux" => "-armv7l-linux") + end end ext = Dict(:squashfs => "squashfs", :unpacked => "unpacked")[cs.archive_type] return "$(cs.name)$(target_str).v$(cs.version).$(triplet(cs.host)).$(ext)"