]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
Makefile: rm files after python-deps.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 11 Feb 2015 14:44:17 +0000 (09:44 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 11 Feb 2015 14:44:17 +0000 (09:44 -0500)
The python-extra removes the files, but we might (if run
with make -j8) also extract the files in other build
stanzas. As such put it back in the python one to remove
the files.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile

index 385e5123746396cdfa52f9699ab7b4334ec57a29..90266fc513994ece6bd9ab0a505a5b520bf518e2 100644 (file)
@@ -787,6 +787,9 @@ python-extra: python-core
        $(call RPM_INSTALL,$(RPM_DIR)/libxml2-python)
        #rm -f userspace/usr/lib64/python2.6/site-packages/libxml2mod.la
        #rm -f userspace/usr/lib64/python2.6/lib-dynload/pyexpat.so
+       rm -f userspace/usr/lib*/python2.6/lib-dynload/_ctypes.so
+       rm -f userspace/usr/lib*/python2.6/lib-dynload/_sqlite3.so
+       rm -f userspace/usr/lib*/python2.6/idlelib/*.bat
 
 .PHONY: python-install
 python-install: python-deps python-core