advisor,errtracker: use upstream bolt package
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 13:46:00 +0000 (15:46 +0200)
committerMichael Hudson-Doyle <mwhudson@debian.org>
Thu, 7 Feb 2019 08:26:34 +0000 (08:26 +0000)
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 d74aa14fe9e9446d15c2dd4101958731360a9bfb..42a4ba05190fcbe0b5a2d0a599f879efeacb4ace 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 d7507a9a3dceb6c6730ce89addf969a0f20180c7..1910b7d7cc9aaa759a15e15c9c50f85e2935ff22 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"