[Lunar-commits]
CVS: theedge/var/lib/lunar/functions tracking.lunar, 1.11, 1.12
Auke Kok
sofar at lunar-linux.org
Sun Mar 14 21:43:34 GMT 2004
- Previous message: [Lunar-commits] CVS: theedge/var/lib/lunar excluded, 1.18,
1.19 protected, 1.7, 1.8 solo, 1.2, 1.3 unset.sh, 1.1, 1.2
- Next message: [Lunar-commits] CVS: moonbase/security/shorewall BUILD, 1.4,
1.5 DETAILS, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20967/var/lib/lunar/functions
Modified Files:
tracking.lunar
Log Message:
Major lrm/exluded/protected rewrite:
- allow re's in excluded/protected
- true protected directories with recursion
- excluded ONLY contains stuff that we DO NOT WANT TO SEE in the install logs
- lvu alien adjusted too
- track() function adjusted and simplified
- removed unneeded lrm tmpfiles and loops, simplified
Index: tracking.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/tracking.lunar,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- tracking.lunar 3 Mar 2004 21:51:07 -0000 1.11
+++ tracking.lunar 14 Mar 2004 21:43:32 -0000 1.12
@@ -56,11 +56,10 @@
# purpose : remove unwanted accesses from the installwatch file
parse_iw() {
debug_msg "parse_iw ($@)"
- OMIT="^/dev\|^/tmp\|^/usr/src"
OMIT_IN=" rename\| symlink\| unlink"
- grep -v "$OMIT_IN" $INSTALLWATCHFILE | cut -f3 | grep -v "$OMIT"
- cat $INSTALLWATCHFILE | cut -f4 | grep -v "$OMIT" | grep "^/"
+ grep -v "$OMIT_IN" $INSTALLWATCHFILE | cut -f3 | grep -v -f $EXCLUDED
+ cat $INSTALLWATCHFILE | cut -f4 | grep -v -f $EXCLUDED | grep "^/"
}
@@ -80,13 +79,7 @@
export IFS="$TAB_ENTER_IFS"
- parse_iw |
- sort |
- uniq |
- filter "$EXCLUDED" |
- filter "$LOCAL_EXCLUDED" |
- exists > $TMP_INST_LOG
-
+ parse_iw | sort | uniq | filter "$LOCAL_EXCLUDED" | exists > $TMP_INST_LOG
echo "$INSTALL_LOGS/$MOD_V_SNAME-$VERSION" >> $TMP_INST_LOG
echo "$COMPILE_LOGS/$MOD_V_SNAME-$VERSION.bz2" >> $TMP_INST_LOG
echo "$MD5SUM_LOGS/$MOD_V_SNAME-$VERSION" >> $TMP_INST_LOG
- Previous message: [Lunar-commits] CVS: theedge/var/lib/lunar excluded, 1.18,
1.19 protected, 1.7, 1.8 solo, 1.2, 1.3 unset.sh, 1.1, 1.2
- Next message: [Lunar-commits] CVS: moonbase/security/shorewall BUILD, 1.4,
1.5 DETAILS, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Lunar-commits
mailing list