[node-patches] Change in ovirt-node[master]: recipe: Keep .py and .pyc files

fabiand at redhat.com fabiand at redhat.com
Tue Apr 28 15:08:40 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: recipe: Keep .py and .pyc files
......................................................................

recipe: Keep .py and .pyc files

To ease development and debugging we should keep .py files.
this wasn't possible before, due to size constraints, but from 3.6 on,
we should have enough room.

Change-Id: I6d6ddfacfc732e8c4258af8d3818ea2f40eaa7e6
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/image-minimizer.ks.in
1 file changed, 5 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/69/40369/1

diff --git a/recipe/image-minimizer.ks.in b/recipe/image-minimizer.ks.in
index 956bc20..5acbdb4 100644
--- a/recipe/image-minimizer.ks.in
+++ b/recipe/image-minimizer.ks.in
@@ -4,8 +4,9 @@
 %end
 
 %post
-echo "Removing python source files"
-find /usr -name '*.py' -exec rm -f {} \;
-find /usr -name '*.pyo' -exec rm -f {} \;
-
+echo "Not removing python source files"
+# We are not removing the py files anymore, to ease debugging and development
+# From 3.6 on we've got enough space.
+#find /usr -name '*.py' -exec rm -f {} \;
+#find /usr -name '*.pyo' -exec rm -f {} \;
 %end


-- 
To view, visit https://gerrit.ovirt.org/40369
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d6ddfacfc732e8c4258af8d3818ea2f40eaa7e6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list