[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 <mvo@debian.org>
Mon, 21 Aug 2023 07:59:54 +0000 (08:59 +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 817dd6460ae6ec71225338afe7fc118abe86198a..5187197a76e3ccb20dde1422ea833b2ff7fccce8 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"