Commit Graph

  • 44c17fc9d8 send snappyStoreUbuntuRelease Michael Vogt 2015-04-14 14:19:07 -05:00
  • d307cc40fe Deal with the "other" partition being considered "empty". by jamesodhunt approved by chipaca James Hunt 2015-04-14 15:12:00 -04:00
  • d380155b70 Stop chowning the snapfile. by chipaca approved by mvo John R. Lenton 2015-04-14 14:32:15 -04:00
  • 6cf0557f68 lintian fixes Michael Vogt 2015-04-14 13:14:39 -05:00
  • 6fe7689eaf Merged policy-delta into apparmor-selective-regen. John R. Lenton 2015-04-14 11:46:57 -05:00
  • 0a3993494f Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-14 11:44:02 -05:00
  • 5b4fcbf619 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-14 11:43:58 -05:00
  • 9e8ce1caba A cmp implementation. by chipaca approved by mvo John R. Lenton 2015-04-14 12:41:57 -04:00
  • 3a8839e45c rename snappy/apparmor*.go to snappy/security*.go snappy/security.go: rename getAaProfile to getSecurityProfile snappy/click.go: add stub files for adding security policy in install and remove Jamie Dev 2015-04-14 11:24:20 -05:00
  • cc2925183d create the systemd enable symlink manually instead of via systemctl enable to ensure that it works on systems without systemd (for u-d-f) Michael Vogt 2015-04-14 10:57:34 -05:00
  • bd529892b7 refresh security bits on framework upgrade by chipaca approved by sergiusens John R. Lenton 2015-04-14 11:41:55 -04:00
  • 536e1b4a51 a comment John R. Lenton 2015-04-14 10:33:59 -05:00
  • 06f852c931 created and used ErrInstalledNonSnapPart; added a newline John R. Lenton 2015-04-14 10:21:37 -05:00
  • f183758a4f added comments to NeedsAppArmorUpdate John R. Lenton 2015-04-14 09:55:38 -05:00
  • 18958165cc Merged policy-delta into apparmor-selective-regen. John R. Lenton 2015-04-14 09:35:28 -05:00
  • 1512eaf2e5 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-14 08:58:30 -05:00
  • 7b5c51f7b4 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-14 08:58:29 -05:00
  • 3c34b4da3c Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-14 08:58:28 -05:00
  • 4057510ee0 Merged systemd-restart into apparmor-policy-regen-on-part-updates. John R. Lenton 2015-04-14 08:58:20 -05:00
  • e444309ebf Add systemd.Restart. by chipaca approved by mvo John R. Lenton 2015-04-14 09:42:11 -04:00
  • 038d300932 Parse Service.StopTimeout into a Timeout type. by chipaca approved by sergiusens John R. Lenton 2015-04-14 09:32:15 -04:00
  • 2944dc255a made a loop a little tighter John R. Lenton 2015-04-14 08:25:04 -05:00
  • 8dad759c25 Be more consistent and thorough cleaning up on install failure. by chipaca approved by sergiusens John R. Lenton 2015-04-14 00:42:17 -04:00
  • 59fc4165b7 more of same John R. Lenton 2015-04-13 23:28:23 -05:00
  • 8606353f48 some refactoring by kind sugestion of a certain room-mate John R. Lenton 2015-04-13 23:17:57 -05:00
  • a509097734 make apparmor regen more selective John R. Lenton 2015-04-13 18:14:03 -05:00
  • 9f08c233a4 Added helpers.Touch, for touch -c -h functionality. by chipaca approved by sergiusens John R. Lenton 2015-04-13 18:53:40 -04:00
  • d07b74f792 Refactor Install to take a progress.Meter by sergiusens approved by chipaca Sergio Schvezov 2015-04-13 18:52:08 -04:00
  • f77e73ea93 Removing panic Sergio Schvezov 2015-04-13 17:39:43 -05:00
  • 6cda821b8e typo John R. Lenton 2015-04-13 17:27:20 -05:00
  • 059fd09201 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-13 17:22:22 -05:00
  • b6bb174864 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 17:22:22 -05:00
  • 6dc943c3b8 Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-13 17:22:21 -05:00
  • 2d4433ba29 Merged systemd-restart into apparmor-policy-regen-on-part-updates. John R. Lenton 2015-04-13 17:22:21 -05:00
  • f4a8b82dc6 Merged stoptimeout-type into systemd-restart. John R. Lenton 2015-04-13 17:22:20 -05:00
  • d5f914b395 forgot to bzr add John R. Lenton 2015-04-13 17:20:58 -05:00
  • 837886eb68 tests for timeouts John R. Lenton 2015-04-13 17:17:39 -05:00
  • 346544082a * snappy/systemimage.go: - Added brief explanations of systemImageChannelConfig and systemImageClientConfig. - Install(): Highlighted distinction between systemImageChannelConfig and systemImageClientConfig to make it clearer that two different files are being considered. - isOtherEmpty(): Lots more comments. James Hunt 2015-04-13 23:11:05 +01:00
  • 49974edc8b Renaming variables Sergio Schvezov 2015-04-13 17:07:37 -05:00
  • 201f45c1a4 Refactoring install to take a progress.Meter from the exported function. Sergio Schvezov 2015-04-13 17:00:23 -05:00
  • f63351c8c3 restart John R. Lenton 2015-04-13 16:56:17 -05:00
  • a3cc9f461b merged lp:snappy and resolved conflicts Michael Vogt 2015-04-13 16:54:08 -05:00
  • 2d0acf3b1c Restart snuck in by error John R. Lenton 2015-04-13 16:46:11 -05:00
  • 04a52e10a1 split the tests John R. Lenton 2015-04-13 16:40:03 -05:00
  • 9bf07f6701 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-13 16:32:12 -05:00
  • 208c5396f7 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 16:32:12 -05:00
  • 11df98be54 Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-13 16:32:08 -05:00
  • 6216c89f2f merged lp:snappy Michael Vogt 2015-04-13 17:11:26 -04:00
  • ba1102303a merged lp:snappy Michael Vogt 2015-04-13 17:08:26 -04:00
  • 12abe0e4cd close things you open John R. Lenton 2015-04-13 16:00:38 -05:00
  • 0e41995425 removed ClickDeb.Path John R. Lenton 2015-04-13 15:58:56 -05:00
  • eaba784ac7 Disallow reinstall by default. by chipaca approved by sergiusens,mvo John R. Lenton 2015-04-13 16:52:12 -04:00
  • 63a32e5a40 * snappy/systemimage.go: Replaced ubuntu-core-upgrader marker logic, (used to determine if the "other" rootfs should be considered empty) with logic to check for a zero-sized s-i config file (signifying a failed upgrade on a previous boot). * snappy/systemimage_test.go: TestOtherIsEmpty(): Updated to check new logic. James Hunt 2015-04-13 21:14:59 +01:00
  • dec02e6523 restart services when aa profiles touched John R. Lenton 2015-04-13 14:58:29 -05:00
  • 79a7c9db4d * Sync with lp:snappy. James Hunt 2015-04-13 20:57:54 +01:00
  • b06fbc2f6c When consuming local snappy parts, check whether the name is a regular file. by hamo approved by mvo Yang Bai 2015-04-13 15:52:08 -04:00
  • 16425690c6 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-13 14:36:06 -05:00
  • f22d39767c Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 14:36:05 -05:00
  • 51fc67e307 Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-13 14:36:05 -05:00
  • 8808fdba1b Merged stoptimeout-type into apparmor-policy-regen-on-part-updates. John R. Lenton 2015-04-13 14:36:04 -05:00
  • 18b9c6aafb make StopTimeout a time.Duration (more or less) John R. Lenton 2015-04-13 14:32:20 -05:00
  • 02cdc8a98c When consuming local snappy parts, check whether the name is a regular file Yang Bai 2015-04-14 03:06:28 +08:00
  • 9626813229 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-13 12:06:48 -05:00
  • 19249d787d Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 12:06:47 -05:00
  • 242bc2fa27 Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-13 12:06:47 -05:00
  • 3228ad640f Touch is now UpdateTimestamp; renaming things as appropriate John R. Lenton 2015-04-13 12:06:29 -05:00
  • cb9e049a12 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-13 12:01:39 -05:00
  • e862b8c866 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 12:01:39 -05:00
  • 01827c6e6e Merged apparmor-policy-regen-on-part-updates into cmp. John R. Lenton 2015-04-13 12:01:38 -05:00
  • 28d0650b9e Merged more-install-cleanup into apparmor-policy-regen-on-part-updates. John R. Lenton 2015-04-13 12:01:38 -05:00
  • dd4b69deaa Merged touch into more-install-cleanup. John R. Lenton 2015-04-13 12:01:37 -05:00
  • 61b2652cec renamed helpers.Touch to helpers.UpdateTimestamp John R. Lenton 2015-04-13 12:00:53 -05:00
  • de9c42f709 AppArmorDelta John R. Lenton 2015-04-13 11:47:49 -05:00
  • 7e2ca774a2 Update dependency for the new forked system-image-snappy dependency. by mvo approved by chipaca Michael Vogt 2015-04-13 12:42:12 -04:00
  • c4248867ae debian/control: new dependency on system-image-snappy-cli Michael Vogt 2015-04-13 12:13:55 -04:00
  • 46c2c96ca4 Fixed API names so InstalledSnapsByType() becomes ActiveSnapsByType(), which is more correct. Ditto for InstalledSnapNamesByType. by chipaca approved by mvo John R. Lenton 2015-04-13 11:22:08 -04:00
  • 9b5aa40f17 Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-13 10:20:39 -05:00
  • 879275a75e trying to make it a little easier to read John R. Lenton 2015-04-13 10:16:49 -05:00
  • 3b77c17451 oops, leftover import John R. Lenton 2015-04-13 09:52:58 -05:00
  • a7ce4d018b nuked the superset error John R. Lenton 2015-04-13 09:51:27 -05:00
  • dcac30460d drop the superset requirement John R. Lenton 2015-04-13 09:49:38 -05:00
  • e6523a77bb suddenly realised i needed prefixes John R. Lenton 2015-04-13 09:36:35 -05:00
  • 5118680b21 use PkgPath to detect what element in a struct is exported Michael Vogt 2015-04-13 10:28:30 -04:00
  • fbcc96537c rename installedSnap{Names,s} to active* John R. Lenton 2015-04-12 22:48:11 -05:00
  • c70145384b moved the license checking code out to a method of packageYaml John R. Lenton 2015-04-12 22:19:26 -05:00
  • a5de0216ed Merged cmp into is-superset-dir-updated. John R. Lenton 2015-04-12 21:58:45 -05:00
  • d090482816 split a long if, and explained it a bit John R. Lenton 2015-04-12 21:58:25 -05:00
  • e11d0c339d expanded the names of variables in SupersetDirUpdated, for great clarity John R. Lenton 2015-04-12 21:46:11 -05:00
  • 3593a98ae3 bye bye AllowReinstall, I never really liked you anyway. John R. Lenton 2015-04-12 21:35:57 -05:00
  • e7ceddbae9 for unpackAndDropPrivs, open the snap before dropping privs John R. Lenton 2015-04-12 17:49:45 -05:00
  • ff6243dd63 adjust policy vendor to be "ubuntu-core" and policy version to be 15.04 Jamie Strandboge 2015-04-12 11:36:15 -05:00
  • 240065e1c3 disallow reinstall by default John R. Lenton 2015-04-12 01:20:36 +01:00
  • 9adea6b1a9 stop chowning the snap John R. Lenton 2015-04-12 00:14:26 +01:00
  • 3fae7c790b don't ask for license confirmation again and again and John R. Lenton 2015-04-11 23:58:40 +01:00
  • 90cdaa9f03 another api change: build a map, not a list John R. Lenton 2015-04-11 13:33:44 +01:00
  • 5632936712 api change: question is now “which files in this directory, which is a superset of that directory, contain updates for the files that exist in that directory?” John R. Lenton 2015-04-11 13:30:35 +01:00
  • 7eacb952b0 does this directory, which is a superset of that directory, contain updates for the files that exist in that directory? John R. Lenton 2015-04-11 13:07:27 +01:00
  • 312080746d make lint happy John R. Lenton 2015-04-11 13:01:05 +01:00
  • f13a68513b a cmp implementation John R. Lenton 2015-04-10 18:41:22 +01:00
  • 759f2156fb Add a explicit dependency to ubuntu-core-upgrader to ensure that its still on the image once the old snappy is gone. by mvo approved by chipaca Michael Vogt 2015-04-10 12:32:03 -04:00