github.com/meulengracht/snapd@v0.0.0-20210719210640-8bde69bcc84e/packaging/debian-sid/patches/0005-advisor-errtracker-use-upstream-bolt-package.patch (about)

     1  From ccb008b459fb1fce6614e33c44ee7faed9a366a2 Mon Sep 17 00:00:00 2001
     2  From: Zygmunt Krynicki <me@zygoon.pl>
     3  Date: Thu, 17 Jan 2019 15:46:00 +0200
     4  Subject: [PATCH 5/9] advisor,errtracker: use upstream bolt package
     5  
     6  Upstream snapd uses a fork of the bolt package that carries additional
     7  patches for bugs that were discovered by snapd developers. Bolt itself
     8  appears to be an abandoned project and is not accepting any new patches.
     9  
    10  In various distributions the upstream bolt package may or may not have
    11  been patched but the forked version was definitely not packaged. As
    12  such, to build snapd in Debian the upstream bolt package name must be
    13  used.
    14  
    15  Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
    16  ---
    17   advisor/backend.go       | 2 +-
    18   errtracker/errtracker.go | 2 +-
    19   2 files changed, 2 insertions(+), 2 deletions(-)
    20  
    21  diff --git a/advisor/backend.go b/advisor/backend.go
    22  index d74aa14fe..42a4ba051 100644
    23  --- a/advisor/backend.go
    24  +++ b/advisor/backend.go
    25  @@ -25,7 +25,7 @@ import (
    26   	"path/filepath"
    27   	"time"
    28   
    29  -	"github.com/snapcore/bolt"
    30  +	"github.com/boltdb/bolt"
    31   
    32   	"github.com/snapcore/snapd/dirs"
    33   	"github.com/snapcore/snapd/osutil"
    34  diff --git a/errtracker/errtracker.go b/errtracker/errtracker.go
    35  index d7507a9a3..1910b7d7c 100644
    36  --- a/errtracker/errtracker.go
    37  +++ b/errtracker/errtracker.go
    38  @@ -33,7 +33,7 @@ import (
    39   	"strings"
    40   	"time"
    41   
    42  -	"github.com/snapcore/bolt"
    43  +	"github.com/boltdb/bolt"
    44   	"gopkg.in/mgo.v2/bson"
    45   
    46   	"github.com/snapcore/snapd/arch"
    47  -- 
    48  2.17.1
    49