Hello all,
I found that proot was having issues with using snapshots due to a
change in the key name. I went ahead and updated it in the code and
tested, seemingly successfully.
I also had to edit the version line to avoid non-fatal errors being
reported during the set downloads.
I emailed marc@ but figured it may help to have others review/test this
change as well if possible.
Thank you.
--
Edward Lopez-Acosta
diff --git a/infrastructure/bin/proot b/infrastructure/bin/proot
index a87c1337fdb..97772389f05 100755
--- a/infrastructure/bin/proot
+++ b/infrastructure/bin/proot
@@ -725,10 +725,10 @@ sub get_snapshot
open my $f, '<', "$snapdir/SHA256.sig"
or $state->fatal("no SHA256.sig");
my $line = <$f>;
- if ($line !~ m/openbsd\-(\d+)\.(\d+)\-base/) {
+ if ($line !~ m/openbsd\-(\d{2})\-base/) {
$state->fatal("Unrecognized snapshot");
}
- my $v = "$1$2";
+ my $v = "$1";
my (@files, @later);
for my $set (sort keys %{$state->{sets}}) {
if ($set =~ m/etc/) {