Commit Graph

  • 2076743fab Merge pull request #12172 from mardy/boot-switch Michael Vogt 2022-09-26 12:18:02 +02:00
  • 3b198e25a7 snap-bootstrap: use rootfsDir to avoid repeated boot.InitramfsWritableDir() Michael Vogt 2022-09-26 11:30:37 +02:00
  • d12cb5f946 many: reset store session when setting proxy.store Samuele Pedroni 2022-09-19 16:59:53 +02:00
  • 2c8c443121 snap-bootstrap: tweak comments (thanks to Samuele) Michael Vogt 2022-09-26 11:24:48 +02:00
  • 657d194de5 snap-bootstrap: refactor and use new SetVerifiedBootModel() to set the model Michael Vogt 2022-09-26 10:35:41 +02:00
  • b2b9dec286 store: send Snap-Device-Location header with cloud information William Grant 2022-09-26 17:49:27 +10:00
  • 0e75d37e03 Merge pull request #12181 from mvo5/gadget-refactor Michael Vogt 2022-09-26 09:14:01 +02:00
  • 0801acd237 cmd/flags: adapt tests to go-flags update Alfonso Sánchez-Beato 2022-09-25 17:52:15 +01:00
  • bc1940ea5d gadget: move LayoutOptions creation out of the loops (thanks to Samuele) Michael Vogt 2022-09-24 18:57:26 +02:00
  • 2491f622b6 snap-bootstrap: add missing tests for TestInitramfsMountsTryRecoveryHappy{Try,Tried} on classic Michael Vogt 2022-09-24 18:38:08 +02:00
  • de19fc29ed snap-bootstrap: use paths strings instead of boot.InitramfsDataDir in tests Michael Vogt 2022-09-24 17:24:18 +02:00
  • 508e02379d go.mod: update to latest secboot/uc22 commit Alfonso Sánchez-Beato 2022-09-24 12:49:35 +01:00
  • e7a54ad907 boot: add missing tests for HostUbuntuDataForMode() on classic and fix code Michael Vogt 2022-09-24 10:51:15 +02:00
  • 032b9c41f9 gadget: move SkipResolveContent/IgnoreContent into new LayoutOptions struct Michael Vogt 2022-09-24 10:27:15 +02:00
  • 3315144b20 cmd,image: further refactor of preseed options structures Ondrej Kubik 2022-09-23 23:55:29 +01:00
  • 1e983dee1f gadget: fix comments/typos (thanks to Samuele) Michael Vogt 2022-09-23 22:40:54 +02:00
  • ee6a362df8 boot: add tests for InstallHostWritableDir/InitramfsHostWritableDir/InitramfsWritableDir Michael Vogt 2022-09-23 22:28:39 +02:00
  • 7a7f6bfa8a boot: add TODO about passing snap.Device to HostUbuntuDataForMode Michael Vogt 2022-09-23 21:49:08 +02:00
  • 65e44317ab tests/nested/manual/core20: fix manual test after changes to remote execute ssh command Philip Meulengracht 2022-09-23 18:15:08 +02:00
  • 735f3b5d66 Merge pull request #12117 from Meulengracht/feature/ubuntu-save-install-mode Philip Meulengracht 2022-09-23 18:11:26 +02:00
  • 4ab3c9f75c Merge pull request #12174 from pedronis/allow-kernel-gadget-extended-classic Michael Vogt 2022-09-23 17:40:58 +02:00
  • 1852e4857a snap-bootstrap: remove resolved comment in generateMountsModeRunCVM() Michael Vogt 2022-09-23 17:36:59 +02:00
  • 5f8d255f45 snap-bootstrap: undo accidental change of UnverifiedBootModel error message Michael Vogt 2022-09-23 17:35:27 +02:00
  • 2fef4ba8ca devicestate: get the model via the DeviceCtx in doRestartSystemToRunMode Michael Vogt 2022-09-23 17:32:52 +02:00
  • 1517a02533 Merge branch 'master' into boot-switch Alberto Mardegan 2022-09-23 18:08:05 +03:00
  • 941c5fcafa boot: update code for latest API changes Michael Vogt 2022-09-23 16:43:51 +02:00
  • 5c42708c8c daemon: support validation set refresh+enforce in API Miguel Pires 2022-09-23 15:43:31 +01:00
  • 3504ea45fd gadget: rename SkipResolveContent -> IgnoreContent and make it imply SkipResolveContent Michael Vogt 2022-09-23 16:30:09 +02:00
  • 5db4a0633f gadget: add test for LayoutConstraints.SkipLayoutStructureContent Michael Vogt 2022-09-23 14:54:00 +02:00
  • 4fbf3144cd gadget: rename AllPartitions -> CreateAllMissingPartitions (thanks to Alfonso) Michael Vogt 2022-09-23 14:41:16 +02:00
  • b9b1bdcc88 Merge branch 'master' into tests-fix-error-unit-github Sergio Cazzolato 2022-09-23 09:18:02 -03:00
  • 2fbd892919 Merge branch 'master' into tests-fix-virtualization-issue-intel Sergio Cazzolato 2022-09-23 09:16:45 -03:00
  • 4d4e4f4ebb Merge pull request #12171 from sergiocazzolato/tests-fix-uc18-errors Sergio Cazzolato 2022-09-23 09:15:44 -03:00
  • 107557ec1e install: add test for install.CreateOptions{AllPartitions: true} Michael Vogt 2022-09-23 13:30:41 +02:00
  • 3ac56392a5 gadget: tweak LayoutVolume() and pass LayoutOptions after LayoutConstraints Michael Vogt 2022-09-23 13:16:01 +02:00
  • 54ef1fbf15 Merge pull request #12164 from mvo5/bootstrap-classic-modes-2.57 Michael Vogt 2022-09-23 12:34:09 +02:00
  • ea99d025aa Merge pull request #11722 from mardy/homedirs Michael Vogt 2022-09-23 12:30:06 +02:00
  • d1882076fe Merge remote-tracking branch 'upstream/master' into make-bootable-on-classic Michael Vogt 2022-09-23 10:38:37 +02:00
  • 7d49848996 Merge pull request #12175 from mvo5/refactor-installhost-writable Michael Vogt 2022-09-23 10:38:14 +02:00
  • 906a9ded21 gadget: rewrite/improve comments Michael Vogt 2022-09-23 10:23:20 +02:00
  • 1d6fbc55d4 Merge pull request #12153 from Meulengracht/feature/boot-flags-factory-reset Michael Vogt 2022-09-23 10:03:44 +02:00
  • 7e9e25c3dd gadget: refactor to allow usage from the installer Michael Vogt 2022-09-22 21:03:54 +02:00
  • aed7f53b1a Added proc/cgroups and proc/sys/vm/swappiness to system_observe interface Mehdi-Bendriss 2022-09-22 23:08:43 +02:00
  • a30d0836b7 Move the unit tests system to 22.04 in github actions workflow Sergio Cazzolato 2022-09-22 17:28:26 -03:00
  • fd7ef7c256 Merge pull request #12157 from sergiocazzolato/tests-skip-quota-tests-on-arm Sergio Cazzolato 2022-09-22 17:27:00 -03:00
  • 2088565044 Update the timezone because cordoba bahaves different in uc18 than in uc20 Sergio Cazzolato 2022-09-22 16:53:17 -03:00
  • b1f484dda5 revert user session change Sergio Cazzolato 2022-09-22 11:54:02 -03:00
  • 4e837c9d4e many: make {Install,Initramfs}{{,Host},Writable}Dir a function Michael Vogt 2022-09-21 17:31:04 +02:00
  • 8b0c38db3a boot,devicestate: fix setting boot.InstallHostWritableDir Michael Vogt 2022-09-20 19:01:47 +02:00
  • eff59386e0 tests: replace boot.InstallHostFDEDataDir with explicit string value Michael Vogt 2022-09-22 12:44:10 +02:00
  • b253550d24 tests: replace boot.InitramfsWritableDir with explicit string value Michael Vogt 2022-09-22 12:35:29 +02:00
  • e401f5dbf8 many: allow to install/update kernels/gadgets on classic with modes Samuele Pedroni 2022-09-22 09:59:26 +02:00
  • f680c4cde4 tests: replace boot.InitramfsHostWritableDir with explicit string value Michael Vogt 2022-09-22 12:27:01 +02:00
  • bf7ced964a boot: replace boot.InstallHostWritableDir with strings Michael Vogt 2022-09-22 11:59:23 +02:00
  • c4012a2f3b boot: rewrite switch in SnapTypeParticipatesInBoot() Alberto Mardegan 2022-09-22 12:26:35 +03:00
  • c1ddca2d23 libsnap-confine-private: use _at() function in cgroup support Alberto Mardegan 2022-09-22 11:26:35 +03:00
  • 6aeec92d10 Merge pull request #12156 from sergiocazzolato/tests-fix-SPREAD_PATH-var Michael Vogt 2022-09-22 09:02:03 +02:00
  • 93397d4dbd scape - in grep Sergio Cazzolato 2022-09-21 16:49:56 -03:00
  • b596cf2e02 Fix the expected date output Sergio Cazzolato 2022-09-21 16:48:01 -03:00
  • 3283362a41 Fix issues related to dbug session and localime in uc18 Sergio Cazzolato 2022-09-21 16:31:52 -03:00
  • 7b37d59869 overlord: start turning restart into a full state manager Samuele Pedroni 2022-09-21 13:33:35 +02:00
  • e4a9f341c0 boot: apply boot logic also for classic with modes boot snaps Samuele Pedroni 2022-09-21 13:32:42 +02:00
  • 0d80185347 daemon/api_users.go Alberto Mardegan 2022-09-21 09:48:50 +03:00
  • 7d1efc1501 cmd/snapd-apparmor: Mock AppArmor parser search path in tests Alex Murray 2022-09-21 15:27:53 +09:30
  • 855550be5b sandbox/apparmor: Export MockParserSearchPath() outside of tests Alex Murray 2022-09-21 15:26:54 +09:30
  • dce92ac73e tests/nightly: Delete superceded security-internal-apparmor test Alex Murray 2022-09-21 11:51:36 +09:30
  • fd767ee5af sandbox/apparmor: Return AppArmorParser() as a exec.Cmd Alex Murray 2022-09-21 11:49:38 +09:30
  • bb7af271bc interfaces/apparmor: Improve readability of snap tuning template name Alex Murray 2022-09-21 11:46:17 +09:30
  • e832daf89e build-aux/snap: Put vendored apparmor/af_names.h into local subdir Alex Murray 2022-09-21 11:45:17 +09:30
  • 30e625bc09 Usa PROJECT_PATH instead of PWD Sergio Cazzolato 2022-09-20 15:13:22 -03:00
  • 52dac52f31 Merge pull request #12159 from sergiocazzolato/tests-fix-debug-snap-env Sergio Cazzolato 2022-09-20 15:10:13 -03:00
  • b3e8a03f74 overlord: start turning restart into a full state manager Samuele Pedroni 2022-09-20 20:05:38 +02:00
  • 6a332b858b snap-bootstrap: fix generateMountsModeRun returns Alfonso Sánchez-Beato 2022-08-30 17:26:52 +01:00
  • 34e4b02198 boot,cmd: make lines longer Alfonso Sánchez-Beato 2022-08-30 09:10:42 +01:00
  • 9d085de76e snap-bootstrap: only check role from gadget Alfonso Sánchez-Beato 2022-08-30 09:09:45 +01:00
  • 1ed969a67b boot: test variable data rootfs Alfonso Sánchez-Beato 2022-08-26 11:00:34 +01:00
  • e2335f84f3 snap-bootstrap: make sure seed matches partition in classic Alfonso Sánchez-Beato 2022-08-26 10:56:25 +01:00
  • 18df2d70e2 boot,cmd: mount ubuntu-seed for classic if present, make rootfs an arg Alfonso Sánchez-Beato 2022-08-23 12:13:24 +01:00
  • 1d0e365911 cmd/snap-bootstrap: changes to be able to boot classic rootfs Alfonso Sánchez-Beato 2022-08-17 17:45:24 +01:00
  • a3a2c22af3 snap-bootstrap: add CVM mode Dimitri John Ledkov 2022-08-30 11:53:51 +01:00
  • 3c7b93c5cc boot: apply boot logic also for classic with modes boot snaps Samuele Pedroni 2022-09-20 17:06:44 +02:00
  • 38d9c8402e Add definition for test-snapd-sh-core{20,22} Sergio Cazzolato 2022-09-20 11:56:44 -03:00
  • 5fa836f990 Remove old comment Sergio Cazzolato 2022-09-20 11:48:17 -03:00
  • c45782e846 many: don't concatenate non-constant format strings Alberto Mardegan 2022-09-20 16:59:26 +03:00
  • bcdf688752 Rewording on error comment Sergio Cazzolato 2022-09-20 10:22:57 -03:00
  • a4ef1c1d98 Fix how snaps are cached in uc22 Sergio Cazzolato 2022-09-20 09:35:33 -03:00
  • 4737dfcc54 fix snap env test on debug section when no var files were created Sergio Cazzolato 2022-09-20 09:00:29 -03:00
  • 6e5e298faf overlord,daemon: allow returning errors when requesting a restart (#12124) alfonsosanchezbeato 2022-09-20 08:34:23 +01:00
  • b1365b17e7 interfaces: login-session-control: add further D-Bus interfaces (#12109) Isaac True 2022-09-20 09:29:40 +02:00
  • 586cd7e04e Merge branch 'master' into feature/ubuntu-save-install-mode Philip Meulengracht 2022-09-20 08:51:33 +02:00
  • b7d47f689f Merge pull request #12126 from AristoChen/master Michael Vogt 2022-09-20 08:40:55 +02:00
  • eadfd167b5 snapdenv: added wsl to userAgent Edu Gómez Escandell 2022-09-20 08:37:11 +02:00
  • 8b09be59f2 image: rename "core20" to "hasModes" (thanks to Alfonso) Michael Vogt 2022-09-19 17:47:06 +02:00
  • 01012487ac Merge pull request #12146 from mvo5/snap-prepare-image-new-classic Michael Vogt 2022-09-19 17:44:06 +02:00
  • 5bde143870 Dsiable quota tests on arm devices using ubuntu core Sergio Cazzolato 2022-09-19 12:06:09 -03:00
  • e4a27610e6 Fix unbound SPREAD_PATH variable on nested debug session Sergio Cazzolato 2022-09-19 09:51:31 -03:00
  • 2cc194008a tests: sign the assertion in prepare-image-classic instead of having a pre-singed one inthe repo Michael Vogt 2022-09-19 12:30:39 +02:00
  • 241d465864 boot: review feedback Philip Meulengracht 2022-09-19 09:54:25 +02:00
  • f04a842a09 overlord,tests: review feedback Philip Meulengracht 2022-09-19 09:28:38 +02:00
  • 039dce9c6e boot: add factory-reset cases for boot-flags. Philip Meulengracht 2022-09-19 08:28:59 +02:00