Commit Graph

  • db819cb1cd add ubuntu-core-upgrader dependency Michael Vogt 2015-04-10 18:19:46 +02:00
  • 60b95d0462 using wrong dirs John R. Lenton 2015-04-10 17:19:19 +01:00
  • e93e966668 * Move AttachedToTerminal() to the helpers package. James Hunt 2015-04-10 15:58:28 +01:00
  • b6f68729ef and another test John R. Lenton 2015-04-10 15:19:01 +01:00
  • 1df624a6d5 added a test John R. Lenton 2015-04-10 15:02:34 +01:00
  • 63563a8ac8 * snappy/systemimage.go: Install(): Only use other's s-i config file if that rootfs is not considered empty. James Hunt 2015-04-10 14:58:33 +01:00
  • 84271c5990 not checkinig an error! also, typo in a comment John R. Lenton 2015-04-10 13:08:24 +01:00
  • 0c4b14d4a8 refresh security bits on framework upgrade John R. Lenton 2015-04-10 13:01:40 +01:00
  • a77160f025 improve whitelist for nested structs Michael Vogt 2015-04-10 13:59:02 +02:00
  • 07701c98e1 fixes John R. Lenton 2015-04-10 11:34:25 +01:00
  • 8550638879 merged lp:snappy and resolved conflicts Michael Vogt 2015-04-10 12:26:43 +02:00
  • 816a4a7aa4 be more consistent and thorough cleaning up on install failure John R. Lenton 2015-04-10 11:11:24 +01:00
  • c94ac52d2b * snappy/systemimage.go: - otherIsEmpty(): New function called by makeOtherPart() to determine if the "other" rootfs should be considered empty. * snappy/systemimage_test.go: Added new test TestOtherIsEmpty(). James Hunt 2015-04-10 10:31:20 +01:00
  • 2b08ee164e Persist hostname setting by sergiusens approved by mvo Sergio Schvezov 2015-04-10 02:41:44 -04:00
  • 37f387c65f Persist hostname setting Sergio Schvezov 2015-04-09 22:40:36 -03:00
  • 88a7748340 Empty values for ubuntu-core's config should not reset states to nil by sergiusens approved by chipaca Sergio Schvezov 2015-04-09 20:11:49 -04:00
  • 7d5520353d Add support for an ubuntu-core/hostame configuration entry by sergiusens approved by chipaca Sergio Schvezov 2015-04-09 20:02:23 -04:00
  • a9de707c20 Adding the oem documentation by sergiusens approved by chipaca Sergio Schvezov 2015-04-09 19:52:07 -04:00
  • 280bb05217 Empty values for ubuntu-core's config should not reset states to nil Sergio Schvezov 2015-04-09 20:47:24 -03:00
  • 910efc97ec Allow setting hostnames with ubuntu-core config Sergio Schvezov 2015-04-09 16:58:44 -03:00
  • 3c2241f2c8 Adding the oem.md Sergio Schvezov 2015-04-09 16:03:41 -03:00
  • 231d58abc8 Firstboot task. by sergiusens approved by mvo,chipaca Sergio Schvezov 2015-04-09 13:41:44 -04:00
  • 08ee02c1a0 * docs/updates.md: Add document explaining transactional updates. James Hunt 2015-04-09 18:11:46 +01:00
  • c25d412632 Remove unused getMapFromYaml function by mvo approved by chipaca Michael Vogt 2015-04-09 10:41:50 -04:00
  • ab6ec65362 Using helpers for stamp check (with minor helper fix: remove extra parens) Sergio Schvezov 2015-04-09 11:04:13 -03:00
  • dad5c4b1bf Review fixes wrt to errors. Sergio Schvezov 2015-04-09 11:02:08 -03:00
  • 18198aa5bf Merging trunk Sergio Schvezov 2015-04-09 10:57:12 -03:00
  • 9c81f01f48 merged trunk John R. Lenton 2015-04-09 14:31:42 +01:00
  • 3a3550763d Check for dependents on framework remove. by chipaca approved by mvo John R. Lenton 2015-04-09 09:21:45 -04:00
  • e19441f4f7 renamed error as per mvo suggestion John R. Lenton 2015-04-09 14:16:37 +01:00
  • 426f6c1e96 Create clickpkg user/group in case it doesn't exist in postinst of ubuntu-snappy-cli by sergiusens approved by mvo Sergio Schvezov 2015-04-09 08:21:56 -04:00
  • 55612dc5a7 helpers.Touch, for touch -c -h functionality. John R. Lenton 2015-04-09 13:09:21 +01:00
  • a4b9b2c4f9 Adding postinst to create system user Sergio Schvezov 2015-04-09 08:38:37 -03:00
  • 2903e0be83 Don't return an error when no oem config is returned Sergio Schvezov 2015-04-09 08:14:42 -03:00
  • 676f0765ec Removing duplicate test code and moving to helpers Sergio Schvezov 2015-04-09 08:01:21 -03:00
  • 98442c7612 Remove stray Println Sergio Schvezov 2015-04-09 07:45:07 -03:00
  • 32ace02950 Logging where relevant Sergio Schvezov 2015-04-09 07:44:27 -03:00
  • d61dfdfb0e dependents, and checking for them on remove John R. Lenton 2015-04-09 10:10:06 +01:00
  • d3fb3d6b4c Give the Parts interface a Frameworks method. by chipaca approved by mvo John R. Lenton 2015-04-09 05:02:05 -04:00
  • 953e2a748e remove spurious makeSnapActive call from test John R. Lenton 2015-04-09 09:57:40 +01:00
  • 6c2ff193e8 remove unused getMapFromYaml() Michael Vogt 2015-04-09 10:56:17 +02:00
  • e296952310 install will now abort if package specifies a framework that is not installed. by chipaca approved by mvo John R. Lenton 2015-04-09 04:41:45 -04:00
  • 032ea7b1c3 Move to "frameworks" in yaml. by chipaca approved by mvo John R. Lenton 2015-04-09 04:21:51 -04:00
  • b9133b136a stamp/firstboot dir handling Sergio Schvezov 2015-04-08 23:34:42 -03:00
  • d26b39e915 Using a nice error var and message for first boot errs Sergio Schvezov 2015-04-08 23:31:24 -03:00
  • 885719020f Add TODO for dealing with fs related corner cases Sergio Schvezov 2015-04-08 18:34:45 -03:00
  • 0d58c39caa Added a "Frameworks" method to the Parts interface John R. Lenton 2015-04-08 22:19:44 +01:00
  • 1259f82504 Mangle da services Sergio Schvezov 2015-04-08 18:17:17 -03:00
  • 3db13f73b3 Merging trunk Sergio Schvezov 2015-04-08 16:40:25 -03:00
  • 2b22eed2f6 You should of been smarter earlier wrt to mocking ;-) Sergio Schvezov 2015-04-08 16:24:25 -03:00
  • efa43ebe6a prompting to install the framework is left as an exercise. John R. Lenton 2015-04-08 19:53:49 +01:00
  • 00bab87c4e don't add the fake ubuntu-core framework other than for click John R. Lenton 2015-04-08 19:21:21 +01:00
  • e4cde21e62 also update doc John R. Lenton 2015-04-08 19:17:57 +01:00
  • ea7bb9e34f move to "frameworks" in yaml John R. Lenton 2015-04-08 19:15:27 +01:00
  • f01d9eeae9 * Drop '--quiet' and probe for a terminal instead. James Hunt 2015-04-08 17:42:34 +01:00
  • ec00b26cd8 Revert use of xz for the package data by sergiusens approved by sergiusens,mvo Sergio Schvezov 2015-04-08 12:21:46 -04:00
  • 28fb67731d nicer comment Sergio Schvezov 2015-04-08 13:11:33 -03:00
  • 70072eff8f Making the code comment a little nicer Sergio Schvezov 2015-04-08 13:05:00 -03:00
  • e436b5d93d Revert xz compression when building. Sergio Schvezov 2015-04-08 13:01:51 -03:00
  • 9142bf9d77 allow writing out empty policy_groups Michael Vogt 2015-04-08 17:06:41 +02:00
  • 02d5e5a364 * Add --quiet option for "snappy [install|remove|update]" to allow the autopilot service to specify it and avoid spamming syslog with download progress. James Hunt 2015-04-08 14:07:53 +01:00
  • 66fb31e493 Don't pass in a nil reporter to installClick for remote parts. by chipaca approved by mvo John R. Lenton 2015-04-08 06:02:07 -04:00
  • f8b190bb9d fixed passing a nil reporter to Install for remote parts John R. Lenton 2015-04-08 10:51:28 +01:00
  • 7bb0192710 Check for name clashes on build and install. by chipaca approved by mvo John R. Lenton 2015-04-08 04:21:44 -04:00
  • 54f031278c Stop prepending bin- to the binary's name in the apparmor profile. by chipaca approved by mvo John R. Lenton 2015-04-08 04:02:12 -04:00
  • 35a629b2e9 Framework policy support. by chipaca approved by mvo,chipaca,jdstrand Michael Vogt 2015-04-08 03:51:52 -04:00
  • ef2985bffd stop mkdir'ing system dirs from tests Michael Vogt 2015-04-08 08:44:56 +01:00
  • 49d6c077f0 fix test failure when /var/lib/snappy/apparmor/policygroups is not available Michael Vogt 2015-04-08 08:50:27 +02:00
  • 1f4bf24452 Provide more information on systemctl errors. by sergiusens approved by mvo Sergio Schvezov 2015-04-08 02:42:05 -04:00
  • ae581a5e42 Refactor binaries exec: line handling into parsePackageYaml Michael Vogt 2015-04-08 08:30:19 +02:00
  • c0cc5ed524 Move systemd logic to a new package and add logic for service stopping. by chipaca approved by sergiusens John R. Lenton 2015-04-07 23:51:39 -04:00
  • fed71c7978 Adding a simple error test Sergio Schvezov 2015-04-08 00:37:57 -03:00
  • 94befdd531 Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-07 23:30:04 +01:00
  • c48049e9a1 Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-07 23:29:59 +01:00
  • 0ffa61110b Fix unit starting after regression in r311 by mvo approved by sergiusens Michael Vogt 2015-04-07 17:12:04 -04:00
  • a39f6a65d3 Improved error reporting for systemctl errors Sergio Schvezov 2015-04-07 18:10:24 -03:00
  • 27aa53f68e snappy/click.go: remove Requires=ubuntu-snappy.run-hooks.service to prevent jobs from starting Michael Vogt 2015-04-07 22:38:47 +02:00
  • 346dc91f96 fixed things found by mvo in review John R. Lenton 2015-04-07 20:02:37 +01:00
  • 8e40834dcf Fix gccgo FTBFS (lp: #1440757) by mvo approved by chipaca Michael Vogt 2015-04-07 14:32:05 -04:00
  • 0f21d99cb7 make build and install check for name clashes John R. Lenton 2015-04-07 18:20:47 +01:00
  • 95b13b52cd stop prepending bin- to binaries in the apparmor John R. Lenton 2015-04-07 17:22:08 +01:00
  • 903f0024f0 s/suffix/prefix/ John R. Lenton 2015-04-07 16:57:29 +01:00
  • b3dd516300 fixed issues found in review John R. Lenton 2015-04-07 16:56:12 +01:00
  • 3643163814 Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-07 16:44:24 +01:00
  • f82f765941 Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-07 16:44:20 +01:00
  • ff6a522253 Add a Notify(..) call to progress.Meter by chipaca approved by sergiusens,mvo John R. Lenton 2015-04-07 11:21:54 -04:00
  • 675af4066e Merging trunk Sergio Schvezov 2015-04-07 12:12:57 -03:00
  • a98a978b37 Fix empty output from snappy install when no package is found. by jamesodhunt approved by mvo James Hunt 2015-04-07 10:42:01 -04:00
  • 21e7cf0449 Adding some tests and tuning Sergio Schvezov 2015-04-07 11:19:53 -03:00
  • 8e4c78062c make Stop take a progress bar; pass it one from Remove John R. Lenton 2015-04-07 14:50:22 +01:00
  • d414bf1ba9 Fix circular dependency in ubuntu-snappy.run-hooks.service by mvo approved by mvo,pitti Michael Vogt 2015-04-07 09:11:49 -04:00
  • fdc49f5e3c update tests for the new systemd service files Michael Vogt 2015-04-07 15:07:52 +02:00
  • d6681543a0 Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-07 13:33:40 +01:00
  • 26d6a28de8 Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-07 13:33:40 +01:00
  • 93944a5eae Merged progress-package into progress-status. John R. Lenton 2015-04-07 13:33:39 +01:00
  • 1f15426ce0 Move progress to its own package. by chipaca approved by mvo,sergiusens John R. Lenton 2015-04-07 08:32:17 -04:00
  • 78bfd9a053 Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-07 13:31:46 +01:00
  • 1a6b2e0a3b Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-07 13:31:45 +01:00
  • 49fa7c4e91 Merged progress-package into progress-status. John R. Lenton 2015-04-07 13:31:45 +01:00
  • d296d048fb Merged gc-remove into progress-package. John R. Lenton 2015-04-07 13:31:40 +01:00