Skip to content

Commit

Permalink
reloc: increment relocatable package version
Browse files Browse the repository at this point in the history
This is needed for moving unified package contents to sub-directory.
This package itself has no change.
  • Loading branch information
syuu1228 committed Jun 16, 2021
1 parent 1a00241 commit d321d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-relocatable-package.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def reloc_add(self, name, arcname=None, recursive=True, *, filter=None):
output = args.dest

ar = tarfile.open(output, mode='w|gz')
# relocatable package format version = 2
# relocatable package format version = 3
with open('build/.relocatable_package_version', 'w') as f:
f.write('2\n')
f.write('3\n')
ar.add('build/.relocatable_package_version', arcname='.relocatable_package_version')

pathlib.Path('build/SCYLLA-RELOCATABLE-FILE').touch()
Expand Down

0 comments on commit d321d47

Please sign in to comment.