Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos.recipe.build
Commits
d5df4cdc
Commit
d5df4cdc
authored
Sep 06, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide better looking patches.
parent
c6befb05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
slapos/recipe/build.py
slapos/recipe/build.py
+4
-3
No files found.
slapos/recipe/build.py
View file @
d5df4cdc
...
@@ -367,16 +367,17 @@ if configure_command is None or configure_command.lower() == 'None':
...
@@ -367,16 +367,17 @@ if configure_command is None or configure_command.lower() == 'None':
configure_command = ["./configure", "--prefix=%(location)s"] + %(configure-options)r.split()
configure_command = ["./configure", "--prefix=%(location)s"] + %(configure-options)r.split()
else:
else:
configure_command = configure_command.split(' ')
configure_command = configure_command.split(' ')
self.logger.info('Configuring with: %%
s' %% configure_command
)
self.logger.info('Configuring with: %%
r' %% ' '.join(configure_command)
)
self.applyPatchList(self.options.get('patches'), self.options.get('patch-options'), self.options.get('patch-binary'), workdir)
self.applyPatchList(self.options.get('patches'), self.options.get('patch-options'), self.options.get('patch-binary'), workdir)
call(configure_command, cwd=workdir, env=env)
call(configure_command, cwd=workdir, env=env)
make_command = [self.options.get('make-binary', "make")]
make_command = [self.options.get('make-binary', "make")]
make_options = self.options.get('make-options')
make_options = self.options.get('make-options')
if make_options is not None:
if make_options is not None:
make_command.extend(make_options.split(' '))
make_command.extend(make_options.split(' '))
self.logger.info('Building with %%r' %%
make_command
)
self.logger.info('Building with %%r' %%
' '.join(make_command)
)
call(make_command, cwd=workdir, env=env)
call(make_command, cwd=workdir, env=env)
self.logger.info('Installing')
make_command.append('install')
self.logger.info('Installing with %%r' %% ' '.join(make_command))
call(make_command + ['install'], cwd=workdir, env=env)
call(make_command + ['install'], cwd=workdir, env=env)
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment