Commit Graph

  • 56cd72834e nuke loggo dependencies John R. Lenton 2015-05-08 20:42:00 +01:00
  • c4ac9e7f8f log command failures John R. Lenton 2015-05-08 18:30:18 +01:00
  • 842af3e6da oops, forgot an import John R. Lenton 2015-05-08 18:29:49 +01:00
  • 918e2660df die, log, die John R. Lenton 2015-05-08 18:20:30 +01:00
  • 394dec4a73 clean up imports, typos John R. Lenton 2015-05-08 18:06:08 +01:00
  • bf1e87d9bd new, simpler? logger John R. Lenton 2015-05-08 18:02:45 +01:00
  • 048093f632 fixes to apparmor profile as per jdstrand John R. Lenton 2015-05-08 17:50:56 +01:00
  • 4b7355b2f9 get rid of LogError John R. Lenton 2015-05-08 17:07:35 +01:00
  • 7600793cd6 Make all cmd_ handle init errors similarly. Also drive-by fix for makedev. by chipaca approved by mvo John R. Lenton 2015-05-08 11:32:06 -04:00
  • 9b13ae43bc make all cmds look about the same. Also drive-by fix to makedev. John R. Lenton 2015-05-08 14:41:11 +01:00
  • e34680316e aslo commented on MS_ vars John R. Lenton 2015-05-08 11:05:48 +01:00
  • 49a2702d5a "are require" indeed John R. Lenton 2015-05-08 10:44:50 +01:00
  • cb5944e4ec made a comment about kernel and libc versions John R. Lenton 2015-05-08 10:40:24 +01:00
  • 8b1f5f1b21 Add support for symlinks in snappy build (i.e. copyToBuildDir()). by chipaca approved by sergiusens Michael Vogt 2015-05-07 18:02:24 -04:00
  • b97ef15f2b Merged lp:~mvo/snappy/snappy-15.05-fix-snappy-build-symlink-support and resolved conflicts. Michael Vogt 2015-05-07 22:50:30 +01:00
  • 86abef37fa Backport disablement of review tools by sergiusens approved by chipaca Sergio Schvezov 2015-05-07 17:23:13 -04:00
  • 30de7f80d6 Add support for adding devices in snappy build. by chipaca approved by sergiusens John R. Lenton 2015-05-07 17:12:01 -04:00
  • 8695c392a9 cosmetic spaaaaaaace John R. Lenton 2015-05-07 21:37:05 +01:00
  • 1927a5cc67 Backporting revno 448 from trunk Sergio Schvezov 2015-05-07 16:47:29 -03:00
  • 17d8422f27 better error on special file copy failure John R. Lenton 2015-05-07 20:37:44 +01:00
  • 91b73a6089 Disabling review tools by sergiusens approved by chipaca Sergio Schvezov 2015-05-07 15:22:07 -04:00
  • 7dc3f266dd Add support for adding devices in snappy build. Michael Vogt 2015-05-07 19:40:12 +01:00
  • 609eae0620 Disabling review tools Sergio Schvezov 2015-05-07 14:09:24 -03:00
  • 890c46181f Add support for symlinks in snappy build (i.e. copyToBuildDir()) by mvo approved by chipaca Michael Vogt 2015-05-07 12:51:47 -04:00
  • 8cce5e57fb Add support for unpacking device files in a tar. by mvo approved by mvo,chipaca Michael Vogt 2015-05-07 12:32:22 -04:00
  • d8eae938e0 snappy/build.go: fix test failure Michael Vogt 2015-05-07 18:27:46 +02:00
  • d9e14bd507 merged lp:snappy Michael Vogt 2015-05-07 18:24:42 +02:00
  • b9bfb78afe Do not apply users umask on snappy build. by mvo approved by chipaca Michael Vogt 2015-05-07 11:21:25 -04:00
  • 5b7aa79cab merged lp:~mvo/snappy/meta-cleanup (tarmac crashes here) Michael Vogt 2015-05-07 17:19:05 +02:00
  • 9e9d47a840 address review comments from John and refactor and add more tests to do that Michael Vogt 2015-05-07 15:13:13 +02:00
  • 119d511bff unset umask() to fix build permissions Michael Vogt 2015-05-07 12:34:05 +02:00
  • 5f2e51f40c Setup proper SnapType's from the store by sergiusens approved by mvo Sergio Schvezov 2015-05-07 06:32:14 -04:00
  • 1e1b08eaa8 drive-by cleanup to remove duplicated code Michael Vogt 2015-05-07 11:23:27 +02:00
  • 4bb9a1b3a3 merged lp:~mvo/snappy/snappy-15.05-fix-snappy-build-symlink-support Michael Vogt 2015-05-07 10:54:34 +02:00
  • d0f64b2209 add support for symlinks in copyToBuildDir() Michael Vogt 2015-05-07 10:28:03 +02:00
  • c778133eb5 support device files on unpack Michael Vogt 2015-05-07 09:46:32 +02:00
  • 4cc86391d3 address review comments from John, many thanks! Michael Vogt 2015-05-07 08:38:11 +02:00
  • 3adc36f4c8 Add support for char/block devices in hashes.yaml by mvo approved by chipaca Michael Vogt 2015-05-07 02:12:05 -04:00
  • 06e16f4a53 adding unit tests Sergio Schvezov 2015-05-06 20:26:40 -03:00
  • 8e022314bb Setup proper SnapType's from the store Sergio Schvezov 2015-05-06 20:02:45 -03:00
  • f0bde306cf add support for mknod on unpack Michael Vogt 2015-05-06 17:14:17 +02:00
  • ff7261c971 Refactor the progress interface to not take a pkgname in New() by mvo approved by chipaca Michael Vogt 2015-05-06 10:02:21 -04:00
  • a3d8a4fa92 move MajorMinor into its own helper to use it in pack/unpack Michael Vogt 2015-05-06 15:04:11 +02:00
  • dde55f9835 move pkgname out of progress interface and move it into "Start()" Michael Vogt 2015-05-06 14:26:38 +02:00
  • 9975fc552a move setup_private_mount to the right place John R. Lenton 2015-05-06 12:51:28 +01:00
  • 6e6f523055 use pointers Michael Vogt 2015-05-06 13:44:20 +02:00
  • a4e07aec76 hashes.yaml: add "device: $major,$minor" for device nodes Michael Vogt 2015-05-06 13:34:40 +02:00
  • b20f87058e have a private /tmp, bound mount from SNAP_APP_TMPDIR John R. Lenton 2015-05-06 12:26:07 +01:00
  • 5c97dbbe59 add support for block/char into hashes.yaml Michael Vogt 2015-05-06 12:22:55 +02:00
  • 3cd55d0d6b Expose description for local snaps. by chipaca approved by sergiusens John R. Lenton 2015-05-05 19:41:55 -04:00
  • 3d3bb44f97 Add Vendor() string to the Parts interface by chipaca approved by sergiusens John R. Lenton 2015-05-05 19:32:41 -04:00
  • 497116bf26 Improved parsing of deprecated "architecture" entry of package.yaml. by chipaca approved by sergiusens John R. Lenton 2015-05-05 19:22:01 -04:00
  • 638f24674d Moved two implementations of Copy into helpers with the linux implementation being based on sendfile. by chipaca approved by sergiusens John R. Lenton 2015-05-05 18:32:10 -04:00
  • c30d9cd997 durr John R. Lenton 2015-05-05 23:16:59 +01:00
  • ba8768178d description for local snaps John R. Lenton 2015-05-05 17:42:09 +01:00
  • 0570347e4f vendor John R. Lenton 2015-05-05 16:25:55 +01:00
  • 9f50d05047 Fix typo on help options. by ricmm approved by chipaca Ricardo Mendoza 2015-05-05 06:12:00 -04:00
  • 81648be888 Typos typos Ricardo Mendoza 2015-05-05 12:02:39 +02:00
  • 5efd7787c0 Fix typo in help. Ricardo Mendoza 2015-05-05 11:38:02 +02:00
  • b1e303702d check the length of the architectures slice John R. Lenton 2015-05-02 23:52:02 +01:00
  • 0bef64a9a1 two passing tests John R. Lenton 2015-05-02 23:30:40 +01:00
  • 3bbedd1d04 two failing tests John R. Lenton 2015-05-02 23:29:50 +01:00
  • e0571ea039 mock all the things. Then, test all the things. John R. Lenton 2015-05-02 15:40:45 +01:00
  • 417be26b4a make copy use the same permissions John R. Lenton 2015-05-01 21:54:59 +01:00
  • fc63123934 make golint happy John R. Lenton 2015-05-01 21:32:06 +01:00
  • daeb8e9643 helpers.CopyFile John R. Lenton 2015-05-01 21:09:51 +01:00
  • a86dd6c056 Fix error reporting of aaClickHookCmd, execHook, copySnapDirectory. by mvo approved by sergiusens Michael Vogt 2015-05-01 11:21:52 -04:00
  • 956c2a66c6 Move the progress meter creation for gc.Cleanup out of the library and into the cmd part. by mvo approved by chipaca Michael Vogt 2015-05-01 08:41:55 -04:00
  • 34e7032691 add proper error handling for aaClickHookCmd failing Michael Vogt 2015-05-01 14:32:42 +02:00
  • d54f5b33fc fix incorrect error handling in execHook and copySnapDataDirectory Michael Vogt 2015-05-01 14:32:20 +02:00
  • 774a8033ca * snappy/systemimage_test.go: Added back TestCannotUpdateIfSideLoaded() to ensure Install() and Update() fail if the system is sideloaded. James Hunt 2015-05-01 10:38:23 +01:00
  • da3f2287e5 This branch adds instructions on how to cross build snappy. by mvo approved by sergiusens Michael Vogt 2015-05-01 04:41:50 -04:00
  • 191c12d279 * Sync with lp:snappy. James Hunt 2015-05-01 09:40:58 +01:00
  • 54fbcff88c docs/cross-build.md: document our cross-build Michael Vogt 2015-05-01 10:35:23 +02:00
  • 5a0304740c add progress.Meter to GarbageCollect() Michael Vogt 2015-05-01 08:38:21 +02:00
  • ac0ace79cb Pass a progress.Meter in to rollback (and set property). by chipaca approved by mvo John R. Lenton 2015-04-30 15:11:52 -04:00
  • 2495bb1e45 progressbars everywhere John R. Lenton 2015-04-30 17:56:15 +01:00
  • d4bf305572 Marking the ab partition on successful boots in case we come back from a broken boot by sergiusens approved by mvo Sergio Schvezov 2015-04-30 09:02:18 -04:00
  • ce5e6b73f7 Marking the ab partition on successful boots in case we come back from a broken boot Sergio Schvezov 2015-04-30 13:28:39 +02:00
  • 0973380af3 do fsync after "atomic" file writes by chipaca approved by mvo John R. Lenton 2015-04-29 11:52:00 -04:00
  • e353c12bc1 oops John R. Lenton 2015-04-29 10:10:08 +01:00
  • a1fe39a117 do fsync after "atomic" file writes John R. Lenton 2015-04-29 10:01:48 +01:00
  • 29cf661f99 Small tweaks to how we handle os.Remove (and os.RemoveAll) errors, to improve error reporting/handling. by chipaca approved by sergiusens John R. Lenton 2015-04-25 17:21:53 -04:00
  • 03b7a3c197 * Sync with lp:snappy. James Hunt 2015-04-24 15:36:56 +01:00
  • 30baf166f7 * provisioning/provisioning.go: Comments. * provisioning/provisioning_test.go: Removed Version values to be consistent with soon-to-be-current ubutu-device-flash(1) behaviour. James Hunt 2015-04-24 15:35:29 +01:00
  • 0719bb15f9 docs/security.md: - minor rephrasings - update for cgroups - update for origin Jamie Strandboge 2015-04-23 16:20:00 -05:00
  • a585df2872 docs/frameworks.md: fix incomplete edit for frameworks not requiring package name by jdstrand approved by mvo,dholbach Jamie Strandboge 2015-04-23 15:12:50 -04:00
  • bba5365215 Don't abort generateBinaryWrapper with spurious this-has-no-namespace error. by chipaca approved by mvo John R. Lenton 2015-04-23 11:22:11 -04:00
  • 1c96730a11 don't check for errors for things you know might fail and why if the why is ok John R. Lenton 2015-04-23 16:10:25 +01:00
  • e33dfac3ea merge from trunk Jamie Strandboge 2015-04-23 10:07:47 -05:00
  • fd3954ddc2 docs/security.md: - minor rephrasings - update for cgroups - update for origin Jamie Strandboge 2015-04-23 10:02:16 -05:00
  • 8edfbb47f3 * Comments. James Hunt 2015-04-23 15:40:16 +01:00
  • 683575a923 * Sync with lp:snappy. James Hunt 2015-04-23 15:38:35 +01:00
  • 8df42f3091 * Change InstallYamlFile to a filename as the path is going to have to bootloader-specific (due to grub's bind-mount). * IsSideLoaded() (was SideLoadedSystem()) now takes a boot directory argument. James Hunt 2015-04-23 15:36:50 +01:00
  • f910d72c8e releasing package ubuntu-snappy version 1.0.1-0ubuntu1 1.0.1-0ubuntu1 Michael Vogt 2015-04-23 16:18:59 +02:00
  • d8cfb7612e releasing package ubuntu-core-launcher version 1.0.1 1.0.1 Michael Vogt 2015-04-23 16:08:53 +02:00
  • fb940a03fa os.Remove error handling tweaks John R. Lenton 2015-04-23 13:22:39 +01:00
  • f3d84b2174 support symlinks on unpack by chipaca approved by mvo John R. Lenton 2015-04-23 08:12:10 -04:00
  • 047c00a554 fix typo in udev rule Michael Vogt 2015-04-23 14:03:47 +02:00
  • a4e4579fd2 snappy/oem.go: cowboy typo fix in Michael Vogt 2015-04-23 13:43:05 +02:00