FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 11:27 PM
David Cantrell
 
Default Build new _isys.so for updates.img if needed.

If _isys.so module code has changed, build a new module and copy it
in to updates.img. Also fix a problem with the KEEP=y variable.
---
Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index d5fa032..f7dff9a 100644
--- a/Makefile
+++ b/Makefile
@@ -183,6 +183,7 @@ updates:
@if [ ! -d updates-img ]; then
mkdir updates-img ;
fi ;
+ build_isys="$$(git diff --stat anaconda-11.5.0.35-1 isys | grep " | " | cut -d ' ' -f 2 | egrep "(Makefile|.h|.c)$$")" ;
git diff --stat $(ARCHIVE_TAG) | grep " | " |
grep -v ".spec" | grep -v "Makefile" | grep -v ".c " |
grep -v ".h" | grep -v ".sh" |
@@ -199,11 +200,15 @@ updates:
cp -a $$sourcefile updates-img ;;
esac ;
done ;
+ if [ ! -z "$$build_isys" ]; then
+ make -C isys ;
+ cp isys/_isys.so updates-img ;
+ fi ;
cd updates-img ;
echo -n "Creating updates.img..." ;
( find . | cpio -c -o | gzip -9c ) > ../updates.img ;
cd .. ;
keep="$$(echo $(KEEP) | cut -c1 | tr [a-z] [A-Z])" ;
if [ ! "$$keep" = "Y" ]; then
- rm -rf updates-imgs ;
+ rm -rf updates-img ;
fi
--
1.6.2

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

Thread Tools




All times are GMT. The time now is 04:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org