mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Compass-ci

Threads by month
  • ----- 2025 -----
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
compass-ci@openeuler.org

October 2021

  • 1 participants
  • 1 discussions
Re: [PATCH lkp-tests] tests/rpmbuild: use HTTPS instead
by Liu Shaofei 09 Oct '21

09 Oct '21
On Sat, Oct 09, 2021 at 11:36:27AM +0800, Wang Lin wrote: >change to use https and domain name > >Signed-off-by: Wang Lin <wanglin199(a)huawei.com> >--- > tests/rpmbuild | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/tests/rpmbuild b/tests/rpmbuild >index 0f5244a1b..9b13591d2 100755 >--- a/tests/rpmbuild >+++ b/tests/rpmbuild >@@ -206,7 +206,13 @@ localinstall_dependent_package() > yum install -y wget > mkdir /tmp/rpm > cd /tmp/rpm >- wget -c -r -np -nd "http://${LKP_SERVER}:${SRV_HTTP_RPM_PORT:-20012}$depend_rpm_dest" >+ local protocol >+ if [ ${#SRV_HTTP_PROTOCOL} -ne 0 ] ; then >+ protocol=$SRV_HTTP_PROTOCOL >+ else >+ protocol="https" >+ fi >+ wget -c -r -np -nd "$protocol://${SCHED_HOST}:${SRV_HTTP_RPM_PORT:-20012}$depend_rpm_dest" perhaps you can write like this: wget -c -r -np -nd "${SRV_HTTP_PROTOCOL:-https}://${SCHED_HOST}:${SRV_HTTP_RPM_PORT:-20012}$depend_rpm_dest" Thanks, Liushaofei > yum localinstall -y *.rpm > } > show_rpm_files() >-- >2.23.0 >
1 0
0 0

HyperKitty Powered by HyperKitty