Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
packfsck: honor proxy settings and cert checking
Browse files Browse the repository at this point in the history
In case a proxy is used for downloading the manifest/pack, make sure to
honor those settings. And also, make sure certificate verification
occurs for the downloads.

Signed-off-by: Patrick McCarty <[email protected]>
  • Loading branch information
phmccarty authored and tmarcu committed Dec 1, 2016
1 parent 307d242 commit 490326f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packfsck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

my $target = $ARGV[0];
system("rm /tmp/Manifest");
system("wget --quiet --no-proxy --no-check-certificate --output-document=/tmp/Manifest https://download.clearlinux.org/update/$target/Manifest.os-core");
system("wget --quiet --output-document=/tmp/Manifest https://download.clearlinux.org/update/$target/Manifest.os-core");


my $from = $target;
while ($from > $target - 100) {
$from = $from - 10;
print "Testing the $from-$target pack\n";
system("rm /tmp/pack.tar");
system("wget --quiet --no-proxy --no-check-certificate --output-document=/tmp/pack.tar https://download.clearlinux.org/update/$target/pack-os-core-from-$from.tar");
system("wget --quiet ---output-document=/tmp/pack.tar https://download.clearlinux.org/update/$target/pack-os-core-from-$from.tar");



Expand Down

0 comments on commit 490326f

Please sign in to comment.