[PATCH 5/9] advisor,errtracker: use upstream bolt package
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 13:46:00 +0000 (15:46 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Mon, 6 Apr 2020 06:27:11 +0000 (07:27 +0100)
Upstream snapd uses a fork of the bolt package that carries additional
patches for bugs that were discovered by snapd developers. Bolt itself
appears to be an abandoned project and is not accepting any new patches.

In various distributions the upstream bolt package may or may not have
been patched but the forked version was definitely not packaged. As
such, to build snapd in Debian the upstream bolt package name must be
used.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0005-advisor-errtracker-use-upstream-bolt-package.patch

advisor/backend.go
errtracker/errtracker.go

index 931c708fb987fa512f887639df8d054ddb0a5daa..bc4a6fba9a046d964f3b476f2a448ee9e6e84419 100644 (file)
@@ -25,7 +25,7 @@ import (
        "path/filepath"
        "time"
 
-       "github.com/snapcore/bolt"
+       "github.com/boltdb/bolt"
 
        "github.com/snapcore/snapd/dirs"
        "github.com/snapcore/snapd/osutil"
index 51721481835d337d9e5103bfab0e84803e3b9a0b..746e55b9893860e796e9bd05791576f8bcdf671a 100644 (file)
@@ -33,7 +33,7 @@ import (
        "strings"
        "time"
 
-       "github.com/snapcore/bolt"
+       "github.com/boltdb/bolt"
        "gopkg.in/mgo.v2/bson"
 
        "github.com/snapcore/snapd/arch"