[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)
committerAlex Murray <alex.murray@canonical.com>
Mon, 28 Nov 2022 10:37:00 +0000 (10:37 +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 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 0af7f3cfc9fc1773054841a0036542903a768a02..db77ec1ef09f3260835ff748b45b56a8c3f841a2 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"