Commit Graph

  • 4521daaaf0 seed: Simplify writing of pseudo-random data Alberto Mardegan 2022-10-05 15:23:45 +03:00
  • 6be567224d store: send Snap-Device-Location header with cloud information Samuele Pedroni 2022-10-05 13:48:35 +02:00
  • 05f52e6ccd tests/fakeinstaller: fix name of destination variable Alfonso Sánchez-Beato 2022-10-05 11:45:09 +01:00
  • 85ce0ea9df tests/fakeinstaller: make sure BASETAR has a value Alfonso Sánchez-Beato 2022-10-05 11:43:35 +01:00
  • cd7e17df64 tests: add support for /cdrom/casper/base.squashfs Michael Vogt 2022-10-05 12:24:14 +02:00
  • 5d952a1c28 tests: switch to use swtpm-mvo instead of test-snapd-swtpm snap Alfonso Sánchez-Beato 2022-10-05 10:23:10 +01:00
  • c41be8aa90 overlord: fix unit tests after merging master in Philip Meulengracht 2022-10-05 09:21:06 +02:00
  • 5cf6ad9ad4 Merge branch 'master' into feature/user-autoremoval-1 Philip Meulengracht 2022-10-05 09:12:25 +02:00
  • 504807e930 o/devicestate: review feedback Philip Meulengracht 2022-10-05 09:11:26 +02:00
  • d6eb09e0b7 o/auth: move HasUserExpired into UserState and name it HasExpired, and add unit tests for this Philip Meulengracht 2022-10-05 09:10:43 +02:00
  • 2fdafbc507 Merge pull request #12226 from Meulengracht/refactor/user-params Philip Meulengracht 2022-10-05 08:22:49 +02:00
  • ecb4ba8247 seccomp: allow opening XDP sockets Alberto Mardegan 2022-09-27 12:45:42 +03:00
  • 8305f1018e tests: use sfdisk -d instead of fdisk -x Michael Vogt 2022-10-04 22:27:54 +02:00
  • 8a83d3013a tests: use snap prepare-image in fde-on-classic mk-image.sh Michael Vogt 2022-10-04 14:21:46 +02:00
  • b12e37ab44 aspects: improve error in bad read Miguel Pires 2022-10-04 17:38:56 +01:00
  • 34685ff666 aspects: improve variable naming Miguel Pires 2022-10-04 17:37:49 +01:00
  • 710ab22dba Merge remote-tracking branch 'upstream/master' into HEAD Samuele Pedroni 2022-10-04 16:34:35 +02:00
  • d65459fd05 store: linearize a bit more old code Samuele Pedroni 2022-10-04 16:32:36 +02:00
  • e639934891 o/devicestate: drive-by: drop some TODOs now that snaps have save access Samuele Pedroni 2022-10-04 14:41:27 +02:00
  • 8957643019 o/devicestate: clarify new TODO Samuele Pedroni 2022-10-04 14:39:55 +02:00
  • b9da041a0b boot: tweak and test code to deal with unasserted uninstalled snaps Samuele Pedroni 2022-10-04 13:53:56 +02:00
  • 8e12d68219 many: don't depend on RecoverySystemDir when RecoverySystemLabel is enough Samuele Pedroni 2022-10-04 13:33:59 +02:00
  • 0dde00cdbd o/auth: rename NewUserData to NewUserParams Philip Meulengracht 2022-10-04 13:35:45 +02:00
  • 35c5d4af4a seed: fix seed test to use a pseudo-random byte sequence Alberto Mardegan 2022-10-04 14:10:23 +03:00
  • 5dfbde21e2 tests: spread test for validation set constraint auto-resolution Miguel Pires 2022-10-04 10:24:31 +01:00
  • 67ea0ac10f cmd/snap: support validation set --refresh --enforce in CLI Miguel Pires 2022-10-04 10:23:43 +01:00
  • 8d4d6b2bb1 devicestate: shouldMountUbuntuSave() needs to check for m.isClassicBoot Michael Vogt 2022-10-03 22:16:14 +02:00
  • d54d70b22a devicestate: set RecoverySystem{,Dir} in doInstallFinish() to allow seeding Michael Vogt 2022-10-03 22:05:36 +02:00
  • c0f6e7ab99 interface: Allow access to org.freedesktop.DBus.ListActivatableNames via system-observe interface Robert Ancell 2022-10-04 15:51:00 +13:00
  • f39ae9bff5 tests: re-enable nested fakeinstaller test Michael Vogt 2022-10-03 21:24:27 +02:00
  • 7dab9c5e17 boot: deal with unasserted snaps when copying data to the snap blobs dir Michael Vogt 2022-09-27 16:01:11 +02:00
  • 19aaa84ddf Merge pull request #12213 from alfonsosanchezbeato/install-finish-step-handlers-bit Michael Vogt 2022-10-03 23:12:49 +02:00
  • 6572ff8a25 tests: disable booting into the generate fakeinstaller image until Michael Vogt 2022-10-03 21:17:23 +02:00
  • 41462da7bc Fix where console=ttyS0 is set in gadget cmdline Sergio Cazzolato 2022-10-03 15:54:12 -03:00
  • 00868e0882 tests: fix nested fakeinstaller test to match latest code Michael Vogt 2022-10-03 18:33:08 +02:00
  • f854897ee0 Merge pull request #12203 from MiguelPires/refresh-enforce-overlord Miguel Pires 2022-10-03 17:14:13 +01:00
  • be9eb2de28 aspects: improved names Miguel Pires 2022-10-03 17:13:47 +01:00
  • 92eca485a7 aspects: add Schema interface w/ json implementation Miguel Pires 2022-10-03 16:58:08 +01:00
  • 7dcd974482 aspects: add DataBag interface and use map as storage Miguel Pires 2022-10-03 16:16:53 +01:00
  • acc46148a8 store: test explicitly what we send with the download requests Samuele Pedroni 2022-10-03 16:47:32 +02:00
  • a2b5b7c0b3 tests/lib/fakeinstaller: make sure we uncompress the right image Alfonso Sánchez-Beato 2022-10-03 14:16:56 +01:00
  • 23e4fc658e o/assertstate: improve variable names Miguel Pires 2022-10-03 13:54:51 +01:00
  • e3cd90ae91 o/assertstate: iterate on names Miguel Pires 2022-10-03 13:01:01 +01:00
  • 6ac971a4a1 Merge branch 'master' into tests-add-commandline-to-nested Sergio Cazzolato 2022-10-03 08:42:55 -03:00
  • 8d9724dc4b i/backends,o/ifacestate: cleanup backends.All Samuele Pedroni 2022-10-03 13:35:11 +02:00
  • 88b796bc6e boot,overlord: address some review comments Alfonso Sánchez-Beato 2022-10-03 12:27:33 +01:00
  • 27d1cb26d1 overlord/devicestate: review feedback Philip Meulengracht 2022-10-03 13:27:26 +02:00
  • dc7957aa52 aspects: remove the top-level in the fake assertion Miguel Pires 2022-10-03 11:00:25 +01:00
  • 9d9db35c19 aspects: correct naming w.r.t. aspect views Miguel Pires 2022-10-03 10:49:05 +01:00
  • 7de9a575f1 cmd/snap-confine: move bind-mount setup into separate function (#12194) Alberto Mardegan 2022-10-03 12:47:21 +03:00
  • 4c6fdc2164 many: add tests for error Is() Miguel Pires 2022-10-03 10:18:58 +01:00
  • be98d9144c o/assertstate: s/Enforce/ApplyEnforced/ Miguel Pires 2022-10-03 09:54:50 +01:00
  • 66a345bba1 overlord,tests: add some review comments Alfonso Sánchez-Beato 2022-10-03 09:18:42 +01:00
  • 4cd91dc4dd gadget: make ESP GPT partition GUID a constant Alfonso Sánchez-Beato 2022-10-03 09:13:38 +01:00
  • a078a1a0ec overlord/devicestate: review feedback Philip Meulengracht 2022-10-03 08:59:52 +02:00
  • 5a2238de02 Merge pull request #12217 from mardy/tests-mount-ns-fix Alberto Mardegan 2022-10-03 08:53:15 +03:00
  • f6a3a2e1e2 i/backends,o/ifacestate: cleanup backends.All Samuele Pedroni 2022-10-02 15:58:01 +02:00
  • 4b48716b22 install: add missing stubs Michael Vogt 2022-10-02 09:44:51 +02:00
  • 707c153158 o/state: Hold pseudo-error for explicit holding, concept of pending changes in prune logic Samuele Pedroni 2022-10-01 11:27:14 +02:00
  • 15655410b8 image: preseed: fix test formating Ondrej Kubik 2022-09-30 22:30:41 +00:00
  • fc72b84550 Merge pull request #12212 from pedronis/classic-with-modes-no-kernel-gadget Michael Vogt 2022-09-30 22:20:28 +02:00
  • b4446ffeb1 fix: remove /lib/modules/<release>/build/.config Jon Seager 2022-08-15 13:22:31 +01:00
  • 329d734c02 fix: replace /proc with @{PROC} Jon Seager 2022-08-15 13:20:52 +01:00
  • 7273eedb77 interfaces: add kconfig paths to system-observe Jon Seager 2022-08-12 10:42:35 +01:00
  • fac121b6f2 boot/makebootable_test: add test for the case of no recovery systems Alfonso Sánchez-Beato 2022-09-30 18:10:14 +01:00
  • 70b9193c15 o/devicestate: tweak comment Alfonso Sánchez-Beato 2022-09-30 18:09:49 +01:00
  • 6ed0516b2a tests/fakeinstaller: reenable creation of classic rootfs Alfonso Sánchez-Beato 2022-09-30 18:05:33 +01:00
  • 82ed3aa3d2 Merge remote-tracking branch 'upstream/master' into explicit-hold-and-pending-changes Samuele Pedroni 2022-09-30 18:47:58 +02:00
  • 9280bdc7d4 many: cleanups Samuele Pedroni 2022-09-30 18:20:32 +02:00
  • 4b6bc5a702 Merge remote-tracking branch 'upstream/master' into classic-with-modes-no-kernel-gadget Samuele Pedroni 2022-09-30 18:20:21 +02:00
  • f277d90279 o/snapstate: mostly test and documentation improvements Miguel Pires 2022-09-30 17:13:33 +01:00
  • b4ddb536a7 tests/main/mount-ns: update namespace for 18.04 Alberto Mardegan 2022-09-30 18:08:38 +03:00
  • 47680413ab many: address review comments Alfonso Sánchez-Beato 2022-09-30 16:45:18 +01:00
  • baa80219fe daemon: support wrapping ChangeConflictError Miguel Pires 2022-09-30 16:00:14 +01:00
  • ba5e0df119 i/b/system_observe: honour root dir when checking for /boot/config-* (#12114) Alberto Mardegan 2022-09-08 12:46:41 +03:00
  • ccb403c305 interfaces: grant access to speech-dispatcher socket (bug 1787245) Alexandre Lissy 2022-08-26 11:21:03 +02:00
  • c416a86b65 interfaces: rework logic of unclashMountEntries (#12061) Alberto Mardegan 2022-09-05 14:23:44 +03:00
  • 47017e1be8 tests/fakeinstaller: make sure there is no system-data Alfonso Sánchez-Beato 2022-09-30 11:34:53 +01:00
  • a9e1bd1566 tests/mk-classic-rootfs.sh: use 22.04.1 and fix comment Alfonso Sánchez-Beato 2022-09-30 11:34:26 +01:00
  • ca40dd0d75 tests/fakeinstaller: addressed review comments Alfonso Sánchez-Beato 2022-09-30 11:33:43 +01:00
  • dd69bf0df9 sysconfig: add TODO about _writable_defaults Alfonso Sánchez-Beato 2022-09-30 11:30:47 +01:00
  • 47ae9d67c3 gadget,overlord: mount partitions in auxiliary function in the gadget Alfonso Sánchez-Beato 2022-09-30 11:29:56 +01:00
  • 97e66e7c52 tests: remove classic-unencrypted-fakeinstaller Alfonso Sánchez-Beato 2022-09-30 11:11:32 +01:00
  • 37c9538a7f boot,overlord: add boot mode as argument to MakeBootablePartition Alfonso Sánchez-Beato 2022-09-30 10:23:07 +01:00
  • bfd3dcbc76 Merge pull request #12209 from mardy/selinux-new-rules Michael Vogt 2022-09-30 10:11:46 +02:00
  • 6c435aaa32 o/state: add a concept of pending changes to the prune logic Samuele Pedroni 2022-09-29 20:11:55 +02:00
  • 7e3515a94f o/state: introduce Hold pseudo-error for task explicit holding Samuele Pedroni 2022-09-29 08:54:36 +02:00
  • ca18518196 overlord: add code to remove users that has an expiration date set Philip Meulengracht 2022-08-29 09:26:53 +02:00
  • 1fc4775ba4 Merge pull request #12199 from Meulengracht/feature/empty-logs-directory Michael Vogt 2022-09-30 09:37:05 +02:00
  • a044081e73 daemon: move user add, remove operations to overlord device state (#11796) Ondrej 2022-09-30 08:33:37 +01:00
  • 0786c47ee5 data/selinux: allow snapd to detect WSL Alberto Mardegan 2022-09-29 13:46:48 +03:00
  • 4173791958 interfaces: Fix desktop interface rules for document portal Robert Ancell 2022-08-29 17:11:26 +12:00
  • 117736347b Merge remote-tracking branch 'upstream/master' into tests-add-commandline-to-nested Sergio Cazzolato 2022-09-29 16:06:18 -03:00
  • 55795e92bb Adding new docs to HACKING Sergio Cazzolato 2022-09-29 16:05:56 -03:00
  • acd7649fee Merge pull request #12208 from mvo5/changelog-2.57.4 Michael Vogt 2022-09-29 20:27:43 +02:00
  • 59bbbf36ed tests: create fakeinstaller and test for classic FDE Michael Vogt 2022-09-29 18:22:34 +01:00
  • e9c569a9fc overlord/devicestate: implement installation finish step Alfonso Sánchez-Beato 2022-09-29 18:17:57 +01:00
  • f3188bf8e1 boot/makebootable: adapt test Alfonso Sánchez-Beato 2022-09-29 18:16:37 +01:00
  • 8fd6adcd33 boot/makebootable: prevent a "." recovery system label Alfonso Sánchez-Beato 2022-09-29 18:11:47 +01:00
  • 111c847c86 boot/makebootable: create function to make bootable partitions Alfonso Sánchez-Beato 2022-09-29 18:09:38 +01:00