snapd.git
16 months ago[PATCH 13/18] packaging: use "go install" to install spread
Zygmunt Krynicki [Thu, 30 May 2024 09:43:24 +0000 (11:43 +0200)]
[PATCH 13/18] packaging: use "go install" to install spread

The former go get command is deprecated with current Go, and no longer works
correctly.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0014-PATCH-13-18-packaging-use-go-install-to-install-spre.patch

16 months ago[PATCH 12/18] packaging: and needs-internet test restriction
Zygmunt Krynicki [Thu, 30 May 2024 12:30:25 +0000 (14:30 +0200)]
[PATCH 12/18] packaging: and needs-internet test restriction

Internet is required to pull Go dependencies to build and install spread, as
well as to download snap packages from the store.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0013-PATCH-12-18-packaging-and-needs-internet-test-restri.patch

16 months ago[PATCH 11/18] packaging,spread.yaml: use needs-sudo to setup sudo
Zygmunt Krynicki [Fri, 26 Jan 2024 00:11:46 +0000 (01:11 +0100)]
[PATCH 11/18] packaging,spread.yaml: use needs-sudo to setup sudo

Sudo access is managed by the "needs-sudo" flag. We can drop our custom logic
and associated manipulation. This also ensures the testbed is correctly
selected, and incompatible systems are rejected.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0012-PATCH-11-18-packaging-spread.yaml-use-needs-sudo-to-.patch

16 months ago[PATCH 10/18] packaging: rewrite lintian overrides
Zygmunt Krynicki [Mon, 3 Jun 2024 12:36:55 +0000 (14:36 +0200)]
[PATCH 10/18] packaging: rewrite lintian overrides

None of the old overrides applied anymore.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0011-PATCH-10-18-packaging-rewrite-lintian-overrides.patch

16 months ago[PATCH 09/18] packaging: add source lintian overrides for EFI binaries
Zygmunt Krynicki [Mon, 3 Jun 2024 12:35:07 +0000 (14:35 +0200)]
[PATCH 09/18] packaging: add source lintian overrides for EFI binaries

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0010-PATCH-09-18-packaging-add-source-lintian-overrides-f.patch

16 months ago[PATCH 08/18] packaging: set LANG=C.utf-8 during tests
Zygmunt Krynicki [Mon, 3 Jun 2024 09:41:32 +0000 (11:41 +0200)]
[PATCH 08/18] packaging: set LANG=C.utf-8 during tests

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0009-PATCH-08-18-packaging-set-LANG-C.utf-8-during-tests.patch

16 months ago[PATCH 06/18] tests: explicitly remove the mount point
Zygmunt Krynicki [Mon, 27 May 2024 14:30:13 +0000 (16:30 +0200)]
[PATCH 06/18] tests: explicitly remove the mount point

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0008-PATCH-06-18-tests-explicitly-remove-the-mount-point.patch

16 months ago[PATCH 05/18] tests: use consistent syntax to call snapctl
Zygmunt Krynicki [Mon, 27 May 2024 14:29:49 +0000 (16:29 +0200)]
[PATCH 05/18] tests: use consistent syntax to call snapctl

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0007-PATCH-05-18-tests-use-consistent-syntax-to-call-snap.patch

16 months ago[PATCH 04/18] tests: use snapctl umount rather than umount
Zygmunt Krynicki [Mon, 27 May 2024 14:27:51 +0000 (16:27 +0200)]
[PATCH 04/18] tests: use snapctl umount rather than umount

Snapctl creates systemd mount units that may be activated again, so plain
umount is insufficient to correctly undo all the changes.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0006-PATCH-04-18-tests-use-snapctl-umount-rather-than-umo.patch

16 months ago[PATCH 03/18] Merge pull request from GHSA-p9v8-q5m4-pf46
Zygmunt Bazyli Krynicki [Fri, 24 May 2024 11:48:46 +0000 (13:48 +0200)]
[PATCH 03/18] Merge pull request from GHSA-p9v8-q5m4-pf46

* o/hookstate: recognize "--" in snapctl argument parser

When parsing snapctl argument vector recognize the "--" as an option
terminator, so that dash-options are not recognized afterwards.

Fixes: https://bugs.launchpad.net/snapd/+bug/2065077
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
* tests: add regression test for lp-2065077

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
---------

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0005-PATCH-03-18-Merge-pull-request-from-GHSA-p9v8-q5m4-p.patch

16 months agoman-page-sections
Michael Hudson-Doyle [Mon, 3 Jun 2024 16:07:56 +0000 (18:07 +0200)]
man-page-sections

Gbp-Pq: Name 0010-man-page-sections.patch

16 months ago[PATCH 7/9] i18n: use dummy localizations to avoid dependencies
Zygmunt Krynicki [Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)]
[PATCH 7/9] i18n: use dummy localizations to avoid dependencies

Upstream snapd uses the github.com/ojii/gettext.go package for access to
translation catalogs. This package is currently not available in Debian
and prevents building the package. As such, replace the real
implementation with a simple dummy one that always uses the English
input strings.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch

16 months ago[PATCH 4/9] cmd/snap: skip tests depending on text wrapping
Zygmunt Krynicki [Thu, 17 Jan 2019 15:38:41 +0000 (17:38 +0200)]
[PATCH 4/9] cmd/snap: skip tests depending on text wrapping

Upstream snapd contains tests that check the output of various commands
along with the --help command-line argument. The output is wrapped to
match terminal width and for readability. The algorithm for wrapping
has apparently changed across versions of github.com/jessevdk/go-flags.

Since this test is not critical for anything it can be disabled to let
the package build.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0004-cmd-snap-skip-tests-depending-on-text-wrapping.patch

16 months ago[PATCH 3/9] cmd/snap-seccomp: skip tests that use -m32
Zygmunt Krynicki [Thu, 17 Jan 2019 15:21:22 +0000 (17:21 +0200)]
[PATCH 3/9] cmd/snap-seccomp: skip tests that use -m32

Apparently Debian's amd64 compiler somehow cannot compile -m32 mode
binaries. The compilation error is:

multipass@debian-10:~/packaging/snapd/cmd/snap-seccomp$ go test
cannot build multi-lib syscall runner: exit status 1
In file included from /usr/include/errno.h:25,
 from /tmp/check-3806730340354206876/1/seccomp_syscall_runner.c:3:
/usr/include/features.h:424:12: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
    ^~~~~~~~~~~~~
compilation terminated.
OK: 2 passed, 11 skipped

I was unable to resolve this issue, let's disable this test until we can get to
the bottom of it.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0003-cmd-snap-seccomp-skip-tests-that-use-m32.patch

16 months agosnapd (2.63-4) unstable; urgency=medium
Zygmunt Krynicki [Fri, 19 Jul 2024 05:15:23 +0000 (07:15 +0200)]
snapd (2.63-4) unstable; urgency=medium

  * debian: fix lxc/fuse woes
  * debian: remove smoke test intended for containers, closes: #1076490

[dgit import unpatched snapd 2.63-4]

16 months agoImport snapd_2.63-4.debian.tar.xz
Zygmunt Krynicki [Fri, 19 Jul 2024 05:15:23 +0000 (07:15 +0200)]
Import snapd_2.63-4.debian.tar.xz

[dgit import tarball snapd 2.63-4 snapd_2.63-4.debian.tar.xz]

18 months agoImport snapd_2.63.orig.tar.gz
Zygmunt Krynicki [Thu, 13 Jun 2024 06:13:42 +0000 (08:13 +0200)]
Import snapd_2.63.orig.tar.gz

[dgit import orig snapd_2.63.orig.tar.gz]