packaging 0.109.3 → 0.109.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packaging/sign/dmg.rb +9 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4b1debe2d5b8b3f8eba5525251ff49b861c3934c892ee2e0d022bb6b35fbecb
4
- data.tar.gz: 4ccf51e8c80d24ff4ed5cba8422d06e8c33eb96dd5d136cad7e47f5863abfa99
3
+ metadata.gz: 763f416372eab86acfcb1ce21c3f0cd519db708bdd34d6323c44fc5ff4ade8f9
4
+ data.tar.gz: 428db33628cbaddde9017048c067e224682b1c97c9235af05c8923e5983c3881
5
5
  SHA512:
6
- metadata.gz: d95cf48ac1b357e1fdd25872db2b123fe7ca542508689e58beab6757b367acc1a323660dc182c99baefc4aea1858236c215c72f6113879a0eb923241d9e2d9a8
7
- data.tar.gz: d976fe3c0f19f81fd261232716b121def43096ceecfb9393c005922e69d7bb7a06e1d6ff7ab7b4e9efdf2d0026cc1b0d4d0209f42a5243d5530f886ca7292d9b
6
+ metadata.gz: 793b50af9892164876bd3b873d36c6bc797dea847501c2819993f0178df43835d611f55fbc61d557fa991e66d31c4d21fb2dcd2cfcc36a97e8a231015483ff1e
7
+ data.tar.gz: 877c87ed7fe102d2dfa1fc658a7d9952c1206678a92c7b915bbfcfdab982e8234f56ccba8e18a10e30e1b7945b3559d33ace6d713baf503ae2ff1bd0d5c53d18
@@ -32,6 +32,14 @@ module Pkg::Sign::Dmg
32
32
 
33
33
  dmg_basenames = dmgs.map { |d| File.basename(d, '.dmg') }.join(' ')
34
34
 
35
+ # (See: RE-15379) Refactor opportunity; we really shouldn't do this this way.
36
+ # When it works, it's fine, but diagnosing problems when we or Apple change
37
+ # the details is a pain. We should either have a script on the signing machine
38
+ # that does this work OR we should ship a script to the signing directory that
39
+ # can be modified/repeated when problems arise.
40
+ #
41
+ # Note especially, the '-size 200m' hack in the 'hdiutil create' command. This
42
+ # is useful but arbitrary at the moment and could cause problems in the future.
35
43
  sign_package_command = %W[
36
44
  for dmg in #{dmg_basenames}; do
37
45
  /usr/bin/hdiutil attach #{remote_working_directory}/$dmg.dmg
@@ -55,7 +63,7 @@ module Pkg::Sign::Dmg
55
63
 
56
64
  /usr/bin/hdiutil detach #{dmg_mount_point} -quiet ;
57
65
  /bin/rm #{remote_working_directory}/$dmg.dmg ;
58
- /usr/bin/hdiutil create -volname $dmg
66
+ /usr/bin/hdiutil create -volname $dmg -size 200m
59
67
  -srcfolder #{signed_items_directory}/ #{remote_working_directory}/$dmg.dmg ;
60
68
  /bin/rm #{signed_items_directory}/* ;
61
69
  done
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.109.3
4
+ version: 0.109.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet By Perforce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debug