Skip to content

Patch to support Centos 7 in bootstrap#318

Merged
shivapoudel merged 1 commit into
voxpupuli:masterfrom
asasfu:patch-pip-bootstrap
Aug 5, 2016
Merged

Patch to support Centos 7 in bootstrap#318
shivapoudel merged 1 commit into
voxpupuli:masterfrom
asasfu:patch-pip-bootstrap

Conversation

@asasfu
Copy link
Copy Markdown
Contributor

@asasfu asasfu commented Aug 4, 2016

Fixes Centos 7 Bootstrap loop, Issue #306

Bootstrapping currently repeats on every run due to the creates => '/usr/local/bin/pip'
Centos 7(and possibly others) which place pip executable in /usr/bin/pip
The repeated bootstrap needs to be patched to avoid nodes constantly grabbing the get_pip.py which includes a binary blob.

This patching looks to have been attempted before but failed to include path => .... which would support finding which in any of those locations as well as allowing which pip to only look in the supplied path, basically extending our creates to support multiple locations of pip.

Bootstrapping currently repeats on every run due to the `creates => '/usr/local/bin/pip'`
Centos 7(and possibly others) which place pip executable in /usr/bin/pip
The repeated bootstrap needs to be patched to avoid nodes constantly grabbing the get_pip.py which includes a binary blob.

This patching looks to have been attempted before but failed to include `path => ....` which would support finding `which` in any of those locations as well as allowing `which pip` to only look in the supplied path, basically extending our creates to support multiple locations of pip.
@shivapoudel shivapoudel merged commit 88ba5eb into voxpupuli:master Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants