Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768826
D2132.id5375.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1023 B
Referenced Files
None
Subscribers
None
D2132.id5375.diff
View Options
diff --git a/roles/devserver/userland-software/files/install-php-extension.sh b/roles/devserver/userland-software/files/install-php-extension.sh
--- a/roles/devserver/userland-software/files/install-php-extension.sh
+++ b/roles/devserver/userland-software/files/install-php-extension.sh
@@ -10,6 +10,8 @@
# Source file: roles/devserver/userland-software/files/install-php-extension.sh
# -------------------------------------------------------------
-phpize
-./configure
-make
+AS_BUILDER=sudo -u builder
+
+$AS_BUILDER phpize
+$AS_BUILDER ./configure
+$AS_BUILDER make
diff --git a/roles/devserver/userland-software/php-ast.sls b/roles/devserver/userland-software/php-ast.sls
--- a/roles/devserver/userland-software/php-ast.sls
+++ b/roles/devserver/userland-software/php-ast.sls
@@ -30,7 +30,6 @@
cmd.script:
- source: salt://roles/devserver/userland-software/files/install-php-extension.sh
- cwd: /opt/php-ast
- - runas: builder
- creates: /opt/php-ast/modules/ast.so
php_ast_install:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 10:47 (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260030
Default Alt Text
D2132.id5375.diff (1023 B)
Attached To
Mode
D2132: Use sudo to build php-ast
Attached
Detach File
Event Timeline
Log In to Comment