Skip to content

Commit

Permalink
#1
Browse files Browse the repository at this point in the history
  • Loading branch information
belonesox committed Jul 6, 2022
1 parent a71ab39 commit ba3844c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions terrarium_assembler/ta.py
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,7 @@ def analyse(self):
r"[\d]+\.[\d]+\.so",
r"[\d]+\.so",
r"-[\d]+\.[\d]+-[\d]+",
r"c\+\+",
]:
def replacement_f(mobj):
return rex_
Expand Down Expand Up @@ -1873,26 +1874,26 @@ def install_templates(root_dir, args):
''' % vars()])

self.lines2sh("51-pack-iso", [
'''
f'''
sudo chmod a+rx /usr/lib/cups -R
terrarium_assembler "%(specfile_)s" --stage-make-isoexe
''' % vars()])
terrarium_assembler {specfile_} --stage-make-isoexe
'''])

self.lines2sh("91-pack-debug", [
'''
f'''
sudo chmod a+rx /usr/lib/cups -R
terrarium_assembler --debug --stage-pack=./out-debug "%(specfile_)s"
''' % vars()])
terrarium_assembler --debug --stage-pack=./out-debug {specfile_}
'''])

self.lines2sh("92-pack-debug-iso", [
'''
f'''
sudo chmod a+rx /usr/lib/cups -R
terrarium_assembler --debug --stage-pack=./out-debug "%(specfile_)s" --stage-make-isoexe
''' % vars()])

root_dir = 'out'
terrarium_assembler --debug --stage-pack=./out-debug {specfile_} --stage-make-isoexe
'''])

self.lines2sh("93-analyse", [f"terrarium_assembler {specfile_} --analyse=./out > optimize_me.txt"])

root_dir = 'out'
if self.args.stage_pack:
root_dir = self.root_dir = expandpath(args.stage_pack)
# self.remove_exclusions()
Expand Down

0 comments on commit ba3844c

Please sign in to comment.