FreeBSD Bugzilla – Attachment 193399 Details for
Bug 228252
sysutils/py-google-compute-engine: fix metadata script bash usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix py-google-compute-engine to version 2.7.6-2 generated using diff -u -r -N olddir newdir
py-google-compute-engine-2-7-1-2-replace-bash.patch (text/plain), 1.47 KB, created by
Helen Koike
on 2018-05-14 17:09:14 UTC
(
hide
)
Description:
Patch to fix py-google-compute-engine to version 2.7.6-2 generated using diff -u -r -N olddir newdir
Filename:
MIME Type:
Creator:
Helen Koike
Created:
2018-05-14 17:09:14 UTC
Size:
1.47 KB
patch
obsolete
>diff -urN py-google-compute-engine-2.7.6-1/Makefile py-google-compute-engine-2.7.6-2/Makefile >--- py-google-compute-engine-2.7.6-1/Makefile 2018-05-14 16:42:21.778458000 +0000 >+++ py-google-compute-engine-2.7.6-2/Makefile 2018-05-14 16:41:48.026234000 +0000 >@@ -2,7 +2,7 @@ > > PORTNAME= google-compute-engine > DISTVERSION= 2.7.6 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >diff -urN py-google-compute-engine-2.7.6-1/files/patch-google__compute__engine_metadata__scripts_script__executor.py py-google-compute-engine-2.7.6-2/files/patch-google__compute__engine_metadata__scripts_script__executor.py >--- py-google-compute-engine-2.7.6-1/files/patch-google__compute__engine_metadata__scripts_script__executor.py 1970-01-01 00:00:00.000000000 +0000 >+++ py-google-compute-engine-2.7.6-2/files/patch-google__compute__engine_metadata__scripts_script__executor.py 2018-05-14 16:41:48.027504000 +0000 >@@ -0,0 +1,11 @@ >+--- google_compute_engine/metadata_scripts/script_executor.py.orig 2018-02-22 19:44:17 UTC >++++ google_compute_engine/metadata_scripts/script_executor.py >+@@ -53,7 +53,7 @@ class ScriptExecutor(object): >+ """ >+ process = subprocess.Popen( >+ metadata_script, shell=True, >+- executable=constants.LOCALBASE + '/bin/bash', >++ executable='/bin/sh', >+ stderr=subprocess.STDOUT, stdout=subprocess.PIPE) >+ while True: >+ for line in iter(process.stdout.readline, b''):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
helen.koike
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 228252
: 193399 |
193400