Skip to contentSkip to conversation

ci: resolve some no match arguments problem

PATCH In review Li Wang 2 participants 5 messages Apr 1, 2022

lore
Share & tools
lore

Li Wang

author
#0 lore raw

PATCH 1/1 ci: resolve some no match arguments problem

Make this installation can succeed on all RHEL related platforms.

---
 ci/fedora.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ci/fedora.sh +1 -1
index dc1293aa5..a603bcbe3 100755
@@ -2,7 +2,7 @@
 # Copyright (c) 2018-2021 Petr Vorel <[email protected]>
 set -ex
 
-yum="yum -y install"
+yum="yum -y install --skip-broken"
 
 $yum \
 	asciidoc \
Signature · 5 lines
2.31.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Acked-by on v1 1/1
#1 lore raw

Hi Li,

Thanks!

I suppose this fix is for local run of this script on RHEL VM, right? Or is there some failure in CI I overlooked?

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw
Quoted 7 lines · Petr Vorel

Hi Li,

Thanks!

I suppose this fix is for local run of this script on RHEL VM, right?

That's right. Pushed.

Quoted 4 lines

Or is there some failure in CI I overlooked?

No failures from CI, it is just to make the installation easier everywhere

:).

Signature · 2 lines
Regards,
Li Wang
Signature · 2 lines
-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#3 lore raw
In reply to Li Wang

Hi Li,

Quoted 1 line

Make this installation can succeed on all RHEL related platforms.

BTW Other alternative would be to move these packages to the end, i.e.:
$yum foo || true

Because with this, we might put rubygem-asciidoctor also to main $yum command (it should now work with --skip-broken

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#4 lore raw
Quoted 6 lines

BTW Other alternative would be to move these packages to the end, i.e.:
$yum foo || true

Because with this, we might put rubygem-asciidoctor also to main $yum command
(it should now work with --skip-broken

Yes, good point.

Signature · 2 lines
Regards,
Li Wang
Signature · 2 lines
-- 
Mailing list info: https://lists.linux.it/listinfo/ltp