~mvo/snapd/+git/snapd-mvo:fix-copy-paste-error-mockdisks

Last commit made on 2023-07-21
Get this branch:
git clone -b fix-copy-paste-error-mockdisks https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-copy-paste-error-mockdisks
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

0e430df... by Michael Vogt

disks: fix copy/paste error in mockdisks.go

The loop is about `KernelDeviceNode` but the code checks
for `KernelDevicePath`. This looks like a copy/paste error
from the previous looe` but the code checks
for `KernelDevicePath`. This is a copy/paste error
from the previous loop. Includes a unit test.

ffa162e... by Sergio Cazzolato

fix upgrade-from-release for ubuntu mantic and fix it for lunar

make the test work for ubuntu lunar

9cff007... by Michael Vogt

daemon: remove unreachable code

876953a... by Zeyad Gouda

o/snapstate: limit implicit --unaliased flag for parallel installs only

Since refreshes shouldn't update state, the implicit --unaliased flag was
limited to installs only.

Signed-off-by: Zeyad Gouda <email address hidden>

6601349... by Zeyad Gouda

o/snapstate: remove unneeded log message and fix typo in test

Signed-off-by: Zeyad Gouda <email address hidden>

f5ddfe6... by Zeyad Gouda

o/snapstate: implicitly set --unaliased flag for parallel installs

Implicitly set --unaliased flag for parallel installs to avoid alias
conflicts with the main snap.

Signed-off-by: Zeyad Gouda <email address hidden>

ca49727... by Michael Vogt

preseed: remove unneeded error check after sd.EssentialSnaps()

There is no need to check `sd.EssentialSnaps()` as it does not
return an error.

b4d2006... by Michael Vogt

devicestate: fix missing err assignment in cleanupRecoverySystem

2b3491b... by Michael Vogt

systemd: fix incorrect err handling in ensureMountUnitFile()

The ensureMountUnitFile() was not handling errors from
osutil.EnsureFileState() correctly. This commit fixes this and
adds a unit test.

57c8e27... by Michael Vogt

client: extract realUidGid() helper (thanks to Oliver for the suggestion)