[Lunar-commits] CVS: moonbase/kernel/linux-2.6 PRE_BUILD,1.6,1.7
Moritz Heiber
moe at lunar-linux.org
Thu Feb 3 20:29:33 UTC 2005
Update of /var/cvs/lunar/moonbase/kernel/linux-2.6
In directory espresso.foo-projects.org:/tmp/cvs-serv24220/linux-2.6
Modified Files:
PRE_BUILD
Log Message:
Exchanging the tar checking for a far superiour one
Index: PRE_BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-2.6/PRE_BUILD,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- PRE_BUILD 25 Jan 2005 17:18:11 -0000 1.6
+++ PRE_BUILD 3 Feb 2005 20:29:31 -0000 1.7
@@ -16,7 +16,14 @@
ln -s $SOURCE_DIRECTORY /usr/src/linux
cd $SOURCE_DIRECTORY
-tar xf $SOURCE_CACHE/$SOURCE --no-same-owner --no-same-permissions --strip-components=1
+# Check wether we're running an up-to-date tar
+if [ `lvu installed tar | cut -d. -f2` -ge 15 ]; then
+ tar xf $SOURCE_CACHE/$SOURCE --no-same-owner \
+ --no-same-permissions --strip-components=1
+else
+ echo "${PROBLEM_COLOR}Error:${DEFAULT_COLOR} Please update your tar module"
+ exit 1
+fi
if [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
cp $CONFIG_CACHE/.config.2.6.stable $BUILD_DIRECTORY/linux/.config;
More information about the Lunar-commits
mailing list