Commit Graph

  • 0d4aa143ed gadget: use model param everywhere instead Ian Johnson 2022-03-02 16:52:26 -06:00
  • d72db55091 gadget/update_test.go: use vars for different models Ian Johnson 2022-03-02 16:51:13 -06:00
  • e9e7aedb76 Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-46 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-03-02 16:30:01 -06:00
  • 3ccc95c9f0 interfaces/cpu-control: add extra idleruntime data/reset files to cpu-control Ian Johnson 2022-03-01 06:31:28 -06:00
  • 4a3ec7b589 o/snapstate: add core22 migration logic Miguel Pires 2022-03-02 16:04:46 +00:00
  • ed75088ac1 o/snapstate: refactor migration logic Miguel Pires 2022-03-02 15:37:20 +00:00
  • 55a62ed6d8 tests: skip version check on lp-1871652 for sru validation (#11310) Sergio Cazzolato 2022-01-27 10:45:51 -03:00
  • 95feb2e7e5 i/builtin: allow modem-manager interface to access some files in sysfs Alfonso Sánchez-Beato 2022-01-31 08:46:14 +01:00
  • 0ec7daefc2 snapstate: tweak string as suggested by Samuele (thanks!) Michael Vogt 2022-02-17 20:28:14 +01:00
  • 39ee2b120a snapstate: make "remove vulnerable version" message more friendly Michael Vogt 2022-02-17 18:21:20 +01:00
  • 7ba06bbcf8 tests: fix "undo purging" step in snap-run-devmode-classic Michael Vogt 2022-02-18 17:56:46 +01:00
  • 6f16f09869 o/snapstate: deal with potentially invalid type of refresh.retain value due to lax validation Pawel Stolowski 2022-02-28 11:29:19 +01:00
  • 3a8206ec6d interfaces: custom-device Alberto Mardegan 2022-03-02 18:52:43 +03:00
  • 34fccfdeb9 interfaces: custom-device Alberto Mardegan 2022-03-02 18:52:43 +03:00
  • b1709a9e07 asserts: tweak external keypair manager error to include more info Maciej Borzecki 2022-03-02 16:49:09 +01:00
  • f2f9f232b7 Fix snap-run-gdbserver test by retrying the check (#11443) Sergio Cazzolato 2022-03-02 12:27:09 -03:00
  • 16e03329d1 cmd/snap: update key related commands to include more context for errors Maciej Borzecki 2022-03-02 16:25:18 +01:00
  • 384fd4616f Revert "o/devicestate: update error message check to account for key not found error" Maciej Borzecki 2022-03-02 16:15:03 +01:00
  • 00bb743c35 asserts: simplify keypair manager errors Maciej Borzecki 2022-03-02 16:14:36 +01:00
  • 1d4b3bef5b Merge pull request #11454 from bboozzoo/bboozzoo/fix-unit-on-other-arches Michael Vogt 2022-03-02 12:43:53 +01:00
  • 0f24e89d68 o/devicestate: update error message check to account for key not found error Maciej Borzecki 2022-03-02 11:34:29 +01:00
  • bf89ad6f86 asserts: return an explicit error when key cannot be found Maciej Borzecki 2022-03-02 11:33:42 +01:00
  • 3bf7f8a53f boot: mock amd64 architecture in relevant unit tests Maciej Borzecki 2022-03-02 08:30:10 +01:00
  • 831467e75a overlord: fix unit tests on arches other than amd64/aarch64 Maciej Borzecki 2022-03-01 15:22:04 +01:00
  • 7de7ab875d Get lxd snap from candidate channel (#11447) Sergio Cazzolato 2022-03-01 11:58:29 -03:00
  • 550fad4640 bootloader: allow different names for the grub binary in different archs Samuele Pedroni 2022-03-01 11:57:19 +01:00
  • 9f641c3487 snap/quota: fix missing comment Philip Meulengracht 2022-03-01 11:16:07 +01:00
  • 5e5840de45 snap/quota: add unit test for GetGroupQuotaAllocations Philip Meulengracht 2022-03-01 11:15:09 +01:00
  • 858e576321 Merge branch 'master' into bugfix/vuln-spread-tests-tweaks Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-02-28 14:05:01 -06:00
  • 1ce22daaf1 multiple: first part of review feedback Philip Meulengracht 2022-02-28 16:55:15 +01:00
  • cccf9997f5 bootloader/piboot: minor GetBootVars() refactor Alfonso Sánchez-Beato 2022-02-28 14:46:08 +01:00
  • 989b8c5e48 gadget/gadget: fix spelling error Alfonso Sánchez-Beato 2022-02-28 14:45:36 +01:00
  • 6161322b65 bootloader/piboot.md: fix some errors in documentation Alfonso Sánchez-Beato 2022-02-28 14:45:13 +01:00
  • ce12dc8aa7 boot: improve comment in updateNotScriptableBootloaderStatus Alfonso Sánchez-Beato 2022-02-28 14:44:43 +01:00
  • 6315910841 cmd/snap-mgmt, packaging: trigger daemon reload after purging unit files Samuele Pedroni 2022-02-28 11:33:37 +01:00
  • b396815599 Merge pull request #11438 from stolowski/gc-on-refresh-test Maciej Borzecki 2022-02-28 11:32:41 +01:00
  • 57dfb596c9 o/snapstate: deal with potentially invalid type of refresh.retain value due to lax validation Pawel Stolowski 2022-02-28 11:29:19 +01:00
  • 5b460c56d5 asserts: support and normalize optional primary keys when signing Samuele Pedroni 2022-02-23 18:17:42 +01:00
  • 328ddb0f0c asserts: fs backstore Search support for optional primary keys Samuele Pedroni 2022-02-23 11:45:43 +01:00
  • 4308154ed2 asserts: start supporting optional primary keys, fs backstore Put/Get Samuele Pedroni 2022-02-17 18:29:50 +01:00
  • 1fa6369b51 cmd/snapd-generator: wrap an expresses in while with parentheses Maciej Borzecki 2022-02-28 11:01:40 +01:00
  • 49f82f7e7f cmd/snap-device-helper: make sysroot static Maciej Borzecki 2022-02-28 10:58:34 +01:00
  • 360067eb6a packaging/ubuntu-16.04/control: adjust libfuse3 dependency as suggested Ian Johnson 2022-01-19 14:49:16 -06:00
  • 41ba290fe5 seed,image: changes necessary for ubuntu-image to support preseeding extra snaps in classic images Samuele Pedroni 2022-02-25 17:21:20 +01:00
  • 2607e649da tests: add debugging to snap-confine-tmp-mount Samuele Pedroni 2022-02-25 17:20:22 +01:00
  • 4a7c435dfa o/snapstate: add ~/Snap init related to backend Samuele Pedroni 2022-02-25 17:18:43 +01:00
  • cb4373d2c8 snap/quota: update docs and naming Philip Meulengracht 2022-02-25 16:18:37 +01:00
  • 00740208c9 data/env: cosmetic tweak for fish Samuele Pedroni 2022-02-25 13:47:54 +01:00
  • 5d6b7ab6a5 tests: include new testing tools and utils (#11399) Sergio Cazzolato 2022-02-25 09:07:55 -03:00
  • 6f92ff61b3 strutil: add unit tests for SliceToCommaSeparatedString Philip Meulengracht 2022-02-25 12:43:26 +01:00
  • 49913e30c8 dirs: rename ExposedHome const Miguel Pires 2022-02-25 10:25:40 +00:00
  • fdec6f91a0 snap/quota: undo changes to a test Philip Meulengracht 2022-02-25 09:29:24 +01:00
  • 451d75b6d6 interfaces/browser-support: allow RealtimeKit's MakeThreadRealtimeWithPID Olivier Tilloy 2022-02-24 18:16:03 +01:00
  • 15d10475fc Add test to ensuro consecutive refreshes do garbage colleciton of old revisions. Paweł Stołowski 2022-02-24 17:02:26 +01:00
  • cb0fb2b08d snap/quota: cleanup code, add better docs Philip Meulengracht 2022-02-24 14:57:23 +01:00
  • be20d29a81 wrappers: review feedback Philip Meulengracht 2022-02-24 14:19:42 +01:00
  • 8954f56b77 daemon: extend unit tests to cover transition to factory-reset Maciej Borzecki 2022-02-22 13:09:50 +01:00
  • a3880dd9f7 o/devicestate: extend unit tests to cover transitions to factory-reset mode Maciej Borzecki 2022-02-22 13:02:38 +01:00
  • 668cc01ece o/devicestate: deny requesting other modes in factory-reset mode Maciej Borzecki 2022-02-22 13:01:57 +01:00
  • 077abfb7d9 daemon: account for factory reset system action in unit tests Maciej Borzecki 2022-02-22 12:38:45 +01:00
  • 612e56735d o/devicestate: add factory reset to current system modes Maciej Borzecki 2022-02-22 12:32:20 +01:00
  • eaac0d34f5 snap/quota: validate limits to catch invalid limits. update doc Philip Meulengracht 2022-02-24 13:20:22 +01:00
  • 2150557edf wrappers: review feedback Philip Meulengracht 2022-02-24 13:04:15 +01:00
  • 021acf6d95 overlord: handle return error from resource update Philip Meulengracht 2022-02-24 13:04:00 +01:00
  • 935cf19854 snap/quota: completly rewrite the quota verification Philip Meulengracht 2022-02-24 13:03:29 +01:00
  • 01e06369d0 Merge pull request #11365 from stolowski/core20-preseed/wrappers Pawel Stolowski 2022-02-24 11:38:01 +01:00
  • b1ae485f5e testutil: refactoring code following the comments from the code review Arseniy Aharonov 2022-02-24 00:14:39 +00:00
  • 0a4f4609b0 Merge branch 'master' into core20-preseed/wrappers Paweł Stołowski 2022-02-24 09:59:27 +01:00
  • 18d9e13be9 tests: add debugging to snap-confine-tmp-mount Alberto Mardegan 2022-02-24 11:04:08 +03:00
  • 1460a117ea osutil/disks: trigger udev on the partition device node Ian Johnson 2022-02-16 20:21:34 -06:00
  • 9f1a953713 Fix smoke/install test for other architectures than pc (#11424) Sergio Cazzolato 2022-02-23 22:24:34 -03:00
  • 16a71cd840 tests: skip boot loader check during testing preparation on s390x (#11423) Sergio Cazzolato 2022-02-23 20:44:43 -03:00
  • cb2f5df6dd t/m/interfaces-network-manager: use different channel depending on system (#11422) alfonsosanchezbeato 2022-02-23 18:59:48 +01:00
  • 11aa4c09dc Implement maybeApplyPreseededData function to restore files from preseeding artifact and copy snap blobs at the end of installation (in doRestartSystemToRunMode). Paweł Stołowski 2022-01-07 11:48:54 +01:00
  • a83afd3cba Merge pull request #11429 from pedronis/fish-more-workarounds-2.54 Maciej Borzecki 2022-02-23 18:01:00 +01:00
  • 08141cf716 Fix wrong systemctl mocking. Paweł Stołowski 2022-02-23 17:48:17 +01:00
  • 14fbedcf87 Make start/stop/restart/reload no-op in Emulation to avoid explicit checks. Paweł Stołowski 2022-02-11 14:33:01 +01:00
  • b4b4ec6119 Do not mock systemctl status. Paweł Stołowski 2022-02-11 14:32:17 +01:00
  • 0905935a7e Do not reload the deamon or restart snapd services when preseeding on core. Paweł Stołowski 2022-02-08 16:43:21 +01:00
  • d316bed30e o/devicestate: pick system from seed systems/ for preseeding (1/N) Samuele Pedroni 2022-02-23 16:40:23 +01:00
  • a8011813f7 asserts: add preseed assertion type Samuele Pedroni 2022-02-23 16:38:28 +01:00
  • 5519698c94 bootloader/piboot: simplify mocking of seed dir Alfonso Sánchez-Beato 2022-02-23 16:22:25 +01:00
  • b3a12846f5 bootloader/piboot: implement RebootBootloader interface Alfonso Sánchez-Beato 2022-02-23 15:36:42 +01:00
  • 8c240a75aa bootloader: make sure to revert seed partition directory Alfonso Sánchez-Beato 2022-02-23 15:33:59 +01:00
  • 8a519f46b1 boot,bootloader: add error parameter to GetRebootArguments() Alfonso Sánchez-Beato 2022-02-23 15:27:28 +01:00
  • 974cf1c32b o/snapstate: make init test more robust Miguel Pires 2022-02-23 13:37:51 +00:00
  • 09da26c79e dirs: improve documentation Miguel Pires 2022-02-23 13:01:38 +00:00
  • cb9be3d590 tests: rm downloaded snaps Ian Johnson 2022-02-17 19:24:03 -06:00
  • 169e1f3a1d tests/main/snap-confine-tmp-mount: more robustly determine which snap-confine Ian Johnson 2022-02-17 18:15:50 -06:00
  • c15a4debe5 gadget: add buildVolumeStructureToLocation, volumeStructureToLocationMap Ian Johnson 2022-02-21 14:26:27 -06:00
  • 6da0c7bc8d gadget/gadgettest: add SingleVolumeUC20GadgetYaml and ...DiskTraitsJSON Ian Johnson 2022-02-21 17:52:31 -06:00
  • f4eaca7711 Merge branch 'master' into core20-preseed/pick-system Paweł Stołowski 2022-02-23 12:29:37 +01:00
  • 699fe101ca cmd/snap-mgmt, packaging: trigger daemon reload after purging unit files Maciej Borzecki 2022-02-23 12:00:25 +01:00
  • d12d9822c0 data/env: more workarounds for even older fish shells, provide reasonable defaults (#11416) Maciej Borzecki 2022-02-23 11:42:13 +01:00
  • bd629832e2 data/env: cosmetic tweak for fish Maciej Borzecki 2022-02-23 11:45:58 +01:00
  • b6126cf4ee data/env: more workarounds for even older fish shells, provide reasonable defaults (#11416) Maciej Borzecki 2022-02-23 11:42:13 +01:00
  • 9db280a7d3 tests/main/snap-run-devmode-classic: reinstall snapcraft to clean up Samuele Pedroni 2022-02-23 11:35:50 +01:00
  • c10a82f3da gadget/update.go: add buildNewVolumeToDeviceMapping for existing devices Samuele Pedroni 2022-02-23 11:30:34 +01:00
  • e995e0fafe data/selinux: allow the snap command to run systemctl Maciej Borzecki 2022-02-23 07:32:45 +01:00
  • 47183ca2a0 snap-confine: Fix minor memory leak when detecting libudev features Alex Murray 2022-02-23 14:34:07 +10:30