Commit Graph

  • 224314868e Fix ExecStart in the firstboot unit Sergio Schvezov 2015-04-07 09:30:40 -03:00
  • e86eff1c7e Do GC on remove. by chipaca approved by sergiusens John R. Lenton 2015-04-07 08:21:58 -04:00
  • 90756e4634 avoid using packageYaml in generateSnapServicesFile Template to fix FTBFS on gccgo Michael Vogt 2015-04-07 14:14:24 +02:00
  • 3b1ce75401 Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-07 13:09:45 +01:00
  • 0c0d3657d1 Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-07 13:09:44 +01:00
  • 03dd213e62 Merged progress-package into progress-status. John R. Lenton 2015-04-07 13:09:44 +01:00
  • 4894e15a6f Merged gc-remove into progress-package. John R. Lenton 2015-04-07 13:09:43 +01:00
  • 8cd15f83a1 merged lp:snappy John R. Lenton 2015-04-07 13:08:55 +01:00
  • 2d0d646083 s/status/notify/ as per a very good suggestion from Sergio John R. Lenton 2015-04-07 12:43:27 +01:00
  • 3df6b53322 Updating store id location in oem package by sergiusens approved by mvo Sergio Schvezov 2015-04-07 05:31:56 -04:00
  • b718b0d5de Fix permissions of auto-generated .service files. by jamesodhunt approved by sergiusens James Hunt 2015-04-07 05:21:57 -04:00
  • 35bed389ed rework how ubuntu-snappy.run-hooks.service works to avoid circular dependencies (LP: 1440978). Thanks to Martin Pitt Michael Vogt 2015-04-07 09:17:07 +02:00
  • 8e40540108 Garbage collect on update. by chipaca approved by sergiusens John R. Lenton 2015-04-06 21:22:16 -04:00
  • 21498a593d Make it serviceable Sergio Schvezov 2015-04-06 21:08:05 -03:00
  • 56255d99e1 OEM configs are sane by default Sergio Schvezov 2015-04-06 16:20:37 -03:00
  • b115e1e25d Merged systemd-hook-spinwait into framework-policy. John R. Lenton 2015-04-03 01:04:19 +01:00
  • c18391d03c Merged progress-status into systemd-hook-spinwait. John R. Lenton 2015-04-03 01:02:38 +01:00
  • 7f75ff88b4 Add a Status() call to progress.Meter John R. Lenton 2015-04-03 00:51:25 +01:00
  • 365363b5ee move progress to its own package John R. Lenton 2015-04-03 00:42:34 +01:00
  • f073cd2f68 drop the confusing Rx suffix John R. Lenton 2015-04-03 00:15:10 +01:00
  • 176a91a780 moved enable into the !inhibitHooks guard, as per conversation with sergio John R. Lenton 2015-04-03 00:08:23 +01:00
  • c1c7795877 renamed systemctl to systemd John R. Lenton 2015-04-02 23:57:40 +01:00
  • 3e09f97678 hark! a refactoring! John R. Lenton 2015-04-02 21:43:32 +01:00
  • fa02c8a21e moved policy to its own package; incorporated fixes via jdstrand John R. Lenton 2015-04-02 21:30:49 +01:00
  • 803b5cbbd9 Small updates to the namespaces doc Martin Albisetti 2015-04-02 17:23:02 -03:00
  • 7907b30329 a no-tests framework policy thing. John R. Lenton 2015-04-02 16:27:33 +01:00
  • ed504417ba Start package names spec\ Martin Albisetti 2015-04-02 11:27:57 -03:00
  • 4c9f571f5e * cmd/snappy/cmd_install.go: Execute(): Don't clobber pkgName if package not found. James Hunt 2015-04-02 09:21:02 +01:00
  • fa0ad594c4 Updating store id location in oem package Sergio Schvezov 2015-04-01 20:45:23 -03:00
  • b09ec1631d vet fix Sergio Schvezov 2015-04-01 18:58:45 -03:00
  • be5bdf4498 docs/frameworks.md: fix incomplete edit for frameworks not requiring package name Jamie Strandboge 2015-04-01 16:53:16 -05:00
  • bb535b176b Adding an initial first boot config Sergio Schvezov 2015-04-01 18:48:19 -03:00
  • 2b0e80eaad refactored as per sergio's suggestions John R. Lenton 2015-04-01 18:58:54 +01:00
  • a9ced6d781 move systemctl to its own thing, make stop wait for the service to have stopped John R. Lenton 2015-04-01 18:23:54 +01:00
  • 8d80c90529 Use the installed packaname instead of the one passed in the arguments to configure packages by sergiusens approved by chipaca,sergiusens,mfrey Sergio Schvezov 2015-04-01 11:11:48 -04:00
  • dab9f02d89 Allow local package install with a config Sergio Schvezov 2015-04-01 11:35:13 -03:00
  • 86ab290406 first pass at remove gc John R. Lenton 2015-04-01 14:47:50 +01:00
  • 97b5b562c3 Merged gc-install into gc-update. John R. Lenton 2015-04-01 13:48:12 +01:00
  • e0eb6d1f0c Do garbage collection on install. by chipaca approved by sergiusens John R. Lenton 2015-04-01 08:32:05 -04:00
  • 4d7c286d2b really final edits to garbage.md John R. Lenton 2015-04-01 13:16:35 +01:00
  • 63e6bb53e6 nuked --include-removed John R. Lenton 2015-04-01 12:19:42 +01:00
  • b4cf09346a merged gc-install into gc-update John R. Lenton 2015-04-01 11:49:47 +01:00
  • a5d30e0cc1 final tweaks to garbage.md (for now at least). John R. Lenton 2015-04-01 11:35:21 +01:00
  • ccd04dd6cf fix issues pointed out by sergio John R. Lenton 2015-04-01 11:08:36 +01:00
  • 89ebdafb1f changes to garbage.md as suggested by review John R. Lenton 2015-04-01 11:01:23 +01:00
  • 6a195816ff Merged gc-install into gc-update. John R. Lenton 2015-04-01 10:20:41 +01:00
  • 000cd6a859 Merged name-from-installClick into gc-install. John R. Lenton 2015-04-01 10:20:41 +01:00
  • d64bbef389 merged trunk John R. Lenton 2015-04-01 10:20:35 +01:00
  • 2febc417ab a minimal implementation of gc-on-update John R. Lenton 2015-04-01 10:07:59 +01:00
  • 5a6e2018f8 * Ensure generated service files are created with perms 0644, not 0755. James Hunt 2015-04-01 09:02:25 +01:00
  • e19a3c70d3 New "internal-run-hooks" command and a systemd unit that run this on boot. by mvo approved by sergiusens Michael Vogt 2015-03-31 23:11:44 -04:00
  • f146f9fec9 Add TMPDIR and SNAP_APP_TMPDIR for services. by mvo approved by sergiusens Michael Vogt 2015-03-31 22:41:44 -04:00
  • 8eee706278 Add tests for uid reader and fix a bug for the same prefix by mvo approved by sergiusens Michael Vogt 2015-03-31 20:02:10 -04:00
  • b594fb4c01 Implements the new security yaml features: caps, security-policy, security-template, security-override as defined docs/security.md by mvo approved by jdstrand Michael Vogt 2015-03-31 17:31:48 -04:00
  • e3db1a1fd7 docs/security.md: - various minor clarifications - document upcoming 'snappy-security' tool Jamie Strandboge 2015-03-31 16:16:39 -05:00
  • f7c816914c refactors installClick to return the name of the package it installed. by chipaca approved by sergiusens John R. Lenton 2015-03-31 17:01:55 -04:00
  • afc3f3cc53 docs/frameworks.md: frameworks must not depend on other frameworks by jdstrand approved by mvo Jamie Strandboge 2015-03-31 16:41:42 -04:00
  • 482c3e6880 docs/frameworks.md: frameworks can't depend on other frameworks Jamie Strandboge 2015-03-31 14:54:51 -05:00
  • 044b790436 couple clarifications based on feedback Jamie Strandboge 2015-03-31 14:33:57 -05:00
  • 61e9bf606e fix tests Michael Vogt 2015-03-31 21:24:49 +02:00
  • 166e4a5744 snappy/apparmor.go: fix typo (policy->profile) Michael Vogt 2015-03-31 21:22:07 +02:00
  • 54b197bf3c address review comments Michael Vogt 2015-03-31 20:58:03 +02:00
  • 01d24b6673 merged changes from up-pipe John R. Lenton 2015-03-31 19:55:21 +01:00
  • 5cab2e4f2a address review comments Michael Vogt 2015-03-31 20:47:41 +02:00
  • 948c775bc4 merged trunk John R. Lenton 2015-03-31 19:47:35 +01:00
  • 6cd83dffb1 bubble the name out even further, for Sergio. John R. Lenton 2015-03-31 19:37:48 +01:00
  • 6f1a9f4f74 snappy/apparmor.go: add comment about defaults Michael Vogt 2015-03-31 20:36:50 +02:00
  • 29e350a763 docs/security.md: - various clarifications - document upcoming 'snappy-security' tool Jamie Strandboge 2015-03-31 13:25:50 -05:00
  • 0dd86027d2 added a bit more tests, updated docs, exposed to cli. John R. Lenton 2015-03-31 19:25:46 +01:00
  • 1d454e9ae0 Add missing copyright headers by mvo approved by sergiusens Michael Vogt 2015-03-31 12:53:12 -04:00
  • 5a509525a7 README.md tweak for building. by mvo approved by sergiusens Michael Vogt 2015-03-31 12:51:45 -04:00
  • f18127f9fd * fallback to seccomp_rule_add() if seccomp_rule_add_exact() fails * call prctl(PR_SET_NO_NEW_PRIVS, 1) Michael Vogt 2015-03-31 17:53:05 +02:00
  • 6cde6cf097 small README.md tweak, if you just run "go build launchpad.net/snappy/cmd/snappy" in the the snappy checkout dir you get a error message Michael Vogt 2015-03-31 17:45:00 +02:00
  • a7c5af01e8 missing bzr add *d'oh* Michael Vogt 2015-03-31 17:28:03 +02:00
  • 2b84763c27 add test and fix prefix collision bug Michael Vogt 2015-03-31 16:38:57 +02:00
  • 2349b896ed add missing copyright headers Michael Vogt 2015-03-31 16:12:52 +02:00
  • abb027a10a Add/enable xz compression by calling "xz --compress --stdout" by mvo approved by mvo,chipaca Michael Vogt 2015-03-31 10:02:05 -04:00
  • a7f5fd4b26 unexport newXZPipeWriter Michael Vogt 2015-03-31 15:59:23 +02:00
  • 4a0f1fe8f9 * Change comments on permissible values of snappy_mode to reflect reality (LP: #1438650). by jamesodhunt approved by mvo James Hunt 2015-03-31 09:31:56 -04:00
  • 7bc263f779 * Removed last reference to bogus snappy_mode 'regular' value. * Updated some other comments. James Hunt 2015-03-31 13:56:56 +01:00
  • 82d89b9da7 export TMPDIR/SNAP_APP_TMPDIR in systemd unit Michael Vogt 2015-03-31 14:43:11 +02:00
  • bdce2e7807 * Change comments on permissible values of snappy_mode to reflect reality (LP: #1438650). James Hunt 2015-03-31 13:16:51 +01:00
  • 5705a7a7c4 Handle unhandled error when unpacking by sergiusens approved by mvo Sergio Schvezov 2015-03-31 08:11:48 -04:00
  • 55d988df8c Handle unhandled error Sergio Schvezov 2015-03-31 08:59:21 -03:00
  • dedbc1c8e5 first pass at gc for install John R. Lenton 2015-03-31 12:56:00 +01:00
  • c9906e2207 make installClick return the name of the package it installs John R. Lenton 2015-03-31 12:48:05 +01:00
  • 59705065d2 Fixes for grub failover handling, provision from u-d-f and tests. by jamesodhunt approved by mvo James Hunt 2015-03-31 07:41:43 -04:00
  • e4343aacfc Take into account alternate roots when unpacking by sergiusens approved by chipaca Sergio Schvezov 2015-03-31 07:21:46 -04:00
  • 8737ea036e * Sync with lp:snappy. James Hunt 2015-03-31 11:43:47 +01:00
  • 76a586443a * etc/grub.d/09_snappy: handle_menu_entry(): don't quote $list to ensure the list gets expanded. James Hunt 2015-03-31 11:42:57 +01:00
  • e4568e9f2b * etc/grub.d/09_snappy: - Handle provisioning scenario where potentially only a single rootfs is provisioned. James Hunt 2015-03-31 11:42:27 +01:00
  • 9239ffc401 * etc/grub.d/09_snappy: - Formatting and comments. - Renamed "snappy_stamp" variable to "snappy_trial_boot" to be more descriptive. * partition/bootloader_grub.go: - MarkCurrentBootSuccessful(): Unset the variable rather than just changing its value (cleaner). * partition/bootloader_grub_test.go: Tests updated for new behaviour. James Hunt 2015-03-31 11:41:47 +01:00
  • d259b83eec clickdeb/deb.go: close read end of the pipe so that xz gets always a EOF Michael Vogt 2015-03-31 12:22:50 +02:00
  • ec074a68f0 Allow specifying a different output directory when building by sergiusens approved by mvo Sergio Schvezov 2015-03-31 06:21:41 -04:00
  • d3d491f467 clickdeb/deb.go: start is already async, thanks John! Michael Vogt 2015-03-31 12:17:34 +02:00
  • 9a26e1e482 Updating the tests Sergio Schvezov 2015-03-31 07:04:26 -03:00
  • 0cc5abaeae rename _low_level_ -> _internal_ Michael Vogt 2015-03-31 11:33:57 +02:00
  • 615d58d1b9 add snappy internal-run-hooks command Michael Vogt 2015-03-31 11:23:14 +02:00
  • d9795706da Provide a better help message for the build command. by sergiusens approved by mvo Sergio Schvezov 2015-03-31 04:31:52 -04:00
  • 15ecfb79c7 * partition/bootloader_uboot_test.go: - TestUbootMarkCurrentBootSuccessful(): Add comments to clarify what the test is trying to simulate. James Hunt 2015-03-31 09:24:30 +01:00