Skip to content

Commit

Permalink
legacy: Download RPMs from the nightly repository
Browse files Browse the repository at this point in the history
Signed-off-by: Čestmír Kalina <[email protected]>
  • Loading branch information
ckalina authored and spbnick committed Jun 19, 2019
1 parent bb642e3 commit 50fd7e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions legacy/pci_id/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ $(METADATA): Makefile
@echo "Requires: zstd" >> $(METADATA)
@echo "Requires: tar" >> $(METADATA)
@echo "Requires: binutils" >> $(METADATA)
@echo "Requires: yum-utils" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
Expand Down
3 changes: 2 additions & 1 deletion legacy/shared/rpm-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ function rpm_install()

function rpm_extract()
{
__yum_call --downloadonly --downloaddir=$RPM_TMPDIR "${RPM_EXTRACT[@]}"
yumdownloader --disablerepo='*' --enablerepo=rhel-latest \
--downloaddir=$RPM_TMPDIR "${RPM_EXTRACT[@]}"

if test $? -gt 0
then
Expand Down
1 change: 1 addition & 0 deletions legacy/whitelist/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ $(METADATA): Makefile
@echo "Requires: file" >> $(METADATA)
@echo "Requires: gawk" >> $(METADATA)
@echo "Requires: binutils" >> $(METADATA)
@echo "Requires: yum-utils" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
Expand Down

0 comments on commit 50fd7e5

Please sign in to comment.