[PATCH] Skip .pyc files in subdirectories when running make updates.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes a problem where my updates image included 64-bit .pyc files that
were causing problems with my 32-bit guest VM.
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 332f453..c1c7be6 100644
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,7 @@ updates:
 			installclasses|storage|booty) \
 				rm -rf updates-img/$$dn ; \
 				cp -a $$dn updates-img ; \
-				find updates-img/$$dn -type f | grep Makefile | xargs rm -f ;; \
+				find updates-img/$$dn -type f | egrep 'Makefile|\.pyc' | xargs rm -f ;; \
 			loader|po|scripts|command-stubs|tests|bootdisk|docs|fonts|utils|gptsync) \
 				continue ;; \
 			*) \
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux