simp-rake-helpers 5.13.2 → 5.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/simp/rake/build/auto.rb +2 -0
- data/lib/simp/rake/build/iso.rb +5 -2
- data/lib/simp/rake/helpers/assets/rpm_spec/simp6.spec +1 -1
- data/lib/simp/rake/helpers/assets/rpm_spec/simpdefault.spec +1 -1
- data/lib/simp/rake/helpers/version.rb +1 -1
- data/lib/simp/rake/pupmod/helpers.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dfb50582e2d9f05a5ea7ac039013727dadd80b6fc931bd1c7a35ef2f1a89400
|
4
|
+
data.tar.gz: 5507ff633482b131f3beeeeee24166e8afeacdbc94987fde93a7c564e77d6d05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edf69ac817e38a9b4c7e32ab6352c96b612728fd85a7e8e1c247ed6ac47a6d9d84e92207ce7437e6aa1cc2743cfad5128a7f0d94832940a093d2042063482682
|
7
|
+
data.tar.gz: d9a07c960cbfe946978d97a565ebe468a6f259c9486002db13f89c0a6aefea8422d68d14e5e9c523e8bc34ce4b4ce48fce5c42a8f4d9ad329b8c3cf4fdf30a07
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
### 5.14.0 / 2022-05-14
|
2
|
+
- Added
|
3
|
+
- Run `implantisomd5` after the ISO has been created so that it can be
|
4
|
+
validated by the installer at runtime.
|
5
|
+
|
6
|
+
### 5.13.3 / 2022-05-20
|
7
|
+
- Fixed:
|
8
|
+
- Changed default RPM installed file permissions to 0644/0755
|
9
|
+
- The tarball unpack exclusions were too aggressive. The `SIMP/GPGKEYS`
|
10
|
+
directory is now preserved properly.
|
11
|
+
|
1
12
|
### 5.13.2 / 2022-05-13
|
2
13
|
- Fixed:
|
3
14
|
- SIMP_BUILD_reposync_only now properly unpacks the tarball
|
data/lib/simp/rake/build/auto.rb
CHANGED
@@ -38,6 +38,7 @@ module Simp::Rake::Build
|
|
38
38
|
'gpg',
|
39
39
|
'grep',
|
40
40
|
'gzip',
|
41
|
+
'implantisomd5',
|
41
42
|
'install',
|
42
43
|
'isoinfo',
|
43
44
|
'm4',
|
@@ -139,6 +140,7 @@ module Simp::Rake::Build
|
|
139
140
|
:key_name => ENV['SIMP_BUILD_signing_key'] || 'dev'
|
140
141
|
)
|
141
142
|
|
143
|
+
reposync_only = ENV.fetch('SIMP_BUILD_reposync_only', 'no') == 'yes'
|
142
144
|
iso_paths = File.expand_path(args[:iso_paths])
|
143
145
|
target_release = args[:release]
|
144
146
|
do_checksum = (args.do_checksum = ~ /^$/ ? 'false' : args.do_checksum)
|
data/lib/simp/rake/build/iso.rb
CHANGED
@@ -268,7 +268,7 @@ module Simp::Rake::Build
|
|
268
268
|
puts
|
269
269
|
|
270
270
|
# Only add the ISO modifications
|
271
|
-
system(%(tar --no-same-permissions --exclude="
|
271
|
+
system(%(tar --no-same-permissions --exclude="*.rpm" -C #{dir} -xzf #{tball}))
|
272
272
|
else
|
273
273
|
# Add the SIMP code and ISO modifications
|
274
274
|
system("tar --no-same-permissions -C #{dir} -xzf #{tball}")
|
@@ -449,7 +449,10 @@ module Simp::Rake::Build
|
|
449
449
|
end # End of tarfiles loop
|
450
450
|
|
451
451
|
# If we got here and didn't generate any ISOs, something went horribly wrong
|
452
|
-
fail('Error: No ISO was built!') unless @simp_output_iso
|
452
|
+
fail('Error: No ISO was built!') unless ( @simp_output_iso && File.exist?(@simp_output_iso) )
|
453
|
+
|
454
|
+
# Embed the validation checksum
|
455
|
+
system("implantisomd5 --supported-iso #{@simp_output_iso}")
|
453
456
|
end
|
454
457
|
|
455
458
|
=begin
|
@@ -290,7 +290,7 @@ class Simp::Rake::Pupmod::Helpers < ::Rake::TaskLib
|
|
290
290
|
# That will give Travis a way of warning us if the changelog
|
291
291
|
# will prevent the rpm from building.
|
292
292
|
task :changelog_annotation, [:quiet] do |t,args|
|
293
|
-
|
293
|
+
warn('DEPRECATED: use pkg:create_tag_changelog')
|
294
294
|
quiet = true if args[:quiet].to_s == 'true'
|
295
295
|
puts changelog_annotation( quiet )
|
296
296
|
end
|
@@ -333,7 +333,7 @@ class Simp::Rake::Pupmod::Helpers < ::Rake::TaskLib
|
|
333
333
|
- doc directory
|
334
334
|
EOM
|
335
335
|
task :compare_latest_tag, [:tags_source, :ignore_owner, :verbose] do |t,args|
|
336
|
-
|
336
|
+
warn('DEPRECATED: use pkg:compare_latest_tag')
|
337
337
|
require 'json'
|
338
338
|
|
339
339
|
tags_source = args[:tags_source].nil? ? 'origin' : args[:tags_source]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-rake-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-05-
|
12
|
+
date: 2022-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simp-beaker-helpers
|